2020-03-17 22:53:03 +00:00
|
|
|
# Dedup Processor Plugin
|
|
|
|
|
2020-03-18 01:39:08 +00:00
|
|
|
Filter metrics whose field values are exact repetitions of the previous values.
|
2020-03-17 22:53:03 +00:00
|
|
|
|
|
|
|
### Configuration
|
|
|
|
|
|
|
|
```toml
|
|
|
|
[[processors.dedup]]
|
|
|
|
## Maximum time to suppress output
|
|
|
|
dedup_interval = "600s"
|
|
|
|
```
|
|
|
|
|
2020-03-18 01:39:08 +00:00
|
|
|
### Example
|
|
|
|
|
|
|
|
```diff
|
|
|
|
- cpu,cpu=cpu0 time_idle=42i,time_guest=1i
|
|
|
|
- cpu,cpu=cpu0 time_idle=42i,time_guest=2i
|
|
|
|
- cpu,cpu=cpu0 time_idle=42i,time_guest=2i
|
|
|
|
- cpu,cpu=cpu0 time_idle=44i,time_guest=2i
|
|
|
|
- cpu,cpu=cpu0 time_idle=44i,time_guest=2i
|
|
|
|
+ cpu,cpu=cpu0 time_idle=42i,time_guest=1i
|
|
|
|
+ cpu,cpu=cpu0 time_idle=42i,time_guest=2i
|
|
|
|
+ cpu,cpu=cpu0 time_idle=44i,time_guest=2i
|
|
|
|
```
|