1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-01-16 02:47:20 +02:00
opentelemetry-go/sdk/log
Tyler Yahn 81216fb002
Releases v1.28.0/v0.50.0/v0.4.0 (#5569)
### Added

- The `IsEmpty` method is added to the `Instrument` type in
`go.opentelemetry.io/otel/sdk/metric`.
This method is used to check if an `Instrument` instance is a
zero-value. (#5431)
- Store and provide the emitted `context.Context` in `ScopeRecords` of
`go.opentelemetry.io/otel/sdk/log/logtest`. (#5468)
- The `go.opentelemetry.io/otel/semconv/v1.26.0` package.
The package contains semantic conventions from the `v1.26.0` version of
the OpenTelemetry Semantic Conventions. (#5476)
- The `AssertRecordEqual` method to
`go.opentelemetry.io/otel/log/logtest` to allow comparison of two log
records in tests. (#5499)
- The `WithHeaders` option to
`go.opentelemetry.io/otel/exporters/zipkin` to allow configuring custom
http headers while exporting spans. (#5530)

### Changed

- `Tracer.Start` in `go.opentelemetry.io/otel/trace/noop` no longer
allocates a span for empty span context. (#5457)
- Upgrade `go.opentelemetry.io/otel/semconv/v1.25.0` to
`go.opentelemetry.io/otel/semconv/v1.26.0` in
`go.opentelemetry.io/otel/example/otel-collector`. (#5490)
- Upgrade `go.opentelemetry.io/otel/semconv/v1.25.0` to
`go.opentelemetry.io/otel/semconv/v1.26.0` in
`go.opentelemetry.io/otel/example/zipkin`. (#5490)
- Upgrade `go.opentelemetry.io/otel/semconv/v1.25.0` to
`go.opentelemetry.io/otel/semconv/v1.26.0` in
`go.opentelemetry.io/otel/exporters/zipkin`. (#5490)
- The exporter no longer exports the deprecated "otel.library.name" or
"otel.library.version" attributes.
- Upgrade `go.opentelemetry.io/otel/semconv/v1.25.0` to
`go.opentelemetry.io/otel/semconv/v1.26.0` in
`go.opentelemetry.io/otel/sdk/resource`. (#5490)
- Upgrade `go.opentelemetry.io/otel/semconv/v1.25.0` to
`go.opentelemetry.io/otel/semconv/v1.26.0` in
`go.opentelemetry.io/otel/sdk/trace`. (#5490)
- `SimpleProcessor.OnEmit` in `go.opentelemetry.io/otel/sdk/log` no
longer allocates a slice which makes it possible to have a
zero-allocation log processing using `SimpleProcessor`. (#5493)
- Use non-generic functions in the `Start` method of
`"go.opentelemetry.io/otel/sdk/trace".Trace` to reduce memory
allocation. (#5497)
- `service.instance.id` is populated for a `Resource` created with
`"go.opentelemetry.io/otel/sdk/resource".Default` with a default value
when `OTEL_GO_X_RESOURCE` is set. (#5520)
- Improve performance of metric instruments in
`go.opentelemetry.io/otel/sdk/metric` by removing unnecessary calls to
`time.Now`. (#5545)

### Fixed

- Log a warning to the OpenTelemetry internal logger when a `Record` in
`go.opentelemetry.io/otel/sdk/log` drops an attribute due to a limit
being reached. (#5376)
- Identify the `Tracer` returned from the global `TracerProvider` in
`go.opentelemetry.io/otel/global` with its schema URL. (#5426)
- Identify the `Meter` returned from the global `MeterProvider` in
`go.opentelemetry.io/otel/global` with its schema URL. (#5426)
- Log a warning to the OpenTelemetry internal logger when a `Span` in
`go.opentelemetry.io/otel/sdk/trace` drops an attribute, event, or link
due to a limit being reached. (#5434)
- Document instrument name requirements in
`go.opentelemetry.io/otel/metric`. (#5435)
- Prevent random number generation data-race for experimental rand
exemplars in `go.opentelemetry.io/otel/sdk/metric`. (#5456)
- Fix counting number of dropped attributes of `Record` in
`go.opentelemetry.io/otel/sdk/log`. (#5464)
- Fix panic in baggage creation when a member contains `0x80` char in
key or value. (#5494)
- Correct comments for the priority of the `WithEndpoint` and
`WithEndpointURL` options and their corresponding environment variables
in `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc`.
(#5508)
- Retry trace and span ID generation if it generated an invalid one in
`go.opentelemetry.io/otel/sdk/trace`. (#5514)
- Fix stale timestamps reported by the last-value aggregation. (#5517)
- Indicate the `Exporter` in
`go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp` must be
created by the `New` method. (#5521)
- Improved performance in all `{Bool,Int64,Float64,String}SliceValue`
functions of `go.opentelemetry.io/attributes` by reducing the number of
allocations. (#5549)
2024-07-02 13:29:45 -07:00
..
logtest Use reflect to construct a Record in logtest (#5275) 2024-05-06 09:03:14 -07:00
batch_test.go sdk/log: Fix TestBatchProcessor/ForceFlush/ErrorPartialFlush flaky test (#5416) 2024-05-30 07:40:19 -07:00
batch.go chore(deps): update dependency codespell to v2.3.0 (#5409) 2024-05-24 18:09:31 +02:00
bench_test.go sdk/log: Add processor benchmarks (#5448) 2024-06-03 07:14:52 +02:00
DESIGN.md chore(deps): update dependency codespell to v2.3.0 (#5409) 2024-05-24 18:09:31 +02:00
doc.go sdk/log: Scaffolding (#5068) 2024-03-13 17:47:07 +01:00
example_test.go sdk/log: Add filtering Processor example (#5543) 2024-07-01 15:49:12 +02:00
exporter_test.go Fix flaky test TestBufferExporter/Shutdown/ContextCancelled (#5261) 2024-04-25 17:46:39 +02:00
exporter.go chore(deps): update dependency codespell to v2.3.0 (#5409) 2024-05-24 18:09:31 +02:00
go.mod Releases v1.28.0/v0.50.0/v0.4.0 (#5569) 2024-07-02 13:29:45 -07:00
go.sum Populate service.instance.id with a default value when OTEL_GO_X_RESOURCE is set (#5520) 2024-06-24 08:25:49 -07:00
logger_bench_test.go sdk/log: Fix BenchmarkLoggerNewRecord to not drop attributes (#5407) 2024-05-24 08:07:56 +02:00
logger_norace_test.go Replace Record limit methods with DroppedAttributes (#5190) 2024-04-16 11:48:17 -07:00
logger_test.go Replace Record limit methods with DroppedAttributes (#5190) 2024-04-16 11:48:17 -07:00
logger.go sdk/log: ObservedTimestamp should be set (#5091) 2024-03-22 07:39:01 -07:00
processor.go Add the Enabled method to the Logger (#5071) 2024-03-15 08:15:44 -07:00
provider_test.go Add benchmark retrieving a new logger (#5548) 2024-06-27 13:39:58 +02:00
provider.go chore(deps): update dependency codespell to v2.3.0 (#5409) 2024-05-24 18:09:31 +02:00
README.md Add READMEs to every package (#5103) 2024-03-26 20:13:54 +01:00
record_test.go Add walk attributes benchmark (#5547) 2024-06-27 13:29:38 +02:00
record.go sdk/log: Add altering Processor example (#5550) 2024-06-27 11:55:29 +02:00
ring_test.go Add custom ring implementation to the BatchProcessor (#5237) 2024-04-24 12:07:15 +02:00
ring.go Add custom ring implementation to the BatchProcessor (#5237) 2024-04-24 12:07:15 +02:00
setting_test.go Implement the BatchingProcessor configuration (#5088) 2024-03-25 07:50:19 -07:00
setting.go Clamp batch size <= queue size (#5157) 2024-04-05 16:02:32 -07:00
simple_test.go Implement the SimpleProcessor (#5079) 2024-03-17 07:47:05 -07:00
simple.go sdk/log: Remove slice allocation from SimpleProcessor.OnEmit (#5493) 2024-06-11 07:28:56 -07:00

Log SDK

PkgGoDev