1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2026-06-03 18:35:08 +02:00
Commit Graph

22 Commits

Author SHA1 Message Date
Robert Pająk 7dea232a46 [chore] Simplify the license header (#4987) 2024-02-29 07:05:28 +01:00
Robert Pająk 1d1ecbc5f9 [chore] log: Remove resolved issue from DESIGN.md (#4984) 2024-02-27 19:51:23 +01:00
Tyler Yahn 561714acb2 Drop support for Go 1.20 (#4967)
* Update README.md

* Remove 1.20 support from CI workflows

* Update all go mod

* Add changelog entry

* Update go mod tidy target

* Run go mod tidy

* Replace sliceEqualFunc with slices.EqualFunc

* Replace grow with slices.Grow

* Replace ensureAttributesCapacity with slices.Grow

* Replace conditional with min

* Use slices module for slice comparison in metricdatatest
2024-02-25 10:48:32 -08:00
Tyler Yahn 08c38ab6f5 Add links to published packages (#4970) 2024-02-25 07:39:05 -08:00
Tyler Yahn 22a4f9cc55 Export internal/global.getLogger (#4969)
* Export getLogger

Refactor the declaration of globalLogger to incorporate the logic of
init() so there is no data race between GetLogger and init being called.

* Use GetLogger in log testing

* Restore logger in batch span processor testing

* Remove unused URL in globalLogger doc
2024-02-25 07:27:44 -08:00
Tyler Yahn e6e186bfa4 Release v1.24.0/v0.46.0/v0.0.1-alpha (#4966)
* Bump versions

* Prepare stable-v1 for version v1.24.0

* Prepare experimental-metrics for version v0.46.0

* Prepare experimental-logs for version v0.0.1-alpha

* Update changelog

* Fix changelog entry
2024-02-23 08:32:44 -08:00
Tyler Yahn 8df89f6aff log: Remove Value.AsAny (#4963) 2024-02-22 20:56:07 +01:00
Tyler Yahn 7cc660fc0f log: Add allocation tests (#4957) 2024-02-22 20:47:40 +01:00
Tyler Yahn 6ea99afaa0 log: Add benchmark tests (#4958) 2024-02-22 18:15:43 +01:00
Tyler Yahn 7b3382e4dc log: Implement Value and KeyValue types (#4949)
* Implement `Value` and `KeyValue`

* Add tests for `Value` and `KeyValue`

---------

Co-authored-by: Robert Pająk <pellared@hotmail.com>
2024-02-21 13:19:41 -08:00
Robert Pająk c2fdbcaea8 design: log value accessors must not panic (#4948) 2024-02-21 07:02:08 +01:00
Tyler Yahn dd3b00f682 Add the log/noop package (#4943)
* Add the `log/noop` package

* Add implementation tests

---------

Co-authored-by: Robert Pająk <pellared@hotmail.com>
2024-02-20 08:16:07 -08:00
Tyler Yahn b62df520ff Implement the log Record type (#4939) 2024-02-19 14:08:41 +01:00
Tyler Yahn d423033b1f Test Severity const match OTel spec (#4938)
Resolve #4912
2024-02-19 13:47:24 +01:00
Tyler Yahn e3e8879eb3 Implement the LoggerConfig and add the LoggerOptions (#4937)
* Implement the LoggerConfig

* Add the LoggerOptions

* Add NewLoggerConfig test
2024-02-18 08:13:42 -08:00
Tyler Yahn 6e2bfb69ed Rename log List value type to Slice (#4936) 2024-02-18 08:08:28 -08:00
Tyler Yahn 59413575e4 Update otel/log package docs (#4935) 2024-02-18 08:01:24 -08:00
Tyler Yahn 48bb3c8642 Add the log/embedded package (#4932)
* Add the log/embedded package

* Embed the Logger and LoggerProvider types
2024-02-18 07:51:13 -08:00
Charlie Le 693eb7dbbb Fix typos in docs and comments (#4940)
Ignoring words that would have renamed

- nam. -> name
- ans -> and
2024-02-17 13:36:41 +01:00
Tyler Yahn d3dcb3999c Add initial Logs Bridge API scaffolding (#4907)
* Add go.mod

* Exclude otel/log in versions.yaml

* Add package documentation stub

* Update dependabot config

* Add initial log API scaffolding
2024-02-16 07:09:58 -08:00
Tyler Yahn e8973b75b2 [docs] Log design fix (#4918)
Add missing return type to String func.
2024-02-13 15:47:56 -08:00
Robert Pająk c921815474 log: Add design doc (#4809) 2024-02-09 08:27:38 +01:00