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

[exporter/datadogexporter] Do not use attribute localhost-like hostnames #6477

Merged
merged 1 commit into from
Dec 1, 2021

Conversation

mx-psi
Copy link
Member

@mx-psi mx-psi commented Dec 1, 2021

Description:

Avoid using localhost-like names present in resource attributes as a hostname.

Link to tracking Issue: relates to #6465.

Testing: Added unit test

…ttributes

We need to do this validation to exclude localhost-like names which are not really useful.
@mx-psi mx-psi marked this pull request as ready for review December 1, 2021 12:43
@mx-psi mx-psi requested review from a team and Aneurysm9 December 1, 2021 12:43
@mx-psi mx-psi changed the title [exporter/datadogexporter] Do not use localhost-like hostnames [exporter/datadogexporter] Do not use attribute localhost-like hostnames Dec 1, 2021
Copy link
Contributor

@albertvaka albertvaka left a comment

Choose a reason for hiding this comment

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

LGTM

@codeboten codeboten merged commit 8cf5373 into open-telemetry:main Dec 1, 2021
@mx-psi mx-psi deleted the mx-psi/exclude-0.0.0.0 branch December 2, 2021 10:37
jamesmoessis pushed a commit to atlassian-forks/opentelemetry-collector-contrib that referenced this pull request Dec 8, 2021
…ttributes (open-telemetry#6477)

We need to do this validation to exclude localhost-like names which are not really useful.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants