Monasca log-metrics - Drop "notice" and "note" loglevel metrics by default

Those loglevels can build up over time and create unnecessary high metrics cardinality.

Change-Id: Ib1a03772d0bd58758430b37b4f2f67126cf86fa3
Closes-bug: #1906796
This commit is contained in:
Bartosz Bezak 2020-12-04 10:48:40 +01:00
parent ace3562f2e
commit 3d955f3043
2 changed files with 7 additions and 1 deletions

View File

@ -19,7 +19,7 @@ input {
filter {
# Drop everything we don't want to create metrics for.
if ![log][dimensions][log_level] or [log][dimensions][log_level] in [ "debug", "trace", "info" ] {
if ![log][dimensions][log_level] or [log][dimensions][log_level] in [ "debug", "trace", "info", "notice", "note" ] {
drop {
}
}

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Fixes `LP#1906796
<https://bugs.launchpad.net/kolla-ansible/+bug/1906796>`__ by adding
notice and note loglevels to monasca log-metrics drop configuration