Telegraf: Aggregator Plugins

Aus Wiki-WebPerfect
Version vom 14. Juni 2021, 15:21 Uhr von Admin (Diskussion | Beiträge)

(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche

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"]