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
I think it is better to return an instrument. I understand that an asynchronous instrument itself has no functionality available for the user but I see no point in "hiding" it from the user.
The instruments also have attributes that the user may want to access like name, description and unit.
Can someone make a separate issue for this documenting what other languages are doing? I had a look at Java and the builder will return an instrument handle: https://github.com/open-telemetry/opentelemetry-java/blob/5ff5f3f494fe6958574acff0e8c59bc013b69dad/api/all/src/main/java/io/opentelemetry/api/metrics/LongCounterBuilder.java#L54
Originally posted by @aabmass in #2339 (comment)
The text was updated successfully, but these errors were encountered: