docs: Improve language related to the New Relic license key. (#10796)

This commit is contained in:
Jim Hagan 2022-03-10 14:48:34 -05:00 committed by GitHub
parent 2b57262617
commit 2b817f1b81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 8 deletions

View File

@ -1481,8 +1481,8 @@
# # Send metrics to New Relic metrics endpoint # # Send metrics to New Relic metrics endpoint
# [[outputs.newrelic]] # [[outputs.newrelic]]
# ## New Relic Insights API key # ## New Relic License Key
# insights_key = "insights api key" # insights_key = "New Relic License Key Here"
# #
# ## Prefix to add to add to metric name for easy identification. # ## Prefix to add to add to metric name for easy identification.
# # metric_prefix = "" # # metric_prefix = ""

View File

@ -1481,8 +1481,8 @@
# # Send metrics to New Relic metrics endpoint # # Send metrics to New Relic metrics endpoint
# [[outputs.newrelic]] # [[outputs.newrelic]]
# ## New Relic Insights API key # ## New Relic License Key
# insights_key = "insights api key" # insights_key = "New Relic License Key Here"
# #
# ## Prefix to add to add to metric name for easy identification. # ## Prefix to add to add to metric name for easy identification.
# # metric_prefix = "" # # metric_prefix = ""

View File

@ -10,10 +10,14 @@ Telegraf minimum version: Telegraf 1.15.0
```toml ```toml
[[outputs.newrelic]] [[outputs.newrelic]]
## New Relic Insights API key ## The 'insights_key' parameter requires a NR license key.
insights_key = "insights api key" ## New Relic recommends you create one
## with a convenient name such as TELEGRAF_INSERT_KEY.
## reference: https://docs.newrelic.com/docs/apis/intro-apis/new-relic-api-keys/#ingest-license-key
insights_key = "New Relic License Key Here"
## Prefix to add to add to metric name for easy identification. ## Prefix to add to add to metric name for easy identification.
## This is very useful if your metric names are ambiguous.
# metric_prefix = "" # metric_prefix = ""
## Timeout for writes to the New Relic API. ## Timeout for writes to the New Relic API.

View File

@ -39,10 +39,14 @@ func (nr *NewRelic) Description() string {
// SampleConfig : return default configuration of the Output // SampleConfig : return default configuration of the Output
func (nr *NewRelic) SampleConfig() string { func (nr *NewRelic) SampleConfig() string {
return ` return `
## New Relic Insights API key ## The 'insights_key' parameter requires a NR license key.
insights_key = "insights api key" ## New Relic recommends you create one
## with a convenient name such as TELEGRAF_INSERT_KEY.
## reference: https://docs.newrelic.com/docs/apis/intro-apis/new-relic-api-keys/#ingest-license-key
# insights_key = "New Relic License Key Here"
## Prefix to add to add to metric name for easy identification. ## Prefix to add to add to metric name for easy identification.
## This is very useful if your metric names are ambiguous.
# metric_prefix = "" # metric_prefix = ""
## Timeout for writes to the New Relic API. ## Timeout for writes to the New Relic API.