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

[Spanmetrics Connector] - Incorrect values for RED metrics #30440

Closed
aishyandapalli opened this issue Jan 11, 2024 · 8 comments
Closed

[Spanmetrics Connector] - Incorrect values for RED metrics #30440

aishyandapalli opened this issue Jan 11, 2024 · 8 comments
Labels
bug Something isn't working connector/spanmetrics needs triage New item requiring triage

Comments

@aishyandapalli
Copy link
Contributor

aishyandapalli commented Jan 11, 2024

Component(s)

No response

What happened?

Description

We tried moving to spanmetrics connector from processor. We have the exactly same config but the calls_total metric for connector is reporting wrong values after certain amount of time. The same config works fine for spanmetrics processor. Attached an image below

Screenshot 2024-01-04 at 1 20 12 PM

Collector version

v0.91.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

@aishyandapalli aishyandapalli added bug Something isn't working needs triage New item requiring triage labels Jan 11, 2024
Copy link
Contributor

Pinging code owners for connector/spanmetrics: @albertteoh. See Adding Labels via Comments if you do not have permissions to add labels yourself.

@portertech
Copy link
Contributor

Likely related to #29711 which is available in 0.92 👍

@aishyandapalli
Copy link
Contributor Author

@portertech I don't think it's solved with the fix #29711. The reason is, I pointed the dependency to latest on main and deployed the image but the issue still existed

@portertech
Copy link
Contributor

@aishyandapalli did you also configure resource_metrics_key_attributes?

@portertech
Copy link
Contributor

@aishyandapalli any update? Did >= 0.92 with a configured resource_metrics_key_attributes fix it?

@aishyandapalli
Copy link
Contributor Author

aishyandapalli commented Jan 22, 2024

@portertech I haven't configured resource_metrics_key_attributes. I will try and update here. What is the exact functionality of resource_metrics_key_attributes ?

@aishyandapalli
Copy link
Contributor Author

@portertech Setting resource_metrics_key_attributes seems to have solved the issue. Thanks a lot!

@crobert-1
Copy link
Member

Closing issue as per last comment, let me know if I've misunderstood.

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

No branches or pull requests

3 participants