telegraf/plugins/outputs/stackdriver
Daniel Nelson d4ab5da34f
Skip string fields in stackdriver output (#5384)
2019-02-05 18:22:42 -08:00
..
README.md Skip string fields in stackdriver output (#5384) 2019-02-05 18:22:42 -08:00
stackdriver.go Skip string fields in stackdriver output (#5384) 2019-02-05 18:22:42 -08:00
stackdriver_test.go Add stackdriver output plugin (#3876) 2018-10-16 11:47:10 -07:00

README.md

Stackdriver Output Plugin

This plugin writes to the Google Cloud Stackdriver API and requires authentication with Google Cloud using either a service account or user credentials. See the Stackdriver documentation for details on pricing.

Requires project to specify where Stackdriver metrics will be delivered to.

Metrics are grouped by the namespace variable and metric key - eg: custom.googleapis.com/telegraf/system/load5

Configuration

[[outputs.stackdriver]]
  # GCP Project
  project = "erudite-bloom-151019"

  # The namespace for the metric descriptor
  namespace = "telegraf"

Restrictions

Stackdriver does not support string values in custom metrics, any string fields will not be written.