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/prometheusremotewrite] Add endpoint label to the remote write metrics #38397

Conversation

gotjosh
Copy link
Contributor

@gotjosh gotjosh commented Mar 5, 2025

Description

It is often useful to know which endpoints the metrics are referring to directly, whilst this is something that an operator can infer by looking at the configuration, it is often the case that there's no direct access to it.

In the documentation, I don't see the endpoint being considered a secret so I reckon this is safe to do.

Link to tracking issue

This technically a prequite for the work that I'm about to do as part of open-telemetry/opentelemetry-collector#12255 but is not directly related and can go individually.

…rite metrics.

It is often useful to know which endpoint are the metrics referring to directly, whilst this is something that an operator can infer by looking at the configuration it is often the case that there's no direct access to it.

In the documentation, I don't see the endpoint being consider a secret so I reckon this is safe to do.

Signed-off-by: gotjosh <josue.abreu@gmail.com>
@gotjosh
Copy link
Contributor Author

gotjosh commented Mar 5, 2025

This is a follow up from #37912 where I was asked by @ArthurSens to pull in a separate PR.

There are two relevant conversations:

gotjosh added 2 commits March 5, 2025 14:28
Signed-off-by: gotjosh <josue.abreu@gmail.com>
Signed-off-by: gotjosh <josue.abreu@gmail.com>
Copy link
Member

@ArthurSens ArthurSens left a comment

Choose a reason for hiding this comment

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

Thank you!

@ArthurSens ArthurSens added the ready to merge Code review completed; ready to merge by maintainers label Mar 7, 2025
@songy23 songy23 merged commit 9efa8df into open-telemetry:main Mar 7, 2025
171 checks passed
@github-actions github-actions bot added this to the next release milestone Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exporter/prometheusremotewrite 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