Skip to content

Commit

Permalink
docs(datadog_metrics sink): Remove default_namespace from example (v…
Browse files Browse the repository at this point in the history
…ectordotdev#12971)

* docs(datadog_metrics sink): Remove `default_namespace` from example

By marking it as uncommon. Also made the example `mynamespace` to make
it clearer that users should change it.

Signed-off-by: Jesse Szwedko <[email protected]>

* Update website/cue/reference/components/sinks/datadog_metrics.cue

Co-authored-by: Spencer Gilbert <[email protected]>

Co-authored-by: Spencer Gilbert <[email protected]>
  • Loading branch information
jszwedko and spencergilbert authored Jun 6, 2022
1 parent 88fc15a commit f44dff9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions website/cue/reference/components/sinks/datadog_metrics.cue
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,16 @@ components: sinks: datadog_metrics: {
region: sinks._datadog.configuration.region
site: sinks._datadog.configuration.site
default_namespace: {
common: true
common: false
description: """
Used as a namespace for metrics that don't have it.
A namespace will be prefixed to a metric's name.
A namespace will be prefixed to a metric's name separated by `.`.
"""
required: false
warnings: []
type: string: {
default: null
examples: ["service"]
examples: ["myservice"]
}
}
}
Expand Down

0 comments on commit f44dff9

Please sign in to comment.