1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-12 10:04:29 +02:00
opentelemetry-go/example/prometheus
Tyler Yahn 69b18e62a7
Redesign RegisterCallback API (#3584)
* Update RegisterCallback and Callback declerations

RegisterCallback accepts variadic Asynchronous instruments instead of a
slice.

Callback accepts an observation result recorder to ensure instruments
that are observed by a callback.

* Update global, noop, SDK implementations
* Fix examples
* Add changes to changelog
* Test RegisterCallback for invalid observers
* Test callbacks from foreign sources not collected
* Support registering delegating instruments
2023-01-19 08:18:26 -06:00
..
doc.go Merge metric SDK development branch "new_sdk/main" into "main" (#3175) 2022-09-15 18:41:24 -07:00
go.mod Release v1.11.2/v0.34.0 (#3512) 2022-12-05 13:43:20 -06:00
go.sum dependabot updates Sun Nov 13 15:54:30 UTC 2022 (#3466) 2022-11-13 08:06:23 -08:00
main.go Redesign RegisterCallback API (#3584) 2023-01-19 08:18:26 -06:00