Telegraf: Aggregator Plugins: Unterschied zwischen den Versionen

Aus Wiki-WebPerfect
Wechseln zu: Navigation, Suche
(Die Seite wurde neu angelegt: „== BasicStats Aggregator Plugin == In this example we use the BasicStats Aggregator Plugin to aggregate the mean load of virtual cores per VM. <br> More detail…“)
 
 
Zeile 1: Zeile 1:
 
== BasicStats Aggregator Plugin ==
 
== BasicStats Aggregator Plugin ==
 
In this example we use the BasicStats Aggregator Plugin to aggregate the mean load of virtual cores per VM. <br>
 
In this example we use the BasicStats Aggregator Plugin to aggregate the mean load of virtual cores per VM. <br>
More details here: [[http://wiki.webperfect.ch/index.php?title=Telegraf:_Processor_Plugins]]
+
More details here: http://wiki.webperfect.ch/index.php?title=Telegraf:_Processor_Plugins
 
+
  
 
<pre>
 
<pre>
Zeile 20: Zeile 19:
 
   stats = ["mean"]
 
   stats = ["mean"]
 
</pre>
 
</pre>
 +
 +
  
  
  
 
[[Kategorie:TIG-Stack]]
 
[[Kategorie:TIG-Stack]]

Aktuelle Version vom 14. Juni 2021, 15:21 Uhr

BasicStats Aggregator Plugin

In this example we use the BasicStats Aggregator Plugin to aggregate the mean load of virtual cores per VM.
More details here: http://wiki.webperfect.ch/index.php?title=Telegraf:_Processor_Plugins

# Keep the aggregate basicstats of each metric passing through.
[[aggregators.basicstats]]
  namepass = ["hyperv_virtual_processor"]
  taginclude = ["VMName", "host"]
  
  ## The period on which to flush & clear the aggregator.
  period = "30s"

  ## If true, the original metric will be dropped by the
  ## aggregator and will not get sent to the output plugins.
  drop_original = true

  ## Configures which basic stats to push as fields
  stats = ["mean"]