Send metrics in ascending time order in stackdriver output (#5385)

This commit is contained in:
Daniel Nelson
2019-02-06 14:17:51 -08:00
committed by GitHub
parent e65ab593b5
commit 7f54ae18b5
3 changed files with 175 additions and 8 deletions

View File

@@ -22,3 +22,15 @@ Metrics are grouped by the `namespace` variable and metric key - eg: `custom.goo
Stackdriver does not support string values in custom metrics, any string
fields will not be written.
The Stackdriver API does not allow writing points which are out of order,
older than 24 hours, or more with resolution greater than than one per point
minute. Since Telegraf writes the newest points first and moves backwards
through the metric buffer, it may not be possible to write historical data
after an interruption.
Points collected with greater than 1 minute precision may need to be
aggregated before then can be written. Consider using the [basicstats][]
aggregator to do this.
[basicstats]: /plugins/aggregators/basicstats/README.md