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] Always add current hostname #5967

Merged
merged 1 commit into from
Nov 2, 2021

Conversation

mx-psi
Copy link
Member

@mx-psi mx-psi commented Oct 28, 2021

Description:

Always add current host hostname to the running metrics.
This is helpful in multi Collector setups, where, until now, the 'last' Collector was ignored.

@mx-psi mx-psi marked this pull request as ready for review October 29, 2021 07:22
@mx-psi mx-psi requested review from a team and djaglowski October 29, 2021 07:22
@mx-psi mx-psi added the ready to merge Code review completed; ready to merge by maintainers label Nov 2, 2021
@bogdandrutu bogdandrutu merged commit 247420a into open-telemetry:main Nov 2, 2021
mx-psi added a commit to DataDog/opentelemetry-collector-contrib that referenced this pull request Dec 9, 2021
…y#5967)"

This reverts commit 247420a.

We can't always add the current hostname *and* not expose the hostname in Fargate.
jpkrohling pushed a commit that referenced this pull request Dec 21, 2021
#6670)

* [exporter/datadogexporter] Make hostname empty on AWS ECS Fargate

* Revert "[exporter/datadog] Always add current hostname (#5967)"

This reverts commit 247420a.

We can't always add the current hostname *and* not expose the hostname in Fargate.

* [exporter/datadogexporter] Add `task_arn` instead of a hostname for running metrics

We do this because of two reasons:
1. we don't want to expose the Fargate hostname and
2. users care about identifying where their Collector is running (in this case which task).

* Address review comment

* Add changelog note
povilasv referenced this pull request in coralogix/opentelemetry-collector-contrib Dec 19, 2022
Co-authored-by: Bogdan Drutu <bogdandrutu@gmail.com>
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.

4 participants