-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[exp/prometheusremotewrite] Exporting "target" instead of "target_info" #12079
Comments
Based on OTEL spec https://opentelemetry.io/docs/reference/specification/metrics/datamodel/#resource-attributes-1 I believe the metric should named target
Note: the quotes around the word target |
Yes, but Info type metrics should have an |
Agree, I believe we need to fix the otel spec first before merging your change |
I think the OTEL Spec is correct already imo. The metric family for Just that when exporting a metric called |
@Aneurysm9 please take a look at this issue |
@gouthamve is correct. For other metric types (e.g. histograms), suffixes are appended when translating from pdata to PRW. For example, here we add |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This was fixed in #12086 |
Describe the bug
When pushing data through Prometheus Remote Write, we should expose the Resource Attributes using the
target_info
metric, but we are currently pushing atarget
metric.Steps to reproduce
Run a simple collector deployment with the following config:
What did you expect to see?
target_info
in Prometheus.What did you see instead?
target
What version did you use?
Version:
v0.54.0
The text was updated successfully, but these errors were encountered: