1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-01-12 02:28:07 +02:00
opentelemetry-go/metric
Tyler Yahn 0b6164155c
Add measurement docs to metric API (#4053)
* Add measurement docs to metric API

Based on user feedback, how measurements are made with observable
instruments is not immediately clear to new users. This adds
documentation intended to help guide these users.

* Apply feedback

* Apply feedback

* Remove backticks

* Apply suggestions from code review

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

* Update metric/meter.go

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

---------

Co-authored-by: Robert Pająk <pellared@hotmail.com>
Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
2023-05-10 06:43:37 -07:00
..
embedded Unify metric API into the one otel/metric package (#4018) 2023-04-27 11:25:48 -07:00
noop Unify metric API into the one otel/metric package (#4018) 2023-04-27 11:25:48 -07:00
asyncfloat64_test.go Unify metric API into the one otel/metric package (#4018) 2023-04-27 11:25:48 -07:00
asyncfloat64.go Document how to pass attributes for all record methods (#4058) 2023-05-09 08:07:39 -07:00
asyncint64_test.go Unify metric API into the one otel/metric package (#4018) 2023-04-27 11:25:48 -07:00
asyncint64.go Document how to pass attributes for all record methods (#4058) 2023-05-09 08:07:39 -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 measurement docs to metric API (#4053) 2023-05-10 06:43:37 -07:00
example_test.go Revert "Move global metric back to otel/metric/global for minor release (#3986)" (#4039) 2023-05-02 11:15:39 -07:00
go.mod Release v1.16.0-rc.1/v0.39.0-rc.1 (#4048) 2023-05-03 19:39:01 -07: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 Unify metric API into the one otel/metric package (#4018) 2023-04-27 11:25:48 -07:00
instrument.go Fix article in metric API docs (#4054) 2023-05-08 15:00:27 -05:00
meter.go Add measurement docs to metric API (#4053) 2023-05-10 06:43:37 -07:00
syncfloat64_test.go Unify metric API into the one otel/metric package (#4018) 2023-04-27 11:25:48 -07:00
syncfloat64.go Document how to pass attributes for all record methods (#4058) 2023-05-09 08:07:39 -07:00
syncint64_test.go Unify metric API into the one otel/metric package (#4018) 2023-04-27 11:25:48 -07:00
syncint64.go Document how to pass attributes for all record methods (#4058) 2023-05-09 08:07:39 -07:00