Commit Graph

9 Commits

Author SHA1 Message Date
Tyler Yahn 7512a2be2e
Add the `golines` golangci-lint formatter (#6513)
Ensure consistent line wrapping (<= 120 characters) within the project.
2025-03-30 03:46:44 -07:00
Nathan Baulch 506a9baf5e
Fix typos (#5763) 2024-09-09 08:53:15 +02:00
Tyler Yahn f8840b9a51
Fix type error in float64 instrument docs (#5302) 2024-05-06 19:04:57 +02:00
Robert Pająk 7dea232a46
[chore] Simplify the license header (#4987) 2024-02-29 07:05:28 +01:00
Tyler Yahn 02c0001307
Document how to pass attributes for all record methods (#4058)
* Document how to pass attributes for all record methods

* Update based on feedback
2023-05-09 08:07:39 -07:00
Tyler Yahn 476d00aa2c
Fix the broken [Option] link in metric docs (#4057)
The `Option` type was replaced with `InstrumentOption` when the
`metric/instrument` package was moved to `metric`.
2023-05-08 08:16:34 -07:00
Tyler Yahn 07bf5913a1
Add comment on all uses of embedded types (#4059) 2023-05-08 08:05:08 -07:00
Tyler Yahn 2aadf656e2
Update metric iface warnings (#4056)
Remove self-reference to the package in the expandable interfaces.
2023-05-08 07:56:53 -07:00
Tyler Yahn 15d6ba2921
Unify metric API into the one `otel/metric` package (#4018)
* Move instrument into metric

* Update metric docs to include instrument

* Update package names

* Update all imports of sdk/metric/instrument

* Rename Option to InstrumentOption

* Deprecate otel/metric/instrument

* Add changelog entry
2023-04-27 11:25:48 -07:00