Skip to content
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

awsecscontainermetrics: Set task/container metadata as metric labels #1284

Closed

Conversation

hossain-rayhan
Copy link
Contributor

Description:
Earlier we decided to add task and container metadata as resource attributes. However, CloudWatch awsemf exporter reads dimensions only from metric labels. As this exporter is a major target for awsecscontainermetrics receiver, we need to add these metadata as metric labels. I discussed this in our OTel Metric SIG meeting. We also discussed internally and agreed to add them as metric labels as well.

Link to tracking Issue:
#1281

Testing:
Unit test added.

@hossain-rayhan hossain-rayhan requested a review from a team October 16, 2020 06:01
@anuraaga
Copy link
Contributor

Copied from other PR - @hossain-rayhan Unfortunately resource is resource - I think it's precisely the exporter layer that should deal with handling resource attributes correctly and not correct for the receiver to fill these in as labels. Apps send resource, so if the exporter isn't handling it correctly, then app metrics are already broken anyways.

@github-actions
Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 7 days.

@github-actions github-actions bot added the Stale label Oct 24, 2020
@github-actions
Copy link
Contributor

github-actions bot commented Nov 1, 2020

Closed as inactive. Feel free to reopen if this PR is still being worked on.

@github-actions github-actions bot closed this Nov 1, 2020
dyladan referenced this pull request in dynatrace-oss-contrib/opentelemetry-collector-contrib Jan 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants