-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OTEL-738: Add Custom Container Tag Support (datadog.container.tag pre…
…fix) (#193) * OTEL-738: Add Custom Container Tag Support (datadog.container.tag prefix) * add changelog * lint * Change customContainerTagPrefix to const * pluralize func * address feedback * refactor * run make fmt * use .Str()
- Loading branch information
Showing
4 changed files
with
162 additions
and
36 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
.chloggen/mackjmr_add-custom-container-tag-support-deprecate.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' | ||
change_type: deprecation | ||
|
||
# The name of the component (e.g. pkg/quantile) | ||
component: pkg/otlp/attributes | ||
|
||
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). | ||
note: ContainerTagFromAttributes is deprecated in favor of ContainerTagFromResourceAttributes. | ||
|
||
# The PR related to this change | ||
issues: [193] | ||
|
||
# (Optional) One or more lines of additional information to render under the primary note. | ||
# These lines will be padded with 2 spaces and then inserted directly into the document. | ||
# Use pipe (|) for multiline entries. | ||
subtext: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' | ||
change_type: enhancement | ||
|
||
# The name of the component (e.g. pkg/quantile) | ||
component: pkg/otlp/attributes | ||
|
||
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). | ||
note: Add support for custom container tags via resource attribute prefix `datadog.container.tag`. | ||
|
||
# The PR related to this change | ||
issues: [193] | ||
|
||
# (Optional) One or more lines of additional information to render under the primary note. | ||
# These lines will be padded with 2 spaces and then inserted directly into the document. | ||
# Use pipe (|) for multiline entries. | ||
subtext: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters