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:
parent
ace3562f2e
commit
3d955f3043
@ -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 {
|
||||
}
|
||||
}
|
||||
|
6
releasenotes/notes/bug-1906796-e52b9e113f36ceed.yaml
Normal file
6
releasenotes/notes/bug-1906796-e52b9e113f36ceed.yaml
Normal 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
|
Loading…
Reference in New Issue
Block a user