2020-05-27 18:24:49 +00:00
|
|
|
#New Relic output plugin
|
|
|
|
|
2020-05-27 18:52:21 +00:00
|
|
|
This plugins writes to New Relic Insights using the [Metrics API][].
|
|
|
|
|
|
|
|
To use this plugin you must first obtain an [Insights API Key][].
|
|
|
|
|
|
|
|
### Configuration
|
|
|
|
```toml
|
2020-05-27 18:24:49 +00:00
|
|
|
[[outputs.newrelic]]
|
2020-05-27 18:52:21 +00:00
|
|
|
## New Relic Insights API key
|
|
|
|
insights_key = "insights api key"
|
2020-05-27 18:24:49 +00:00
|
|
|
|
2020-05-27 18:52:21 +00:00
|
|
|
## Prefix to add to add to metric name for easy identification.
|
|
|
|
# metric_prefix = ""
|
2020-05-27 18:24:49 +00:00
|
|
|
|
2020-05-27 18:52:21 +00:00
|
|
|
## Timeout for writes to the New Relic API.
|
|
|
|
# timeout = "15s"
|
2020-05-27 18:24:49 +00:00
|
|
|
```
|
|
|
|
|
2020-05-27 18:52:21 +00:00
|
|
|
[Metrics API]: https://docs.newrelic.com/docs/data-ingest-apis/get-data-new-relic/metric-api/introduction-metric-api
|
|
|
|
[Insights API Key]: https://docs.newrelic.com/docs/apis/get-started/intro-apis/types-new-relic-api-keys#user-api-key
|