1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-26 21:05:00 +02:00
opentelemetry-go/log
David Ashpole bc2fe88756
Release v1.31.0/v0.53.0/v0.7.0/v0.0.10 (#5883)
### Added

- Add `go.opentelemetry.io/otel/sdk/metric/exemplar` package which
includes `Exemplar`, `Filter`, `TraceBasedFilter`, `AlwaysOnFilter`,
`HistogramReservoir`, `FixedSizeReservoir`, `Reservoir`, `Value` and
`ValueType` types. These will be used for configuring the exemplar
reservoir for the metrics sdk. (#5747, #5862)
- Add `WithExportBufferSize` option to log batch processor.(#5877)

### Changed

- Enable exemplars by default in `go.opentelemetry.io/otel/sdk/metric`.
Exemplars can be disabled by setting
`OTEL_METRICS_EXEMPLAR_FILTER=always_off` (#5778)
- `Logger.Enabled` in `go.opentelemetry.io/otel/log` now accepts a newly
introduced `EnabledParameters` type instead of `Record`. (#5791)
- `FilterProcessor.Enabled` in
`go.opentelemetry.io/otel/sdk/log/internal/x` now accepts
`EnabledParameters` instead of `Record`. (#5791)
- The `Record` type in `go.opentelemetry.io/otel/log` is no longer
comparable. (#5847)
- Performance improvements for the trace SDK `SetAttributes` method in
`Span`. (#5864)
- Reduce memory allocations for the `Event` and `Link` lists in `Span`.
(#5858)
- Performance improvements for the trace SDK `AddEvent`, `AddLink`,
`RecordError` and `End` methods in `Span`. (#5874)

### Deprecated

- Deprecate all examples under `go.opentelemetry.io/otel/example` as
they are moved to [Contrib
repository](https://github.com/open-telemetry/opentelemetry-go-contrib/tree/main/examples).
(#5854)

### Fixed

- The race condition for multiple `FixedSize` exemplar reservoirs
identified in #5814 is resolved. (#5819)
- Fix log records duplication in case of heterogeneous resource
attributes by correctly mapping each log record to it's resource and
scope. (#5803)
- Fix timer channel drain to avoid hanging on Go 1.23. (#5868)
- Fix delegation for global meter providers, and panic when calling
otel.SetMeterProvider. (#5827)
- Change the `reflect.TypeOf` to use a nil pointer to not allocate on
the heap unless necessary. (#5827)
2024-10-11 12:59:27 -04:00
..
embedded Add READMEs to every package (#5103) 2024-03-26 20:13:54 +01:00
global Add READMEs to every package (#5103) 2024-03-26 20:13:54 +01:00
internal/global log: Introduce EnabledParameters (#5791) 2024-09-13 06:35:01 +02:00
logtest [chore]: enable expected-actual rule from testifylint (#5848) 2024-09-26 12:04:33 +02:00
noop [chore]: enable expected-actual rule from testifylint (#5848) 2024-09-26 12:04:33 +02:00
DESIGN.md log: Introduce EnabledParameters (#5791) 2024-09-13 06:35:01 +02:00
doc.go clarify that users should not directly use the log bridge API (#5837) 2024-09-25 11:58:35 +02:00
go.mod Release v1.31.0/v0.53.0/v0.7.0/v0.0.10 (#5883) 2024-10-11 12:59:27 -04:00
go.sum fix(deps): update module github.com/go-logr/logr to v1.4.2 (#5393) 2024-05-21 13:58:14 -07:00
keyvalue_bench_test.go Stabilize benchmark result of BenchmarkValueEqual (#5717) 2024-08-16 09:33:36 -07:00
keyvalue_test.go [chore]: enable bool-compare rule from testifylint (#5829) 2024-09-20 09:39:27 +02:00
keyvalue.go Fix gosec overflow alerts (#5799) 2024-09-13 09:11:50 +02:00
kind_string.go Rename log List value type to Slice (#4936) 2024-02-18 08:08:28 -08:00
logger_test.go [chore] Simplify the license header (#4987) 2024-02-29 07:05:28 +01:00
logger.go log: Introduce EnabledParameters (#5791) 2024-09-13 06:35:01 +02:00
provider.go Document Logger name and version recommendations (#5613) 2024-07-12 20:28:43 +02:00
README.md Add READMEs to every package (#5103) 2024-03-26 20:13:54 +01:00
record_bench_test.go [chore] Simplify the license header (#4987) 2024-02-29 07:05:28 +01:00
record_test.go [chore] Simplify the license header (#4987) 2024-02-29 07:05:28 +01:00
record.go log: Make Record not comparable (#5847) 2024-09-26 08:32:36 +02:00
severity_string.go Add SeverityUndefined to otel/log (#5072) 2024-03-14 13:22:12 -07:00
severity_test.go Add SeverityUndefined to otel/log (#5072) 2024-03-14 13:22:12 -07:00
severity.go Add SeverityUndefined to otel/log (#5072) 2024-03-14 13:22:12 -07:00

Log API

PkgGoDev