Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.44.0
->v0.50.0
v1.21.0
->v1.28.0
v1.21.0
->v1.28.0
Release Notes
open-telemetry/opentelemetry-go (go.opentelemetry.io/otel/metric)
v1.28.0
: Releases v1.28.0/v0.50.0/v0.4.0Compare Source
Overview
Added
IsEmpty
method is added to theInstrument
type ingo.opentelemetry.io/otel/sdk/metric
.This method is used to check if an
Instrument
instance is a zero-value. (#5431)context.Context
inScopeRecords
ofgo.opentelemetry.io/otel/sdk/log/logtest
. (#5468)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)AssertRecordEqual
method togo.opentelemetry.io/otel/log/logtest
to allow comparison of two log records in tests. (#5499)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)go.opentelemetry.io/otel/semconv/v1.25.0
togo.opentelemetry.io/otel/semconv/v1.26.0
ingo.opentelemetry.io/otel/example/otel-collector
. (#5490)go.opentelemetry.io/otel/semconv/v1.25.0
togo.opentelemetry.io/otel/semconv/v1.26.0
ingo.opentelemetry.io/otel/example/zipkin
. (#5490)go.opentelemetry.io/otel/semconv/v1.25.0
togo.opentelemetry.io/otel/semconv/v1.26.0
ingo.opentelemetry.io/otel/exporters/zipkin
. (#5490)go.opentelemetry.io/otel/semconv/v1.25.0
togo.opentelemetry.io/otel/semconv/v1.26.0
ingo.opentelemetry.io/otel/sdk/resource
. (#5490)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)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)go.opentelemetry.io/otel/sdk/metric
by removing unnecessary calls totime.Now
. (#5545)Fixed
Record
ingo.opentelemetry.io/otel/sdk/log
drops an attribute due to a limit being reached. (#5376)Tracer
returned from the globalTracerProvider
ingo.opentelemetry.io/otel/global
with its schema URL. (#5426)Meter
returned from the globalMeterProvider
ingo.opentelemetry.io/otel/global
with its schema URL. (#5426)Span
ingo.opentelemetry.io/otel/sdk/trace
drops an attribute, event, or link due to a limit being reached. (#5434)go.opentelemetry.io/otel/metric
. (#5435)go.opentelemetry.io/otel/sdk/metric
. (#5456)Record
ingo.opentelemetry.io/otel/sdk/log
. (#5464)0x80
char in key or value. (#5494)WithEndpoint
andWithEndpointURL
options and their corresponding environment variables ingo.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
. (#5508)go.opentelemetry.io/otel/sdk/trace
. (#5514)Exporter
ingo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp
must be created by theNew
method. (#5521){Bool,Int64,Float64,String}SliceValue
functions ofgo.opentelemetry.io/attributes
by reducing the number of allocations. (#5549)What's Changed
dc85e6b
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5391d264139
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5397d264139
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5399otlploghttp
transform maps by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/53787045d2e
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/54064c93da0
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5415a332354
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5424a332354
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5423f10a0f1
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/54305315273
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/54285315273
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5427e229045
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/543223cca88
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5429Tracer
s andMeter
s with their schema URLs by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/542601018ba
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/54388d54ca1
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/54412e977dd
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5442404ba88
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5445MonotonicEndTime
to only use by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5443624dbd0
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5446fd00a4e
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/54502f8e378
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5451cc29c91
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5452log
package to depguard linter by @amanakin in https://github.com/open-telemetry/opentelemetry-go/pull/546358cc8a4
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/54734478db0
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5474Record
by @amanakin in https://github.com/open-telemetry/opentelemetry-go/pull/54642088083
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5477semconv/v1.26.0
, removes deprecated semconvs by @MadVikingGod in https://github.com/open-telemetry/opentelemetry-go/pull/5476ef581f9
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5486ef581f9
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5487fc45aab
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5488a8a6208
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/55017f521ea
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5512a8a6208
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/550268d350f
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/551668d350f
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5515newClient
method for otlploggrpc gRPC client by @XSAM in https://github.com/open-telemetry/opentelemetry-go/pull/5523service.instance.id
with a default value whenOTEL_GO_X_RESOURCE
is set by @pyohannes in https://github.com/open-telemetry/opentelemetry-go/pull/5520dc46fd2
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5538dc46fd2
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5539internal/transform
inotlploggrpc
by @XSAM in https://github.com/open-telemetry/opentelemetry-go/pull/5553f6361c8
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5563f6361c8
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5564New Contributors
Full Changelog: open-telemetry/opentelemetry-go@v1.27.0...v1.28.0
v1.27.0
: /v0.49.0/v0.3.0Compare Source
This release includes the first beta release of the OpenTelemetry Logs Bridge API and SDK for Go.
Overview
Added
go.opentelemetry.io/otel/exporters/stdout/stdoutlog
. (#5242)RecordFactory
ingo.opentelemetry.io/otel/sdk/log/logtest
to facilitate testing exporter and processor implementations. (#5258)RecordFactory
ingo.opentelemetry.io/otel/log/logtest
to facilitate testing bridge implementations. (#5263)BatchProcessor
ingo.opentelemetry.io/otel/sdk/log
is logged. (#5276)otel-collector
example. (#5283)go.opentelemetry.io/otel/metric
. (#5304)int64
orfloat64
synchronous gauge instrument can now be created from aMeter
.go.opentelemetry.io/otel/metric/noop
,go.opentelemetry.io/otel/sdk/metric
) are updated to support this instrument.go.opentelemetry.io/otel/example/dice
. (#5349)Changed
Shutdown
method ofExporter
ingo.opentelemetry.io/otel/exporters/stdout/stdouttrace
ignores the context cancellation and always returnsnil
. (#5189)ForceFlush
andShutdown
methods of the exporter returned byNew
ingo.opentelemetry.io/otel/exporters/stdout/stdoutmetric
ignore the context cancellation and always returnnil
. (#5189)Record
attributes ingo.opentelemetry.io/otel/sdk/log
. (#5230)Record
ingo.opentelemetry.io/otel/sdk/log
. (#5230)go.opentelemetry.io/otel/exporters/stdout/stdoutlog
won't print timestamps whenWithoutTimestamps
option is set. (#5241)go.opentelemetry.io/otel/exporters/stdout/stdoutlog
exporter won't printAttributeValueLengthLimit
andAttributeCountLimit
fields now, instead it prints theDroppedAttributes
field. (#5272)Stringer
implementation ofgo.opentelemetry.io/otel/baggage.Member
by reducing the number of allocations. (#5286)go.opentelemetry.io/otel/sdk/metric
. (#5305)Span
ingo.opentelemetry.io/otel/sdk/trace
will record links without span context if either non-emptyTraceState
or attributes are provided. (#5315)go.opentelemetry.io/otel/semconv/v1.24.0
togo.opentelemetry.io/otel/semconv/v1.25.0
. (#5374)Fixed
go.opentelemetry.io/otel/log.KeyValue
andgo.opentelemetry.io/otel/log.Value
. (#5306)go.opentelemetry.io/otel/log.Value
ingo.opentelemetry.io/otel/exporters/stdout/stdoutlog
. (#5311)Recorder
ingo.opentelemetry.io/otel/log/logtest
so it behaves as aLoggerProvider
only. (#5365)go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp
. (#5371)Logger
returned from the globalLoggerProvider
ingo.opentelemetry.io/otel/log/global
with its schema URL. (#5375)What's Changed
otlploggrpc
exporter skeleton by @XSAM in https://github.com/open-telemetry/opentelemetry-go/pull/5246RecordFactory.Resource
isnil
by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5264DroppedAttributes
field instead ofLimit
s fields by @XSAM in https://github.com/open-telemetry/opentelemetry-go/pull/5272otlploghttp
by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5278logtest
by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5275Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.