Adding upstream version 1.34.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
e393c3af3f
commit
4978089aab
4963 changed files with 677545 additions and 0 deletions
36
plugins/processors/dedup/README.md
Normal file
36
plugins/processors/dedup/README.md
Normal file
|
@ -0,0 +1,36 @@
|
|||
# Dedup Processor Plugin
|
||||
|
||||
Filter metrics whose field values are exact repetitions of the previous values.
|
||||
This plugin will store its state between runs if the `statefile` option in the
|
||||
agent config section is set.
|
||||
|
||||
## Global configuration options <!-- @/docs/includes/plugin_config.md -->
|
||||
|
||||
In addition to the plugin-specific configuration settings, plugins support
|
||||
additional global and plugin configuration settings. These settings are used to
|
||||
modify metrics, tags, and field or create aliases and configure ordering, etc.
|
||||
See the [CONFIGURATION.md][CONFIGURATION.md] for more details.
|
||||
|
||||
[CONFIGURATION.md]: ../../../docs/CONFIGURATION.md#plugins
|
||||
|
||||
## Configuration
|
||||
|
||||
```toml @sample.conf
|
||||
# Filter metrics with repeating field values
|
||||
[[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
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue