X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcollectd.conf.pod;h=dcf6c36d54861e2c1bd802291f63ccc47e39ebeb;hb=cc893903f8453dc96a797b319bdd4e294052de6f;hp=dff0e3706732b12967a88d0bd2c680758cb1919e;hpb=b42b7eaaaa3d2b375dc17b52f8858c0ebe2f5f40;p=collectd.git diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index dff0e370..dcf6c36d 100644 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@ -7146,8 +7146,8 @@ Use the last number found. =item B -Use the last number found. The number if not reset at the end of an interval. -It is continously reported until another number if matched. This is intended +Use the last number found. The number is not reset at the end of an interval. +It is continously reported until another number is matched. This is intended for cases in which only state changes are reported, for example a thermometer that only reports the temperature when it changes. @@ -8148,6 +8148,41 @@ want to use authentication all three fields must be set. =back +=head2 Plugin C + +The I implements a tiny webserver that can be scraped +using I. + +B + +=over 4 + +=item B I + +Port the embedded webserver should listen on. Defaults to B<9103>. + +=item B I + +Time in seconds after which I considers a metric "stale" if it +hasn't seen any update for it. This value must match the setting in Prometheus. +It defaults to B<300> seconds (5 minutes), same as Prometheus. + +B + +I has a global setting, C, which controls after +which time a metric without updates is considered "stale". This setting +effectively puts an upper limit on the interval in which metrics are reported. + +When the I encounters a metric with an interval +exceeding this limit, it will inform you, the user, and provide the metric to +I B a timestamp. That causes I to consider the +metric "fresh" each time it is scraped, with the time of the scrape being +considered the time of the update. The result is that there appear more +datapoints in I than were actually created, but at least the metric +doesn't disappear periodically. + +=back + =head2 Plugin C This output plugin submits values to an HTTP server using POST requests and