Update module go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc to v1.28.0
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc | require | minor |
v1.24.0 -> v1.28.0
|
Release Notes
open-telemetry/opentelemetry-go (go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc)
v1.28.0
: Releases v1.28.0/v0.50.0/v0.4.0
Overview
Added
- The
IsEmpty
method is added to theInstrument
type ingo.opentelemetry.io/otel/sdk/metric
. This method is used to check if anInstrument
instance is a zero-value. (#5431) - Store and provide the emitted
context.Context
inScopeRecords
ofgo.opentelemetry.io/otel/sdk/log/logtest
. (#5468) - The
go.opentelemetry.io/otel/semconv/v1.26.0
package. The package contains semantic conventions from thev1.26.0
version of the OpenTelemetry Semantic Conventions. (#5476) - The
AssertRecordEqual
method togo.opentelemetry.io/otel/log/logtest
to allow comparison of two log records in tests. (#5499) - The
WithHeaders
option togo.opentelemetry.io/otel/exporters/zipkin
to allow configuring custom http headers while exporting spans. (#5530)
Changed
-
Tracer.Start
ingo.opentelemetry.io/otel/trace/noop
no longer allocates a span for empty span context. (#5457) - Upgrade
go.opentelemetry.io/otel/semconv/v1.25.0
togo.opentelemetry.io/otel/semconv/v1.26.0
ingo.opentelemetry.io/otel/example/otel-collector
. (#5490) - Upgrade
go.opentelemetry.io/otel/semconv/v1.25.0
togo.opentelemetry.io/otel/semconv/v1.26.0
ingo.opentelemetry.io/otel/example/zipkin
. (#5490) - Upgrade
go.opentelemetry.io/otel/semconv/v1.25.0
togo.opentelemetry.io/otel/semconv/v1.26.0
ingo.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
togo.opentelemetry.io/otel/semconv/v1.26.0
ingo.opentelemetry.io/otel/sdk/resource
. (#5490) - Upgrade
go.opentelemetry.io/otel/semconv/v1.25.0
togo.opentelemetry.io/otel/semconv/v1.26.0
ingo.opentelemetry.io/otel/sdk/trace
. (#5490) -
SimpleProcessor.OnEmit
ingo.opentelemetry.io/otel/sdk/log
no longer allocates a slice which makes it possible to have a zero-allocation log processing usingSimpleProcessor
. (#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 aResource
created with"go.opentelemetry.io/otel/sdk/resource".Default
with a default value whenOTEL_GO_X_RESOURCE
is set. (#5520) - Improve performance of metric instruments in
go.opentelemetry.io/otel/sdk/metric
by removing unnecessary calls totime.Now
. (#5545)
Fixed
- Log a warning to the OpenTelemetry internal logger when a
Record
ingo.opentelemetry.io/otel/sdk/log
drops an attribute due to a limit being reached. (#5376) - Identify the
Tracer
returned from the globalTracerProvider
ingo.opentelemetry.io/otel/global
with its schema URL. (#5426) - Identify the
Meter
returned from the globalMeterProvider
ingo.opentelemetry.io/otel/global
with its schema URL. (#5426) - Log a warning to the OpenTelemetry internal logger when a
Span
ingo.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
ingo.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
andWithEndpointURL
options and their corresponding environment variables ingo.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
ingo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp
must be created by theNew
method. (#5521) - Improved performance in all
{Bool,Int64,Float64,String}SliceValue
functions ofgo.opentelemetry.io/attributes
by reducing the number of allocations. (#5549)
What's Changed
- Recheck log message in TestBatchProcessor by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5386
- chore(deps): update google.golang.org/genproto/googleapis/rpc digest to
dc85e6b
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5391 - fix(deps): update module go.opentelemetry.io/contrib/bridges/otelslog to v0.2.0 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5395
- fix(deps): update module github.com/go-logr/logr to v1.4.2 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5393
- fix(deps): update module go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp to v0.52.0 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5396
- chore(deps): update google.golang.org/genproto/googleapis/api digest to
d264139
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5397 - fix(deps): update module go.opentelemetry.io/otel/sdk/log to v0.3.0 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5398
- chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.101.0 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5400
- chore(deps): update google.golang.org/genproto/googleapis/rpc digest to
d264139
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5399 - [chore] example/otel-collector: Fix README title by @pellared in https://github.com/open-telemetry/opentelemetry-go/pull/5404
- Pool
otlploghttp
transform maps by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5378 - fix(deps): update module golang.org/x/vuln to v1.1.1 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5405
- Fix test name in otlploghttp by @XSAM in https://github.com/open-telemetry/opentelemetry-go/pull/5411
- sdk/log: Fix BenchmarkLoggerNewRecord to not drop attributes by @pellared in https://github.com/open-telemetry/opentelemetry-go/pull/5407
- chore(deps): update dependency codespell to v2.3.0 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5409
- fix(deps): update module github.com/golangci/golangci-lint to v1.59.0 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5419
- fix(deps): update golang.org/x/tools digest to
7045d2e
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5406 - fix(deps): update golang.org/x/exp digest to
4c93da0
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5415 - Log a warning when log Record attribute is dropped by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5376
- chore(deps): update google.golang.org/genproto/googleapis/rpc digest to
a332354
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5424 - chore(deps): update google.golang.org/genproto/googleapis/api digest to
a332354
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5423 - fix(deps): update golang.org/x/tools digest to
f10a0f1
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5430 - chore(deps): update google.golang.org/genproto/googleapis/rpc digest to
5315273
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5428 - chore(deps): update google.golang.org/genproto/googleapis/api digest to
5315273
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5427 - fix(deps): update golang.org/x/tools digest to
e229045
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5432 - fix(deps): update golang.org/x/exp digest to
23cca88
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5429 - sdk/log: Fix TestBatchProcessor/DroppedLogs flaky test by @amanakin in https://github.com/open-telemetry/opentelemetry-go/pull/5421
- Identify global
Tracer
s andMeter
s with their schema URLs by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5426 - sdk/log: Fix TestBatchProcessor/ForceFlush/ErrorPartialFlush flaky test by @amanakin in https://github.com/open-telemetry/opentelemetry-go/pull/5416
- Export the Instrument IsEmpty method by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5431
- fix(deps): update golang.org/x/tools digest to
01018ba
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5438 - [chore] ensure codecov uses token by @codeboten in https://github.com/open-telemetry/opentelemetry-go/pull/5440
- fix(deps): update golang.org/x/tools digest to
8d54ca1
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5441 - fix(deps): update golang.org/x/tools digest to
2e977dd
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5442 - Remove zeroInstrumentKind by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5433
- Log warning when a trace attribute/event/link is discarded due to limits by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5434
- Remove opentelemetry-proto in .gitsubmodule by @YHM404 in https://github.com/open-telemetry/opentelemetry-go/pull/5267
- Document instrument name requirements by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5435
- fix(deps): update golang.org/x/exp digest to
404ba88
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5445 - Move
MonotonicEndTime
to only use by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5443 - fix(deps): update golang.org/x/tools digest to
624dbd0
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5446 - fix(deps): update golang.org/x/exp digest to
fd00a4e
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5450 - fix(deps): update golang.org/x/tools digest to
2f8e378
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5451 - fix(deps): update golang.org/x/tools digest to
cc29c91
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5452 - chore(deps): update module github.com/prometheus/procfs to v0.15.1 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5453
- sdk/log: Add processor benchmarks by @pellared in https://github.com/open-telemetry/opentelemetry-go/pull/5448
- fix(deps): update module github.com/itchyny/gojq to v0.12.16 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5460
- Guard rng in exemplar rand computation by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5456
- chore(deps): update module github.com/prometheus/common to v0.54.0 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5472
- add
log
package to depguard linter by @amanakin in https://github.com/open-telemetry/opentelemetry-go/pull/5463 - fix(deps): update golang.org/x/tools digest to
58cc8a4
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5473 - fix(deps): update golang.org/x/tools digest to
4478db0
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5474 - sdk/log: Fix counting number of dropped attributes of log
Record
by @amanakin in https://github.com/open-telemetry/opentelemetry-go/pull/5464 - fix(deps): update golang.org/x/tools digest to
2088083
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5477 - trace: Span in noop.Start is no longer allocated by @tttoad in https://github.com/open-telemetry/opentelemetry-go/pull/5457
- chore(deps): update module golang.org/x/sys to v0.21.0 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5481
- fix(deps): update module golang.org/x/tools to v0.22.0 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5485
- Bump min Go version used in CI by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5489
- chore(deps): update module golang.org/x/text to v0.16.0 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5482
- Add
semconv/v1.26.0
, removes deprecated semconvs by @MadVikingGod in https://github.com/open-telemetry/opentelemetry-go/pull/5476 - Add the sdk/internal/x package by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5444
- chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.102.0 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5479
- chore(deps): update module golang.org/x/net to v0.26.0 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5484
- chore(deps): update google.golang.org/genproto/googleapis/api digest to
ef581f9
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5486 - chore(deps): update google.golang.org/genproto/googleapis/rpc digest to
ef581f9
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5487 - fix(deps): update golang.org/x/exp digest to
fc45aab
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5488 - log/logtest: provide record with their context by @dmathieu in https://github.com/open-telemetry/opentelemetry-go/pull/5468
- Upgrade semconv use to v1.26.0 by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5490
- sdk/log: Remove slice allocation from SimpleProcessor.OnEmit by @pellared in https://github.com/open-telemetry/opentelemetry-go/pull/5493
- fix(deps): update module golang.org/x/vuln to v1.1.2 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5496
- fix(deps): update module github.com/golangci/golangci-lint to v1.59.1 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5498
- chore(deps): update google.golang.org/genproto/googleapis/api digest to
a8a6208
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5501 - Introduce logtest.AssertRecordEqual by @dmathieu in https://github.com/open-telemetry/opentelemetry-go/pull/5499
- Add implementation of otlploggrpc configuration by @XSAM in https://github.com/open-telemetry/opentelemetry-go/pull/5383
- fix(deps): update golang.org/x/exp digest to
7f521ea
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5512 - Move evantorrie to emeritus status by @evantorrie in https://github.com/open-telemetry/opentelemetry-go/pull/5507
- Add missing word in WithView() doc string by @juliusv in https://github.com/open-telemetry/opentelemetry-go/pull/5506
- chore(deps): update codecov/codecov-action action to v4.5.0 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5509
- chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.102.1 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5491
- chore(deps): update google.golang.org/genproto/googleapis/rpc digest to
a8a6208
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5502 - fix(deps): update module google.golang.org/protobuf to v1.34.2 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5503
- trace: Use non-generic to replace newEvictedQueue in trace.start to reduce memory usage. by @tttoad in https://github.com/open-telemetry/opentelemetry-go/pull/5497
- chore(deps): update jaegertracing/all-in-one docker tag to v1.58 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5504
- fix(deps): update module go.opentelemetry.io/proto/otlp to v1.3.1 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5505
- fix(baggage): validate chars panic with 0x80 by @fabiobozzo in https://github.com/open-telemetry/opentelemetry-go/pull/5494
- chore(deps): update google.golang.org/genproto/googleapis/rpc digest to
68d350f
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5516 - chore(deps): update google.golang.org/genproto/googleapis/api digest to
68d350f
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5515 - Correct the comment for the priority of options and environments on otlptracegrpc by @XSAM in https://github.com/open-telemetry/opentelemetry-go/pull/5508
- Fix IDGenerator may generate zero TraceId / SpanId by @Charlie-lizhihan in https://github.com/open-telemetry/opentelemetry-go/pull/5514
- Fix timestamp handling for the lastvalue aggregation by @dashpole in https://github.com/open-telemetry/opentelemetry-go/pull/5517
- Add tenv linter by @dmathieu in https://github.com/open-telemetry/opentelemetry-go/pull/5524
- chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.103.0 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5526
- chore(deps): update prom/prometheus docker tag to v2.53.0 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5525
- Do not fail CI on codecov create report by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5532
- Add unconvert linter by @dmathieu in https://github.com/open-telemetry/opentelemetry-go/pull/5529
- Add unparam linter by @dmathieu in https://github.com/open-telemetry/opentelemetry-go/pull/5531
- Add example for synchronous gauge by @bagmeg in https://github.com/open-telemetry/opentelemetry-go/pull/5492
- Add
newClient
method for otlploggrpc gRPC client by @XSAM in https://github.com/open-telemetry/opentelemetry-go/pull/5523 - Verify versions.yaml is up to date in CI by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5533
- Populate
service.instance.id
with a default value whenOTEL_GO_X_RESOURCE
is set by @pyohannes in https://github.com/open-telemetry/opentelemetry-go/pull/5520 - chore(deps): update google.golang.org/genproto/googleapis/api digest to
dc46fd2
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5538 - chore(deps): update google.golang.org/genproto/googleapis/rpc digest to
dc46fd2
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5539 - chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.103.1 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5540
- Decouple codecov upload from coverage testing by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5534
- Add errorlint linter by @dmathieu in https://github.com/open-telemetry/opentelemetry-go/pull/5535
- Add WithHeaders option for Zipkin exporter by @srijan-27 in https://github.com/open-telemetry/opentelemetry-go/pull/5530
- chore(deps): update module github.com/prometheus/common to v0.55.0 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5552
- Indicate the otlploghttp exporter must be created by the New method by @XSAM in https://github.com/open-telemetry/opentelemetry-go/pull/5521
- sdk/log: Add altering Processor example by @pellared in https://github.com/open-telemetry/opentelemetry-go/pull/5550
- Split the set and add attributes benchmarks by @dmathieu in https://github.com/open-telemetry/opentelemetry-go/pull/5546
- Add walk attributes benchmark by @dmathieu in https://github.com/open-telemetry/opentelemetry-go/pull/5547
- Add benchmark retrieving a new logger by @dmathieu in https://github.com/open-telemetry/opentelemetry-go/pull/5548
- chore(deps): update jaegertracing/all-in-one docker tag to v1.54 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5555
- chore(deps): update jaegertracing/all-in-one docker tag to v1.58 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5556
- Reduces allocation in attributes by @Succo in https://github.com/open-telemetry/opentelemetry-go/pull/5549
- Generate
internal/transform
inotlploggrpc
by @XSAM in https://github.com/open-telemetry/opentelemetry-go/pull/5553 - Split the span start/end benchmarks and test start with links and attributes by @dmathieu in https://github.com/open-telemetry/opentelemetry-go/pull/5554
- sdk/log: Fix ExampleProcessor_redact to clone the record by @pellared in https://github.com/open-telemetry/opentelemetry-go/pull/5559
- sdk/log: Add filtering Processor example by @pellared in https://github.com/open-telemetry/opentelemetry-go/pull/5543
- chore(deps): update google.golang.org/genproto/googleapis/api digest to
f6361c8
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5563 - chore(deps): update google.golang.org/genproto/googleapis/rpc digest to
f6361c8
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5564 - Move time.Now call into exemplar reservoir to improve performance by @dashpole in https://github.com/open-telemetry/opentelemetry-go/pull/5545
- chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.104.0 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5565
- Add @XSAM and @dmathieu as repository maintainers by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5558
- Releases v1.28.0/v0.50.0/v0.4.0 by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5569
New Contributors
- @YHM404 made their first contribution in https://github.com/open-telemetry/opentelemetry-go/pull/5267
- @juliusv made their first contribution in https://github.com/open-telemetry/opentelemetry-go/pull/5506
- @fabiobozzo made their first contribution in https://github.com/open-telemetry/opentelemetry-go/pull/5494
- @Charlie-lizhihan made their first contribution in https://github.com/open-telemetry/opentelemetry-go/pull/5514
- @bagmeg made their first contribution in https://github.com/open-telemetry/opentelemetry-go/pull/5492
- @pyohannes made their first contribution in https://github.com/open-telemetry/opentelemetry-go/pull/5520
- @srijan-27 made their first contribution in https://github.com/open-telemetry/opentelemetry-go/pull/5530
- @Succo made their first contribution in https://github.com/open-telemetry/opentelemetry-go/pull/5549
Full Changelog: https://github.com/open-telemetry/opentelemetry-go/compare/v1.27.0...v1.28.0
v1.27.0
: /v0.49.0/v0.3.0
This release includes the first beta release of the OpenTelemetry Logs Bridge API and SDK for Go.
Overview
Added
- Add example for
go.opentelemetry.io/otel/exporters/stdout/stdoutlog
. (#5242) - Add
RecordFactory
ingo.opentelemetry.io/otel/sdk/log/logtest
to facilitate testing exporter and processor implementations. (#5258) - Add
RecordFactory
ingo.opentelemetry.io/otel/log/logtest
to facilitate testing bridge implementations. (#5263) - The count of dropped records from the
BatchProcessor
ingo.opentelemetry.io/otel/sdk/log
is logged. (#5276) - Add metrics in the
otel-collector
example. (#5283) - Add the synchronous gauge instrument to
go.opentelemetry.io/otel/metric
. (#5304)- An
int64
orfloat64
synchronous gauge instrument can now be created from aMeter
. - All implementations of the API (
go.opentelemetry.io/otel/metric/noop
,go.opentelemetry.io/otel/sdk/metric
) are updated to support this instrument.
- An
- Add logs to
go.opentelemetry.io/otel/example/dice
. (#5349)
Changed
- The
Shutdown
method ofExporter
ingo.opentelemetry.io/otel/exporters/stdout/stdouttrace
ignores the context cancellation and always returnsnil
. (#5189) - The
ForceFlush
andShutdown
methods of the exporter returned byNew
ingo.opentelemetry.io/otel/exporters/stdout/stdoutmetric
ignore the context cancellation and always returnnil
. (#5189) - Apply the value length limits to
Record
attributes ingo.opentelemetry.io/otel/sdk/log
. (#5230) - De-duplicate map attributes added to a
Record
ingo.opentelemetry.io/otel/sdk/log
. (#5230) -
go.opentelemetry.io/otel/exporters/stdout/stdoutlog
won't print timestamps whenWithoutTimestamps
option is set. (#5241) - The
go.opentelemetry.io/otel/exporters/stdout/stdoutlog
exporter won't printAttributeValueLengthLimit
andAttributeCountLimit
fields now, instead it prints theDroppedAttributes
field. (#5272) - Improved performance in the
Stringer
implementation ofgo.opentelemetry.io/otel/baggage.Member
by reducing the number of allocations. (#5286) - Set the start time for last-value aggregates in
go.opentelemetry.io/otel/sdk/metric
. (#5305) - The
Span
ingo.opentelemetry.io/otel/sdk/trace
will record links without span context if either non-emptyTraceState
or attributes are provided. (#5315) - Upgrade all dependencies of
go.opentelemetry.io/otel/semconv/v1.24.0
togo.opentelemetry.io/otel/semconv/v1.25.0
. (#5374)
Fixed
- Comparison of unordered maps for
go.opentelemetry.io/otel/log.KeyValue
andgo.opentelemetry.io/otel/log.Value
. (#5306) - Fix the empty output of
go.opentelemetry.io/otel/log.Value
ingo.opentelemetry.io/otel/exporters/stdout/stdoutlog
. (#5311) - Split the behavior of
Recorder
ingo.opentelemetry.io/otel/log/logtest
so it behaves as aLoggerProvider
only. (#5365) - Fix wrong package name of the error message when parsing endpoint URL in
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp
. (#5371) - Identify the
Logger
returned from the globalLoggerProvider
ingo.opentelemetry.io/otel/log/global
with its schema URL. (#5375)
What's Changed
- sdk/log/logtest: Add RecordFactory by @pellared in https://github.com/open-telemetry/opentelemetry-go/pull/5258
- log/logtest: add Record Factory by @dmathieu in https://github.com/open-telemetry/opentelemetry-go/pull/5263
- stdoutlog: Do not print timestamps when WithoutTimestamps is set by @XSAM in https://github.com/open-telemetry/opentelemetry-go/pull/5241
- Add example for stdoutlog by @XSAM in https://github.com/open-telemetry/opentelemetry-go/pull/5242
- Remove context check on stdout exporters by @prasad-shirodkar in https://github.com/open-telemetry/opentelemetry-go/pull/5189
- Fix flaky test TestBufferExporter/Shutdown/ContextCancelled by @XSAM in https://github.com/open-telemetry/opentelemetry-go/pull/5261
- Add
otlploggrpc
exporter skeleton by @XSAM in https://github.com/open-telemetry/opentelemetry-go/pull/5246 - build(deps): bump lycheeverse/lychee-action from 1.9.3 to 1.10.0 by @dependabot in https://github.com/open-telemetry/opentelemetry-go/pull/5266
- chore: fix function names in comment by @dockercui in https://github.com/open-telemetry/opentelemetry-go/pull/5262
- build(deps): bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from 0.50.0 to 0.51.0 in /example/dice by @dependabot in https://github.com/open-telemetry/opentelemetry-go/pull/5265
- docs: update variable name in documentation by @codeboten in https://github.com/open-telemetry/opentelemetry-go/pull/5270
- Use empty resource when
RecordFactory.Resource
isnil
by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5264 - Truncate and de-duplicate log attribute values by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5230
- Add changelog entry for #5230 by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5277
- docs: Add otlploghttp package in exporters README.md by @arukiidou in https://github.com/open-telemetry/opentelemetry-go/pull/5274
- The stdoutlog exporter prints
DroppedAttributes
field instead ofLimit
s fields by @XSAM in https://github.com/open-telemetry/opentelemetry-go/pull/5272 - Test scope and resource transforms in
otlploghttp
by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5278 - Add README template to semconvkit by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5279
- Use docker compose in otel collector example by @XSAM in https://github.com/open-telemetry/opentelemetry-go/pull/5244
- [chore] dependabot updates Sun May 5 15:58:12 UTC 2024 by @opentelemetrybot in https://github.com/open-telemetry/opentelemetry-go/pull/5300
- build(deps): bump codecov/codecov-action from 4.3.0 to 4.3.1 by @dependabot in https://github.com/open-telemetry/opentelemetry-go/pull/5296
- docs: Update Go logs status to alpha in README.md by @arukiidou in https://github.com/open-telemetry/opentelemetry-go/pull/5299
- docs: Add logs exporters in README.md by @arukiidou in https://github.com/open-telemetry/opentelemetry-go/pull/5298
- Use reflect to construct a Record in
logtest
by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5275 - Fix type error in float64 instrument documentation by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5302
- Fix HistogramConfig documentation by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5301
- feat: opt for concatenation instead of using fmt.Sprintf by @moisesvega in https://github.com/open-telemetry/opentelemetry-go/pull/5286
- Emit attributes slices as their json representation by @dmathieu in https://github.com/open-telemetry/opentelemetry-go/pull/5159
- Refactor exemplars to not use generic argument by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5285
- Upgrade default go verison to 1.22.3 by @XSAM in https://github.com/open-telemetry/opentelemetry-go/pull/5314
- Log records dropped by the BatchProcessor by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5276
- Rename synchronous instrument names in global test by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5303
- chore: Configure Renovate by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5309
- chore(deps): update module github.com/golang/groupcache to v0.0.0-20210331224755-41bb18bfe9da by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5320
- chore(deps): update module google.golang.org/genproto/googleapis/api to v0.0.0-20240506185236-b8a5c65736ae by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5321
- chore(deps): update module gopkg.in/check.v1 to v1.0.0-20201130134442-10cb98267c6c by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5326
- chore(deps): update module google.golang.org/genproto/googleapis/rpc to v0.0.0-20240506185236-b8a5c65736ae by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5325
- fix(deps): update module golang.org/x/exp to v0.0.0-20240506185415-9bf2ced13842 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5327
- chore(deps): update module github.com/prometheus/common to v0.53.0 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5332
- chore(deps): update module golang.org/x/net to v0.25.0 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5335
- fix(deps): update module google.golang.org/protobuf to v1.34.1 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5328
- chore(deps): update module github.com/prometheus/procfs to v0.14.0 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5333
- chore(deps): update module github.com/cespare/xxhash/v2 to v2.3.0 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5330
- chore(deps): update module github.com/rogpeppe/go-internal to v1.12.0 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5334
- fix(deps): update module github.com/golangci/golangci-lint to v1.58.1 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5340
- Merge Span.AddLink tests by @perhapsmaple in https://github.com/open-telemetry/opentelemetry-go/pull/5115
- exporters/otlp/otlptrace: fix incorrect documentation by @kevinburkesegment in https://github.com/open-telemetry/opentelemetry-go/pull/5098
- Generate
internal/retry
inotlploggrpc
by @XSAM in https://github.com/open-telemetry/opentelemetry-go/pull/5313 - fix(deps): update module github.com/prometheus/client_golang to v1.19.1 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5341
- chore(deps): update jaegertracing/all-in-one docker tag to v1.57 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5329
- chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.100.0 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5337
- chore(deps): update prom/prometheus docker tag to v2.52.0 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5338
- Move Aneurysm9 to emeritus status by @Aneurysm9 in https://github.com/open-telemetry/opentelemetry-go/pull/5319
- Test metric aggregate times by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5323
- Fix empty log body printed by stdoutlog exporter by @XSAM in https://github.com/open-telemetry/opentelemetry-go/pull/5311
- Record links with empty span context by @amanakin in https://github.com/open-telemetry/opentelemetry-go/pull/5315
- Update
RELEASING.md
to obtain steps to verify the changes for contrib by @XSAM in https://github.com/open-telemetry/opentelemetry-go/pull/5284 - chore(deps): update module google.golang.org/genproto/googleapis/rpc to v0.0.0-20240509183442-62759503f434 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5345
- chore(deps): update module google.golang.org/genproto/googleapis/api to v0.0.0-20240509183442-62759503f434 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5344
- Support Delta & Cumulative temporality for LastValue aggregates by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5305
- sdk/log: Document how Processor and Exporter interfaces can be extended by @pellared in https://github.com/open-telemetry/opentelemetry-go/pull/5347
- Remove dependabot version updates by @XSAM in https://github.com/open-telemetry/opentelemetry-go/pull/5346
- chore(deps): update module google.golang.org/genproto/googleapis/api to v0.0.0-20240513163218-0867130af1f8 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5350
- chore(deps): update module google.golang.org/genproto/googleapis/rpc to v0.0.0-20240513163218-0867130af1f8 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5351
- chore(deps): update module github.com/prometheus/procfs to v0.15.0 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5352
- chore(deps): update codecov/codecov-action action to v4.4.0 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5353
- Add logs to dice example by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5349
- log: Fix comparison of unordered map values by @dmathieu in https://github.com/open-telemetry/opentelemetry-go/pull/5306
- fix(deps): update module google.golang.org/grpc to v1.64.0 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5354
- Fix logger provider var name in dice example by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5358
- chore(deps): update module google.golang.org/genproto/googleapis/rpc to v0.0.0-20240515191416-fc5f0ca64291 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5362
- chore(deps): update module google.golang.org/genproto/googleapis/api to v0.0.0-20240515191416-fc5f0ca64291 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5361
- chore(deps): update module github.com/grpc-ecosystem/grpc-gateway/v2 to v2.20.0 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5363
- [chore] Fix 2 places in log design doc by @yijiem in https://github.com/open-telemetry/opentelemetry-go/pull/5364
- [chore] Fix wrong type in DESIGN.md by @pellared in https://github.com/open-telemetry/opentelemetry-go/pull/5368
- Add the synchronous gauge to the metric API and SDK by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5304
- Collector example: add metrics by @XSAM in https://github.com/open-telemetry/opentelemetry-go/pull/5283
- Fix package prefix of error in otlploghttp by @XSAM in https://github.com/open-telemetry/opentelemetry-go/pull/5371
- Split log/logtest into a recorder and a logger by @dmathieu in https://github.com/open-telemetry/opentelemetry-go/pull/5365
- Identify logger with schemaURL in global logger provider by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5375
- Update all semconv use to v1.25.0 by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5374
- fix(deps): update module github.com/golangci/golangci-lint to v1.58.2 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5382
- chore(deps): update codecov/codecov-action action to v4.4.1 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5387
- chore(deps): update module google.golang.org/genproto/googleapis/api to v0.0.0-20240520151616-dc85e6b867a5 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5388
- chore(deps): update benchmark-action/github-action-benchmark action to v1.20.3 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5381
- Fix exported instrument kind const value change by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5385
- Release v1.27.0/v0.49.0/v0.3.0 by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5392
New Contributors
- @prasad-shirodkar made their first contribution in https://github.com/open-telemetry/opentelemetry-go/pull/5189
- @dockercui made their first contribution in https://github.com/open-telemetry/opentelemetry-go/pull/5262
- @arukiidou made their first contribution in https://github.com/open-telemetry/opentelemetry-go/pull/5274
- @moisesvega made their first contribution in https://github.com/open-telemetry/opentelemetry-go/pull/5286
- @renovate made their first contribution in https://github.com/open-telemetry/opentelemetry-go/pull/5309
- @perhapsmaple made their first contribution in https://github.com/open-telemetry/opentelemetry-go/pull/5115
- @amanakin made their first contribution in https://github.com/open-telemetry/opentelemetry-go/pull/5315
- @yijiem made their first contribution in https://github.com/open-telemetry/opentelemetry-go/pull/5364
Full Changelog: https://github.com/open-telemetry/opentelemetry-go/compare/v1.26.0...v1.27.0
v1.26.0
: /v0.48.0/v0.2.0-alpha
Added
- Add
Recorder
ingo.opentelemetry.io/otel/log/logtest
to facilitate testing the log bridge implementations. (#5134) - Add span flags to OTLP spans and links exported by
go.opentelemetry.io/otel/exporters/otlp/otlptrace
. (#5194) - Make the initial alpha release of
go.opentelemetry.io/otel/sdk/log
. This new module contains the Go implementation of the OpenTelemetry Logs SDK. This module is unstable and breaking changes may be introduced. See our versioning policy for more information about these stability guarantees. (#5240) - Make the initial alpha release of
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp
. This new module contains an OTLP exporter that transmits log telemetry using HTTP. This module is unstable and breaking changes may be introduced. See our versioning policy for more information about these stability guarantees. (#5240) - Make the initial alpha release of
go.opentelemetry.io/otel/exporters/stdout/stdoutlog
. This new module contains an exporter prints log records to STDOUT. This module is unstable and breaking changes may be introduced. See our versioning policy for more information about these stability guarantees. (#5240) - The
go.opentelemetry.io/otel/semconv/v1.25.0
package. The package contains semantic conventions from thev1.25.0
version of the OpenTelemetry Semantic Conventions. (#5254)
Changed
- Update
go.opentelemetry.io/proto/otlp
from v1.1.0 to v1.2.0. (#5177) - Improve performance of baggage member character validation in
go.opentelemetry.io/otel/baggage
. (#5214)
Full Changelog: https://github.com/open-telemetry/opentelemetry-go/compare/v1.25.0...v1.26.0
v1.25.0
: /v0.47.0/v0.0.8/v0.1.0-alpha
Added
- Add
WithProxy
option ingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp
. (#4906) - Add
WithProxy
option ingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlptracehttp
. (#4906) - Add
AddLink
method to theSpan
interface ingo.opentelemetry.io/otel/trace
. (#5032) - The
Enabled
method is added to theLogger
interface ingo.opentelemetry.io/otel/log
. This method is used to notify users if a log record will be emitted or not. (#5071) - Add
SeverityUndefined
const
togo.opentelemetry.io/otel/log
. This value represents an unset severity level. (#5072) - Add
Empty
function ingo.opentelemetry.io/otel/log
to return aKeyValue
for an empty value. (#5076) - Add
go.opentelemetry.io/otel/log/global
to manage the globalLoggerProvider
. This package is provided with the anticipation that all functionality will be migrate togo.opentelemetry.io/otel
whengo.opentelemetry.io/otel/log
stabilizes. At which point, users will be required to migrage their code, and this package will be deprecated then removed. (#5085) - Add support for
Summary
metrics in thego.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp
andgo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc
exporters. (#5100) - Add
otel.scope.name
andotel.scope.version
tags to spans exported bygo.opentelemetry.io/otel/exporters/zipkin
. (#5108) - Add support for
AddLink
togo.opentelemetry.io/otel/bridge/opencensus
. (#5116) - Add
String
method toValue
andKeyValue
ingo.opentelemetry.io/otel/log
. (#5117) - Add Exemplar support to
go.opentelemetry.io/otel/exporters/prometheus
. (#5111) - Add metric semantic conventions to
go.opentelemetry.io/otel/semconv/v1.24.0
. Futuresemconv
packages will include metric semantic conventions as well. (#4528)
Changed
-
SpanFromContext
andSpanContextFromContext
ingo.opentelemetry.io/otel/trace
no longer make a heap allocation when the passed context has no span. (#5049) -
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
andgo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc
now create a gRPC client in idle mode and with "dns" as the default resolver usinggrpc.NewClient
. (#5151) Because of thatWithDialOption
ignoresgrpc.WithBlock
,grpc.WithTimeout
, andgrpc.WithReturnConnectionError
. Notice thatgrpc.DialContext
which was used before is now deprecated.
Fixed
- Clarify the documentation about equivalence guarantees for the
Set
andDistinct
types ingo.opentelemetry.io/otel/attribute
. (#5027) - Prevent default
ErrorHandler
self-delegation. (#5137) - Update all dependencies to address GO-2024-2687. (#5139)
Removed
Deprecated
- Deprecate
go.opentelemetry.io/otel/attribute.Sortable
type. (#4734) - Deprecate
go.opentelemetry.io/otel/attribute.NewSetWithSortable
function. (#4734) - Deprecate
go.opentelemetry.io/otel/attribute.NewSetWithSortableFiltered
function. (#4734)
New Contributors
- @tgolang made their first contribution in https://github.com/open-telemetry/opentelemetry-go/pull/5048
- @MickaelAlliel made their first contribution in https://github.com/open-telemetry/opentelemetry-go/pull/4906
- @s4s7 made their first contribution in https://github.com/open-telemetry/opentelemetry-go/pull/5096
- @Kielek made their first contribution in https://github.com/open-telemetry/opentelemetry-go/pull/5108
- @q-cheng made their first contribution in https://github.com/open-telemetry/opentelemetry-go/pull/5032
- @carrbs made their first contribution in https://github.com/open-telemetry/opentelemetry-go/pull/4880
Full Changelog: https://github.com/open-telemetry/opentelemetry-go/compare/v1.24.0...v1.25.0
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.