1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-26 21:05:00 +02:00
opentelemetry-go/sdk/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
..
internal/x log: Introduce EnabledParameters (#5791) 2024-09-13 06:35:01 +02:00
logtest fix(deps): update module github.com/golangci/golangci-lint to v1.60.2 (#5711) 2024-08-23 08:07:25 -07:00
batch_test.go Add an option to configure the exporter buffer of the BatchProcessor (#5877) 2024-10-10 01:16:46 -07:00
batch.go Add an option to configure the exporter buffer of the BatchProcessor (#5877) 2024-10-10 01:16:46 -07:00
bench_test.go sdk/log: Processor.OnEmit accetps a Record pointer (#5636) 2024-08-01 10:13:43 +02:00
DESIGN.md Fix typos (#5763) 2024-09-09 08:53:15 +02:00
doc.go Move log.Processor.Enabled to independent FilterProcessor interfaced type (#5692) 2024-08-22 09:12:23 -07:00
example_test.go log: Introduce EnabledParameters (#5791) 2024-09-13 06:35:01 +02:00
exporter_test.go [chore]: enable len and empty rules from testifylint (#5832) 2024-09-21 08:04:28 -07:00
exporter.go sdk/log: SimpleProcessor synchronizes OnEmit calls (#5666) 2024-08-09 08:40:39 +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 golang.org/x (#5872) 2024-10-07 09:13:11 +02:00
logger_bench_test.go sdk/log: Fix BenchmarkLoggerNewRecord to not drop attributes (#5407) 2024-05-24 08:07:56 +02:00
logger_test.go log: Introduce EnabledParameters (#5791) 2024-09-13 06:35:01 +02:00
logger.go log: Introduce EnabledParameters (#5791) 2024-09-13 06:35:01 +02:00
processor.go Move log.Processor.Enabled to independent FilterProcessor interfaced type (#5692) 2024-08-22 09:12:23 -07:00
provider_test.go log: Introduce EnabledParameters (#5791) 2024-09-13 06:35:01 +02:00
provider.go fix(metric, log): merge explicit resource with environment variables (#5773) 2024-09-06 19:19:44 +02:00
README.md
record_test.go Add walk attributes benchmark (#5547) 2024-06-27 13:29:38 +02:00
record.go [doc] sdk/log: Do not create instances of Record (#5871) 2024-10-04 07:00:21 +02:00
ring_test.go [chore]: enable expected-actual rule from testifylint (#5848) 2024-09-26 12:04:33 +02:00
ring.go Add custom ring implementation to the BatchProcessor (#5237) 2024-04-24 12:07:15 +02:00
setting_test.go
setting.go
simple_test.go Move log.Processor.Enabled to independent FilterProcessor interfaced type (#5692) 2024-08-22 09:12:23 -07:00
simple.go Fix typos (#5763) 2024-09-09 08:53:15 +02:00

Log SDK

PkgGoDev