mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2024-12-14 10:13:10 +02:00
308d0362e6
* Do not return an error for Drop aggs The async instruments currently return an error if and only if there are no aggregators returned from a resolve. Returning no aggregators means the instrument aggregation is drop. Do not include this in the error reporting decision. * Only registers callbacks if non-drop agg is used The instruments passed to RegisterCallback need to have some aggregation defined otherwise it is implied they have a Drop aggregation. Check that at least one instrument passed has an aggregation other than Drop before registering the callback with the pipelines. Also, return an error if the user passed another API implementation of an asynchronous instrument. * Remove unneeded TODO from pipeline * Add changes to changelog * Test callback not called for all drop instruments * Test RegisterCallback returns err for non-SDK inst * Fail gracefully for non-SDK instruments Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com> |
||
---|---|---|
.. | ||
aggregation | ||
internal | ||
metricdata | ||
view | ||
benchmark_test.go | ||
cache_test.go | ||
cache.go | ||
config_test.go | ||
config.go | ||
doc.go | ||
example_test.go | ||
exporter.go | ||
go.mod | ||
go.sum | ||
instrument_provider.go | ||
instrument.go | ||
manual_reader_test.go | ||
manual_reader.go | ||
meter_test.go | ||
meter.go | ||
periodic_reader_test.go | ||
periodic_reader.go | ||
pipeline_registry_test.go | ||
pipeline_test.go | ||
pipeline.go | ||
provider_test.go | ||
provider.go | ||
reader_test.go | ||
reader.go |