-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Allow customers to set custom resource attributes as container Tags #32224
Allow customers to set custom resource attributes as container Tags #32224
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.
LGTM except minor nits
assert.Equal(t, 2, len(tags)) | ||
assert.ElementsMatch(t, []string{"region:my-region", "zone:my-zone"}, tags) | ||
assert.Equal(t, 3, len(tags)) | ||
assert.ElementsMatch(t, []string{"region:my-region", "zone:my-zone", "az:my-az"}, tags) |
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.
👍
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.
LGTM
…and-resource-attributes
Currently users of DDconnector can only set fixed set of resource attributes as container Tags , list is defined here . This PR enables the customers to choose any resource attribute to be set as container Tag on the APM Trace metrics payload.