opentelemetry-ruby
opentelemetry-ruby copied to clipboard
feat: add basic implementation of asynchronous metrics
Description
I'd like to make contribution on basic implementation on asynchronous metrics.
Related: https://github.com/open-telemetry/opentelemetry-ruby/issues/1386, Asynchronous Up Down Counter card, Asynchronous Gauge. Spec: asynchronous-instrument-api
WIP:
- when multiple callbacks exist in single instrument, they may all impose (accumulative) modification on data points, which need further consideration of use case.