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

[datadogexporter] Deduplicate hosts for which we send running metrics #3539

Merged
merged 2 commits into from
May 27, 2021

Conversation

mx-psi
Copy link
Member

@mx-psi mx-psi commented May 26, 2021

Description:

Deduplicate the hostnames for otel.datadog_exporter.*.running metrics so that we don't send them more than once for a given hostname.
This could cause issues when having the same hostname for many payloads.

Link to tracking Issue: n/a

Testing: Amended unit tests to check that we are not sending duplicates

cc @KSerrania @ericmustin to review

Copy link
Contributor

@ericmustin ericmustin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@mx-psi mx-psi marked this pull request as ready for review May 26, 2021 16:57
@mx-psi mx-psi requested a review from a team May 26, 2021 16:57
@mx-psi mx-psi added the ready to merge Code review completed; ready to merge by maintainers label May 26, 2021
@mx-psi
Copy link
Member Author

mx-psi commented May 26, 2021

lint job is failing for an unrelated reason (also failing on main)

edit: opened #3540 to fix it.

edit 2: fixed

@bogdandrutu bogdandrutu merged commit 2cd0fbc into open-telemetry:main May 27, 2021
@mx-psi mx-psi deleted the mx-psi/deduplicate-hosts branch May 27, 2021 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready to merge Code review completed; ready to merge by maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants