You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the expected behavior?
Key Value attributes should be printed to screen.
What is the actual behavior?
No attributes!
{
scope name : ostream_metric_example
schema url :
version : 1.2.0
start time : Mon Feb 26 19:14:55 2024
end time : Mon Feb 26 19:14:56 2024
instrument name : ostream_metric_example_observable_counter
description :
unit :
type : SumPointData
value : 4.1
attributes :
resources :
service.name: unknown_service
telemetry.sdk.language: cpp
telemetry.sdk.name: opentelemetry
telemetry.sdk.version: 1.14.1
}
Additional context
This is ONLY happening with Observable Counter & Gauge. Not with normal sync counters / histograms.
The text was updated successfully, but these errors were encountered:
@lalitb I just went through the commit cf5cdaa to try to see what's breaking, but I'm too new to this 😅
My understanding is that we changed all MetricAttributes to be Filtered now, made a change to the sync_metric_storage, but no corresponding to async_metric_storage I guess?
Describe your environment
Doing this on Linux, with only metrics examples, with latest Git branch (v1.14)
Steps to reproduce
Compile
metrics_simple
example with this patch:What is the expected behavior?
Key Value attributes should be printed to screen.
What is the actual behavior?
No attributes!
Additional context
This is ONLY happening with Observable Counter & Gauge. Not with normal sync counters / histograms.
The text was updated successfully, but these errors were encountered: