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 65ebe5e50f
Add embedded private method interfaces in metric API (#3916)
* PoC of embedded private method ifaces

* Rename embed to embedded

* Add an embedded iface for all instruments

* Fix metric/instrument tests

* Fix global and otel

* Fix SDK

* Comment the embedded pkg types

* Update the embedded pkg docs

* Update otel/metric docs about impls

* Update otel/metric type docs on impl

* Update docs in otel/metric/instrument on default

* Add changes to changelog

* Apply suggestions from code review

Co-authored-by: Robert Pająk <pellared@hotmail.com>

* Apply feedback on URLs

* Reword based on feedback

* Make it clear we only recommended embedding noop

* Ignore links with godot linter

---------

Co-authored-by: Robert Pająk <pellared@hotmail.com>
2023-04-03 07:33:19 -07:00
..
embedded Add embedded private method interfaces in metric API (#3916) 2023-04-03 07:33:19 -07:00
instrument Add embedded private method interfaces in metric API (#3916) 2023-04-03 07:33:19 -07:00
noop Add embedded private method interfaces in metric API (#3916) 2023-04-03 07:33:19 -07: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 Add embedded private method interfaces in metric API (#3916) 2023-04-03 07:33:19 -07:00
example_test.go metric: Refactor examples to use otel.Meter (#3927) 2023-03-24 08:00:18 -07:00
go.mod dependabot updates Sun Apr 2 15:32:08 UTC 2023 (#3963) 2023-04-02 12:10:19 -04:00
go.sum dependabot updates Sun Apr 2 15:32:08 UTC 2023 (#3963) 2023-04-02 12:10:19 -04:00
meter.go Add embedded private method interfaces in metric API (#3916) 2023-04-03 07:33:19 -07:00