Skip to content

Commit

Permalink
Improve documentation of resource_attributes_as_tags (#29765)
Browse files Browse the repository at this point in the history
**Description:** <Describe what has changed.>
This PR improves documentation of `resource_attributes_as_tags`.

**Link to tracking Issue:** 
Closes #29702

**Testing:** <Describe what testing was performed and which tests were
added.>

**Documentation:** <Describe the documentation added.>
  • Loading branch information
mackjmr committed Dec 12, 2023
1 parent 78ab093 commit 71f8146
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions exporter/datadogexporter/examples/collector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,11 @@ exporters:
# endpoint: https://api.datadoghq.com

## @param resource_attributes_as_tags - string - optional - default: false
## Set to true to add all resource attributes of a metric to its metric tags.
## When set to false, only a small predefined subset of resource attributes is converted
## to metric tags.
## Set to true to add resource attributes of a metric to its metric tags.
## Please note that any of the subset of resource attributes in this
## list https://docs.datadoghq.com/opentelemetry/guide/semantic_mapping/ are
## converted to datadog conventions and set to to metric tags whether this option
## is enabled or not.
#
# resource_attributes_as_tags: false

Expand Down

0 comments on commit 71f8146

Please sign in to comment.