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

Some attributes of target_info may be repeated and are separated by colons. #34364

Open
halleystar opened this issue Aug 1, 2024 · 1 comment
Labels
bug Something isn't working needs triage New item requiring triage pkg/translator/prometheusremotewrite

Comments

@halleystar
Copy link

halleystar commented Aug 1, 2024

Component(s)

pkg/translator/prometheusremotewrite

What happened?

Description

Some attributes of target_info may be repeated and separated by colons. Also, if I turn off target_info, it will delete the target_info I generated on the client side.

Steps to Reproduce

Use java-auto-instrumentation and use prometheus exporter。 The metric list will contain the target_info metric by default. AND then Enabling target_info in prometheusremotewrite will cause the label in the final target_info metric to be repeated. However, if target_info is turned off, there will be no target_info in the output metric list.

Expected Result

Actual Result

Collector version

0.105.0

Environment information

Environment

OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")

OpenTelemetry Collector configuration

No response

Log output

No response

Additional context

No response

@halleystar halleystar added bug Something isn't working needs triage New item requiring triage labels Aug 1, 2024
Copy link
Contributor

github-actions bot commented Aug 1, 2024

Pinging code owners:

  • pkg/translator/prometheusremotewrite: @Aneurysm9

See Adding Labels via Comments if you do not have permissions to add labels yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage New item requiring triage pkg/translator/prometheusremotewrite
Projects
None yet
Development

No branches or pull requests

1 participant