1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-12 10:04:29 +02:00
opentelemetry-go/metric
Tyler Yahn 813936187e
Support a global MeterProvider in go.opentelemetry.io/otel (#3818)
* Move ErrorHandler impl to internal

To avoid the import cycle, the otel/metric package needs to not import
otel. To achieve this, the error handling implementation is moved to the
otel/internal/global package where both can import the needed
functionality.

* Add global metric to go.opentelemetry.io/otel

* Crosslink and update to global metric in otel

* Add changes to changelog

* Set PR number in changelog

* Add global metric unit tests

* Rename MeterProivder() to GetMeterProivder()

* Add TODO to remove nolint comments
2023-03-01 11:16:03 -08:00
..
global Support a global MeterProvider in go.opentelemetry.io/otel (#3818) 2023-03-01 11:16:03 -08:00
instrument Deprecate metric/unit and use a string for units in the metric API/SDK (#3776) 2023-02-27 08:10:56 -08:00
internal/global Support a global MeterProvider in go.opentelemetry.io/otel (#3818) 2023-03-01 11:16:03 -08:00
config_test.go Accept scope attributes during Meter creation (#3738) 2023-02-17 10:00:19 -08:00
config.go Accept scope attributes during Meter creation (#3738) 2023-02-17 10:00:19 -08:00
doc.go [API EPIC 4/4] Fix tests and examples (#2587) 2022-03-02 09:50:29 -06:00
example_test.go Deprecate metric/unit and use a string for units in the metric API/SDK (#3776) 2023-02-27 08:10:56 -08:00
go.mod Release v1.14.0/v0.37.0/v0.0.4 (#3810) 2023-02-27 13:57:23 -08:00
go.sum dependabot updates Sun Feb 26 15:49:13 UTC 2023 (#3804) 2023-02-26 07:58:24 -08:00
meter.go Rename instrumentationName param of Meter method (#3734) 2023-02-16 12:04:19 -08:00
noop_test.go Remove the unneeded Observe method from the async instruments (#3586) 2023-01-25 12:58:09 -08:00
noop.go Remove leftover instrument provider from noop (#3736) 2023-02-16 14:05:26 -08:00