1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-12 10:04:29 +02:00
opentelemetry-go/sdk/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
..
aggregation Recommend not recording cumulative explicit histogram min/max (#3403) 2022-10-31 18:59:05 -07:00
internal Add embedded private method interfaces in metric API (#3916) 2023-04-03 07:33:19 -07:00
metricdata Update Histogram Extrema and Sum to be generic (#3870) 2023-03-29 11:24:25 -07:00
benchmark_test.go Change the Reader.Collect Signature. (#3732) 2023-02-21 09:04:27 -06:00
cache_test.go Handle duplicate Aggregators and log instrument conflicts (#3251) 2022-10-11 15:41:47 -04:00
cache.go Merge instrument cache to inserter (#3724) 2023-02-21 08:07:37 -08:00
config_test.go Change the Reader.Collect Signature. (#3732) 2023-02-21 09:04:27 -06:00
config.go Add Metric Producer as a new interface, which returns scope metrics (#3524) 2022-12-15 07:50:45 -08:00
doc.go Replace view use from sdk/metric/view to sdk/metric (#3461) 2022-11-19 09:05:20 -08:00
env.go Support OTEL_METRIC_EXPORT_INTERVAL and OTEL_METRIC_EXPORT_TIMEOUT (#3763) 2023-02-24 09:26:47 -06:00
example_test.go Support a global MeterProvider in go.opentelemetry.io/otel (#3818) 2023-03-01 11:16:03 -08:00
exporter.go Update the metric Export interface to accept a *ResourceMetrics instead of ResourceMetrics (#3853) 2023-03-16 10:58:43 -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
instrument_test.go Pool sortables used to create attribute sets (#3832) 2023-03-13 11:19:28 -07:00
instrument.go Add embedded private method interfaces in metric API (#3916) 2023-04-03 07:33:19 -07:00
manual_reader_test.go Replace view use from sdk/metric/view to sdk/metric (#3461) 2022-11-19 09:05:20 -08:00
manual_reader.go Reuse memory in metric pipelines (#3760) 2023-03-09 09:43:16 -08:00
meter_test.go Update Histogram Extrema and Sum to be generic (#3870) 2023-03-29 11:24:25 -07:00
meter.go Add embedded private method interfaces in metric API (#3916) 2023-04-03 07:33:19 -07:00
periodic_reader_test.go Update the metric Export interface to accept a *ResourceMetrics instead of ResourceMetrics (#3853) 2023-03-16 10:58:43 -07:00
periodic_reader.go Update the metric Export interface to accept a *ResourceMetrics instead of ResourceMetrics (#3853) 2023-03-16 10:58:43 -07:00
pipeline_registry_test.go Merge instrument cache to inserter (#3724) 2023-02-21 08:07:37 -08:00
pipeline_test.go Reuse memory in metric pipelines (#3760) 2023-03-09 09:43:16 -08:00
pipeline.go Add embedded private method interfaces in metric API (#3916) 2023-04-03 07:33:19 -07:00
provider_test.go Remove unnecessary build restrictions for go1.18 (#3197) 2022-09-21 10:00:00 -07:00
provider.go Add embedded private method interfaces in metric API (#3916) 2023-04-03 07:33:19 -07:00
reader_test.go Reuse memory in metric pipelines (#3760) 2023-03-09 09:43:16 -08:00
reader.go Reuse memory in metric pipelines (#3760) 2023-03-09 09:43:16 -08:00
view_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
view.go Add View, NewView, Instrument, Stream, and InstrumentKind to sdk/metric with unit tests (#3459) 2022-11-16 08:18:02 -08:00