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.
Part of #3809
This release is the last to support Go 1.18.
The next release will require at least Go 1.19.
Added
event
type semantic conventions are added togo.opentelemetry.io/otel/semconv/v1.17.0
. (Add semantic conventions of theevent
type #3697)go.opentelemetry.io/otel/semconv/v1.18.0
package.The package contains semantic conventions from the
v1.18.0
version of the OpenTelemetry specification. (Add semconv/v1.18.0 #3719)const
renames fromgo.opentelemetry.io/otel/semconv/v1.17.0
are included:OtelScopeNameKey
->OTelScopeNameKey
OtelScopeVersionKey
->OTelScopeVersionKey
OtelLibraryNameKey
->OTelLibraryNameKey
OtelLibraryVersionKey
->OTelLibraryVersionKey
OtelStatusCodeKey
->OTelStatusCodeKey
OtelStatusDescriptionKey
->OTelStatusDescriptionKey
OtelStatusCodeOk
->OTelStatusCodeOk
OtelStatusCodeError
->OTelStatusCodeError
func
renames fromgo.opentelemetry.io/otel/semconv/v1.17.0
are included:OtelScopeName
->OTelScopeName
OtelScopeVersion
->OTelScopeVersion
OtelLibraryName
->OTelLibraryName
OtelLibraryVersion
->OTelLibraryVersion
OtelStatusDescription
->OTelStatusDescription
IsSampled
method is added to theSpanContext
implementation ingo.opentelemetry.io/otel/bridge/opentracing
to expose the span sampled state.See the README for more information. (Implement IsSampled for OpenTelemetry bridgeSpanContext #3570)
WithInstrumentationAttributes
option togo.opentelemetry.io/otel/metric
. (Accept scope attributes during Meter creation #3738)WithInstrumentationAttributes
option togo.opentelemetry.io/otel/trace
. (Accept scope attributes during Tracer creation #3739)Reader
ingo.opentelemetry.io/otel/sdk/metric
. (Support OTEL_METRIC_EXPORT_INTERVAL and OTEL_METRIC_EXPORT_TIMEOUT #3763)OTEL_METRIC_EXPORT_INTERVAL
sets the time between collections and exports.OTEL_METRIC_EXPORT_TIMEOUT
sets the timeout an export is attempted.Changed
TextMapCarrier
when it's notHttpHeader
s ingo.opentelemetry.io/otel/bridge/opentracing
. ([bridge/ot] Fall-back to TextMap carrier when it's not ot.HttpHeaders #3679)Collect
method of the"go.opentelemetry.io/otel/sdk/metric".Reader
interface is updated to accept themetricdata.ResourceMetrics
value the collection will be made into.This change is made to enable memory reuse by SDK users. (Change the Reader.Collect Signature. #3732)
WithUnit
option ingo.opentelemetry.io/otel/sdk/metric/instrument
is updated to accept astring
for the unit value. (Deprecatemetric/unit
and use astring
for units in the metric API/SDK #3776)Fixed
go.opentelemetry.io/otel
does not use generics. (Theotel
package implicitly requires Go >= 1.18 #3723, Refactor packageinternal/attribute
to not use generics. #3725)MeterProvider
s now export metrics for all readers, instead of just the first reader. (Meter provider don't work with multiple readers #3720, Merge instrument cache to inserter #3724)"math/rand".Seed
ingo.opentelemetry.io/otel/example/prometheus
. (Bump CI default version of Go to 1.20 #3733)Parse
ingo.opentelemetry.io/otel/schema/v1.1
. (Do no silently drop unknown schema data #3743)NewTracerProvider
calls with the same batcher cause data race #3755, Allow using OTLP export retrier concurrently #3756)go.opentelemetry.io/otel/sdk/metric
. (Confusing error messages with metric multierror type if wrapped is unset #3698, Do not wrap error if multierror does not have one. #3772)go.opentelemetry.io/otel/schema/v1.1
. (Fix incorrect "all" and "resource" definition for Schema File #3777)Deprecated
go.opentelemetry.io/otel/metric/unit
package is deprecated.Use the equivalent unit string instead. (Deprecate
metric/unit
and use astring
for units in the metric API/SDK #3776)"1"
instead ofunit.Dimensionless
"By"
instead ofunit.Bytes
"ms"
instead ofunit.Milliseconds