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

Otel Metrics: Asynch Instruments are not displaying values #1556

Closed
tauseef-ah opened this issue Aug 11, 2022 · 2 comments
Closed

Otel Metrics: Asynch Instruments are not displaying values #1556

tauseef-ah opened this issue Aug 11, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@tauseef-ah
Copy link

tauseef-ah commented Aug 11, 2022

Describe your environment
Opentelemetry main branch

Steps to reproduce
Build and run sample test "./metrics_ostream_example observable_counter"

What is the expected behavior?
What did you expect to see?
The aynch metrics(like observable counter, observable gauge) need to be displayed along with the attributes

What is the actual behavior?
What did you see instead?
The Asynch Metrics(like observable counter, observable gauge) are not being displayed, and only the version info is being printed
{
name : ostream_metric_example
schema url :
version : 1.2.0
start time : Thu Aug 11 10:07:56 2022
end time : Thu Aug 11 10:07:57 2022
name : ostream_metric_example
description : description
unit :
resources :
service.name: unknown_service
telemetry.sdk.language: cpp
telemetry.sdk.name: opentelemetry
telemetry.sdk.version: 1.5.0
}

Additional context

@tauseef-ah tauseef-ah added the bug Something isn't working label Aug 11, 2022
@tauseef-ah tauseef-ah changed the title Otel Metrics: Asynch Instruments values are not displaying values Otel Metrics: Asynch Instruments are not displaying values Aug 11, 2022
@lalitb
Copy link
Member

lalitb commented Aug 11, 2022

Duplicate to #1550

@lalitb
Copy link
Member

lalitb commented Aug 22, 2022

#1554 fixes it. Please reopen if there are still any issues.

@lalitb lalitb closed this as completed Aug 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants