-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Standardize DD_TAGS format #162
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a couple of suggestions
Thank you @maycmlee ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 for docs
env: | ||
DD_TAGS: "key1:value1,key2:value2,key3:value3" | ||
DD_TAGS_SEP: "," | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we also include a note about where the custom tags are included?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a couple of edits for the note.
Co-authored-by: May Lee <mayl@alumni.cmu.edu>
Co-authored-by: May Lee <mayl@alumni.cmu.edu>
afc7fa9
to
859be6b
Compare
This issue has been automatically marked as stale because it has not had activity in the last 30 days. |
This reverts commit 037f502.
begin | ||
delimiter = ',' | ||
delimiter = ' ' if tags.count(' ') > tags.count(',') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sarah-witt keeping this line will keep this change backwards-compatible
Co-authored-by: Sarah Witt <sarah.witt@datadoghq.com>
Requirements for Contributing to this repository
What does this PR do?
This PR aims to add a standard interface to use the environment variable
DD_TAGS
in the buildpack regardless of the target language. As a result, this PR fixes all issues related toDD_TAGS
format.Description of the Change
DD_TAGS
separator viaDD_TAGS_SEP
DD_TAGS
tags
,dogstatsd_tags
)DD_NODE_AGENT_TAGS
env variableAlternate Designs
Possible Drawbacks
Verification Process
Additional Notes
Release Notes
Review checklist (to be filled by reviewers)
changelog/
label attached. If applicable it should have thebackward-incompatible
label attached.do-not-merge/
label attached.kind/
andseverity/
labels attached at least.