25 lines
592 B
Markdown
25 lines
592 B
Markdown
# Dedup Processor Plugin
|
|
|
|
Filter metrics whose field values are exact repetitions of the previous values.
|
|
|
|
### Configuration
|
|
|
|
```toml
|
|
[[processors.dedup]]
|
|
## Maximum time to suppress output
|
|
dedup_interval = "600s"
|
|
```
|
|
|
|
### 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
|
|
```
|