Upgrading go.opentelemetry.io/otel 0.10 to 0.11
Unknownv0.10.0 → v0.11.0
Fetching 1 release from GitHub…0 / 1
UnknownUpgrade verdict
DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.
In plain terms
- DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
- This page updates as the notes come in.
Must act Still reading release notes
DepDelta is still reading the release notes in this range. This updates as they come in.
API changes
Generated by DepDelta from published Go source. Not mixed with prose notes.
- added:
method ErrorHandler.Handle(error) - added:
type ErrorHandler: interface
- added:
func NewHarness(*testing.T) *Harness - added:
method Harness.TestTracer(func() trace.Tracer) - added:
type Harness: struct
- changed:
field MapUpdate.DropMultiK: []kv.Key → field MapUpdate.DropMultiK: []label.Key - changed:
field MapUpdate.DropSingleK: kv.Key → field MapUpdate.DropSingleK: label.Key - changed:
field MapUpdate.MultiKV: []kv.KeyValue → field MapUpdate.MultiKV: []label.KeyValue - changed:
field MapUpdate.SingleKV: kv.KeyValue → field MapUpdate.SingleKV: label.KeyValue - changed:
func NewContext(context.Context, ...kv.KeyValue) context.Context → func NewContext(context.Context, ...label.KeyValue) context.Context - changed:
method Map.Foreach(func(kv kv.KeyValue) bool) → method Map.Foreach(func(label.KeyValue) bool) - changed:
method Map.HasValue(kv.Key) bool → method Map.HasValue(label.Key) bool - changed:
method Map.Value(kv.Key) (kv.Value, bool) → method Map.Value(label.Key) (label.Value, bool)
- removed:
func Handler() oterror.Handler - removed:
func SetHandler(oterror.Handler) - added:
func ErrorHandler() otel.ErrorHandler - added:
func SetErrorHandler(otel.ErrorHandler)
- removed:
const ARRAY: Type - removed:
const BOOL: Type - removed:
const FLOAT32: Type - removed:
const FLOAT64: Type - removed:
const INT32: Type - removed:
const INT64: Type - removed:
const INVALID: Type - removed:
const STRING: Type - removed:
const UINT32: Type - removed:
const UINT64: Type - removed:
field KeyValue.Key: Key - removed:
field KeyValue.Value: Value - removed:
func Any(string, interface{}) KeyValue - removed:
func Array(string, interface{}) KeyValue - removed:
func ArrayValue(interface{}) Value - removed:
func Bool(string, bool) KeyValue - removed:
func BoolValue(bool) Value - removed:
func Float32(string, float32) KeyValue - removed:
func Float32Value(float32) Value - removed:
func Float64(string, float64) KeyValue - removed:
func Float64Value(float64) Value - removed:
func Int(string, int) KeyValue - removed:
func Int32(string, int32) KeyValue - removed:
func Int32Value(int32) Value - removed:
func Int64(string, int64) KeyValue - removed:
func Int64Value(int64) Value - removed:
func IntValue(int) Value - removed:
func String(string, string) KeyValue - removed:
func StringValue(string) Value - removed:
func Stringer(string, fmt.Stringer) KeyValue - removed:
func Uint(string, uint) KeyValue - removed:
func Uint32(string, uint32) KeyValue - removed:
func Uint32Value(uint32) Value - removed:
func Uint64(string, uint64) KeyValue - removed:
func Uint64Value(uint64) Value - removed:
func UintValue(uint) Value - removed:
method Key.Array(interface{}) KeyValue - removed:
method Key.Bool(bool) KeyValue - removed:
method Key.Defined() bool - removed:
method Key.Float32(float32) KeyValue - removed:
method Key.Float64(float64) KeyValue - removed:
method Key.Int(int) KeyValue - removed:
method Key.Int32(int32) KeyValue - removed:
method Key.Int64(int64) KeyValue - removed:
method Key.String(string) KeyValue - removed:
method Key.Uint(uint) KeyValue - removed:
method Key.Uint32(uint32) KeyValue - removed:
method Key.Uint64(uint64) KeyValue - removed:
method Type.String() string - removed:
method Value.AsArray() interface - removed:
method Value.AsBool() bool - removed:
method Value.AsFloat32() float32 - removed:
method Value.AsFloat64() float64 - removed:
method Value.AsInt32() int32 - removed:
method Value.AsInt64() int64 - removed:
method Value.AsInterface() interface - removed:
method Value.AsString() string - removed:
method Value.AsUint32() uint32 - removed:
method Value.AsUint64() uint64 - removed:
method Value.Emit() string - removed:
method Value.MarshalJSON() ([]byte, error) - removed:
method Value.Type() Type - removed:
type Key: string - removed:
type KeyValue: struct - removed:
type Type: int - removed:
type Value: struct
- removed:
func DefaultEncoder() Encoder - removed:
func EmptySet() *Set - removed:
func NewEncoderID() EncoderID - removed:
func NewMergeIterator(*Set, *Set) MergeItererator - removed:
func NewSet(...kv.KeyValue) Set - removed:
func NewSetWithSortable([]kv.KeyValue, *Sortable) Set - removed:
method Distinct.Valid() bool - removed:
method Encoder.Encode(Iterator) string - removed:
method Encoder.ID() EncoderID - removed:
method EncoderID.Valid() bool - removed:
method Iterator.Attribute() kv.KeyValue - removed:
method Iterator.IndexedLabel() (int, kv.KeyValue) - removed:
method Iterator.Label() kv.KeyValue - removed:
method Iterator.Len() int - removed:
method Iterator.Next() bool - removed:
method Iterator.ToSlice() []kv.KeyValue - removed:
method MergeItererator.Label() kv.KeyValue - removed:
method MergeItererator.Next() bool - removed:
method Set.Encoded(Encoder) string - removed:
method Set.Equals(*Set) bool - removed:
method Set.Equivalent() Distinct - removed:
method Set.Get(int) (kv.KeyValue, bool) - removed:
method Set.HasValue(kv.Key) bool - removed:
method Set.Iter() Iterator - removed:
method Set.Len() int - removed:
method Set.MarshalJSON() ([]byte, error) - removed:
method Set.ToSlice() []kv.KeyValue - removed:
method Set.Value(kv.Key) (kv.Value, bool) - removed:
method Sortable.Len() int - removed:
method Sortable.Less(int, int) bool - removed:
method Sortable.Swap(int, int) - removed:
type Distinct: struct - removed:
type Encoder: interface - removed:
type EncoderID: struct - removed:
type Iterator: struct - removed:
type MergeItererator: struct - removed:
type Set: struct - removed:
type Sortable: []kv.KeyValue
- removed:
method BatchObserverCallback.AnyRunner() - removed:
method BatchObserverCallback.Run(context.Context, func([]kv.KeyValue, ...Observation)) - removed:
method Float64ObserverCallback.AnyRunner() - removed:
method Float64ObserverCallback.Run(context.Context, AsyncImpl, func([]kv.KeyValue, ...Observation)) - removed:
method Int64ObserverCallback.AnyRunner() - removed:
method Int64ObserverCallback.Run(context.Context, AsyncImpl, func([]kv.KeyValue, ...Observation)) - removed:
type BatchObserverCallback: func(context.Context, BatchObserverResult) - removed:
type Float64ObserverCallback: func(context.Context, Float64ObserverResult) - removed:
type Int64ObserverCallback: func(context.Context, Int64ObserverResult) - changed:
method AsyncBatchRunner.Run(context.Context, func([]kv.KeyValue, ...Observation)) → method AsyncBatchRunner.Run(context.Context, func([]label.KeyValue, ...Observation)) - changed:
method AsyncSingleRunner.Run(context.Context, AsyncImpl, func([]kv.KeyValue, ...Observation)) → method AsyncSingleRunner.Run(context.Context, AsyncImpl, func([]label.KeyValue, ...Observation)) - changed:
method BatchObserverResult.Observe([]kv.KeyValue, ...Observation) → method BatchObserverResult.Observe([]label.KeyValue, ...Observation) - changed:
method Float64Counter.Add(context.Context, float64, ...kv.KeyValue) → method Float64Counter.Add(context.Context, float64, ...label.KeyValue) - changed:
method Float64Counter.Bind(...kv.KeyValue) (BoundFloat64Counter) → method Float64Counter.Bind(...label.KeyValue) (BoundFloat64Counter) - changed:
method Float64ObserverResult.Observe(float64, ...kv.KeyValue) → method Float64ObserverResult.Observe(float64, ...label.KeyValue) - changed:
method Float64UpDownCounter.Add(context.Context, float64, ...kv.KeyValue) → method Float64UpDownCounter.Add(context.Context, float64, ...label.KeyValue) - changed:
method Float64UpDownCounter.Bind(...kv.KeyValue) (BoundFloat64UpDownCounter) → method Float64UpDownCounter.Bind(...label.KeyValue) (BoundFloat64UpDownCounter) - changed:
method Float64ValueRecorder.Bind(...kv.KeyValue) (BoundFloat64ValueRecorder) → method Float64ValueRecorder.Bind(...label.KeyValue) (BoundFloat64ValueRecorder) - changed:
method Float64ValueRecorder.Record(context.Context, float64, ...kv.KeyValue) → method Float64ValueRecorder.Record(context.Context, float64, ...label.KeyValue) - changed:
method Int64Counter.Add(context.Context, int64, ...kv.KeyValue) → method Int64Counter.Add(context.Context, int64, ...label.KeyValue) - changed:
method Int64Counter.Bind(...kv.KeyValue) (BoundInt64Counter) → method Int64Counter.Bind(...label.KeyValue) (BoundInt64Counter) - changed:
method Int64ObserverResult.Observe(int64, ...kv.KeyValue) → method Int64ObserverResult.Observe(int64, ...label.KeyValue) - changed:
method Int64UpDownCounter.Add(context.Context, int64, ...kv.KeyValue) → method Int64UpDownCounter.Add(context.Context, int64, ...label.KeyValue) - changed:
method Int64UpDownCounter.Bind(...kv.KeyValue) (BoundInt64UpDownCounter) → method Int64UpDownCounter.Bind(...label.KeyValue) (BoundInt64UpDownCounter) - changed:
method Int64ValueRecorder.Bind(...kv.KeyValue) (BoundInt64ValueRecorder) → method Int64ValueRecorder.Bind(...label.KeyValue) (BoundInt64ValueRecorder) - changed:
method Int64ValueRecorder.Record(context.Context, int64, ...kv.KeyValue) → method Int64ValueRecorder.Record(context.Context, int64, ...label.KeyValue) - changed:
method Meter.NewBatchObserver(BatchObserverCallback) BatchObserver → method Meter.NewBatchObserver(BatchObserverFunc) BatchObserver - changed:
method Meter.NewFloat64SumObserver(string, Float64ObserverCallback, ...InstrumentOption) (Float64SumObserver, error) → method Meter.NewFloat64SumObserver(string, Float64ObserverFunc, ...InstrumentOption) (Float64SumObserver, error) - changed:
method Meter.NewFloat64UpDownSumObserver(string, Float64ObserverCallback, ...InstrumentOption) (Float64UpDownSumObserver, error) → method Meter.NewFloat64UpDownSumObserver(string, Float64ObserverFunc, ...InstrumentOption) (Float64UpDownSumObserver, error) - changed:
method Meter.NewFloat64ValueObserver(string, Float64ObserverCallback, ...InstrumentOption) (Float64ValueObserver, error) → method Meter.NewFloat64ValueObserver(string, Float64ObserverFunc, ...InstrumentOption) (Float64ValueObserver, error) - changed:
method Meter.NewInt64SumObserver(string, Int64ObserverCallback, ...InstrumentOption) (Int64SumObserver, error) → method Meter.NewInt64SumObserver(string, Int64ObserverFunc, ...InstrumentOption) (Int64SumObserver, error) - changed:
method Meter.NewInt64UpDownSumObserver(string, Int64ObserverCallback, ...InstrumentOption) (Int64UpDownSumObserver, error) → method Meter.NewInt64UpDownSumObserver(string, Int64ObserverFunc, ...InstrumentOption) (Int64UpDownSumObserver, error) - changed:
method Meter.NewInt64ValueObserver(string, Int64ObserverCallback, ...InstrumentOption) (Int64ValueObserver, error) → method Meter.NewInt64ValueObserver(string, Int64ObserverFunc, ...InstrumentOption) (Int64ValueObserver, error) - changed:
method Meter.RecordBatch(context.Context, []kv.KeyValue, ...Measurement) → method Meter.RecordBatch(context.Context, []label.KeyValue, ...Measurement) - changed:
method MeterImpl.RecordBatch(context.Context, []kv.KeyValue, ...Measurement) → method MeterImpl.RecordBatch(context.Context, []label.KeyValue, ...Measurement) - changed:
method MeterMust.NewBatchObserver(BatchObserverCallback) BatchObserverMust → method MeterMust.NewBatchObserver(BatchObserverFunc) BatchObserverMust - changed:
method MeterMust.NewFloat64SumObserver(string, Float64ObserverCallback, ...InstrumentOption) Float64SumObserver → method MeterMust.NewFloat64SumObserver(string, Float64ObserverFunc, ...InstrumentOption) Float64SumObserver - changed:
method MeterMust.NewFloat64UpDownSumObserver(string, Float64ObserverCallback, ...InstrumentOption) Float64UpDownSumObserver → method MeterMust.NewFloat64UpDownSumObserver(string, Float64ObserverFunc, ...InstrumentOption) Float64UpDownSumObserver - changed:
method MeterMust.NewFloat64ValueObserver(string, Float64ObserverCallback, ...InstrumentOption) Float64ValueObserver → method MeterMust.NewFloat64ValueObserver(string, Float64ObserverFunc, ...InstrumentOption) Float64ValueObserver - changed:
method MeterMust.NewInt64SumObserver(string, Int64ObserverCallback, ...InstrumentOption) Int64SumObserver → method MeterMust.NewInt64SumObserver(string, Int64ObserverFunc, ...InstrumentOption) Int64SumObserver - changed:
method MeterMust.NewInt64UpDownSumObserver(string, Int64ObserverCallback, ...InstrumentOption) Int64UpDownSumObserver → method MeterMust.NewInt64UpDownSumObserver(string, Int64ObserverFunc, ...InstrumentOption) Int64UpDownSumObserver - changed:
method MeterMust.NewInt64ValueObserver(string, Int64ObserverCallback, ...InstrumentOption) Int64ValueObserver → method MeterMust.NewInt64ValueObserver(string, Int64ObserverFunc, ...InstrumentOption) Int64ValueObserver - changed:
method NoopSync.Bind([]kv.KeyValue) BoundSyncImpl → method NoopSync.Bind([]label.KeyValue) BoundSyncImpl - changed:
method NoopSync.RecordOne(context.Context, Number, []kv.KeyValue) → method NoopSync.RecordOne(context.Context, Number, []label.KeyValue) - changed:
method SyncImpl.Bind([]kv.KeyValue) BoundSyncImpl → method SyncImpl.Bind([]label.KeyValue) BoundSyncImpl - changed:
method SyncImpl.RecordOne(context.Context, Number, []kv.KeyValue) → method SyncImpl.RecordOne(context.Context, Number, []label.KeyValue) - added:
method BatchObserverFunc.AnyRunner() - added:
method BatchObserverFunc.Run(context.Context, func([]label.KeyValue, ...Observation)) - added:
method Float64ObserverFunc.AnyRunner() - added:
method Float64ObserverFunc.Run(context.Context, AsyncImpl, func([]label.KeyValue, ...Observation)) - added:
method Int64ObserverFunc.AnyRunner() - added:
method Int64ObserverFunc.Run(context.Context, AsyncImpl, func([]label.KeyValue, ...Observation)) - added:
type BatchObserverFunc: func(context.Context, BatchObserverResult) - added:
type Float64ObserverFunc: func(context.Context, Float64ObserverResult) - added:
type Int64ObserverFunc: func(context.Context, Int64ObserverResult) - added:
var ErrSDKReturnedNilImpl
- removed:
method Handler.Handle(error) - removed:
type Handler: interface - removed:
var ErrSDKReturnedNilImpl
- removed:
const CloudAccountIDKey - removed:
const CloudProviderKey - removed:
const CloudRegionKey - removed:
const CloudZoneKey - removed:
const ContainerIDKey - removed:
const ContainerImageNameKey - removed:
const ContainerImageTagKey - removed:
const ContainerNameKey - removed:
const DBCassandraKeyspaceKey - removed:
const DBConnectionStringKey - removed:
const DBHBaseNamespaceKey - removed:
const DBMongoDBCollectionKey - removed:
const DBNameKey - removed:
const DBOperationKey - removed:
const DBRedisDBIndexKey - removed:
const DBStatementKey - removed:
const DBSystemKey - removed:
const DBUserKey - removed:
const EnduserIDKey - removed:
const EnduserRoleKey - removed:
const EnduserScopeKey - removed:
const FaaSColdstartKey - removed:
const FaaSCronKey - removed:
const FaaSDocumentCollectionKey - removed:
const FaaSDocumentNameKey - removed:
const FaaSDocumentOperationKey - removed:
const FaaSDocumentTimeKey - removed:
const FaaSExecutionKey - removed:
const FaaSIDKey - removed:
const FaaSInstanceKey - removed:
const FaaSNameKey - removed:
const FaaSTimeKey - removed:
const FaaSTriggerKey - removed:
const FaaSVersionKey - removed:
const HTTPClientIPKey - removed:
const HTTPFlavorKey - removed:
const HTTPHostKey - removed:
const HTTPMethodKey - removed:
const HTTPRequestContentLengthKey - removed:
const HTTPRequestContentLengthUncompressedKey - removed:
const HTTPResponseContentLengthKey - removed:
const HTTPResponseContentLengthUncompressedKey - removed:
const HTTPRouteKey - removed:
const HTTPSchemeKey - removed:
const HTTPServerNameKey - removed:
const HTTPStatusCodeKey - removed:
const HTTPStatusTextKey - removed:
const HTTPTargetKey - removed:
const HTTPUrlKey - removed:
const HTTPUserAgentKey - removed:
const HostHostNameKey - removed:
const HostIDKey - removed:
const HostImageIDKey - removed:
const HostImageNameKey - removed:
const HostImageVersionKey - removed:
const HostNameKey - removed:
const HostTypeKey - removed:
const K8SClusterNameKey - removed:
const K8SDeploymentNameKey - removed:
const K8SNamespaceNameKey - removed:
const K8SPodNameKey - removed:
const MessagingConversationIDKey - removed:
const MessagingDestinationKey - removed:
const MessagingDestinationKindKey - removed:
const MessagingMessageIDKey - removed:
const MessagingMessagePayloadCompressedSizeBytesKey - removed:
const MessagingMessagePayloadSizeBytesKey - removed:
const MessagingOperationKey - removed:
const MessagingProtocolKey - removed:
const MessagingProtocolVersionKey - removed:
const MessagingRabbitMQRoutingKeyKey - removed:
const MessagingSystemKey - removed:
const MessagingTempDestinationKey - removed:
const MessagingURLKey - removed:
const NetHostIPKey - removed:
const NetHostNameKey - removed:
const NetHostPortKey - removed:
const NetPeerIPKey - removed:
const NetPeerNameKey - removed:
const NetPeerPortKey - removed:
const NetTransportKey - removed:
const PeerServiceKey - removed:
const ProcessCommandKey - removed:
const ProcessCommandLineKey - removed:
const ProcessExecutableNameKey - removed:
const ProcessExecutablePathKey - removed:
const ProcessOwnerKey - removed:
const ProcessPIDKey - removed:
const RPCMessageCompressedSizeKey - removed:
const RPCMessageIDKey - removed:
const RPCMessageTypeKey - removed:
const RPCMessageUncompressedSizeKey - removed:
const RPCMethodKey - removed:
const RPCNameKey - removed:
const RPCServiceKey - removed:
const RPCSystemKey - removed:
const ServiceInstanceIDKey - removed:
const ServiceNameKey - removed:
const ServiceNamespaceKey - removed:
const ServiceVersionKey - removed:
const TelemetrySDKLanguageKey - removed:
const TelemetrySDKNameKey - removed:
const TelemetrySDKVersionKey - removed:
func EndUserAttributesFromHTTPRequest(*http.Request) []kv.KeyValue - removed:
func HTTPAttributesFromHTTPStatusCode(int) []kv.KeyValue - removed:
func HTTPClientAttributesFromHTTPRequest(*http.Request) []kv.KeyValue - removed:
func HTTPServerAttributesFromHTTPRequest(string, string, *http.Request) []kv.KeyValue - removed:
func HTTPServerMetricAttributesFromHTTPRequest(string, *http.Request) []kv.KeyValue - removed:
func NetAttributesFromHTTPRequest(string, *http.Request) []kv.KeyValue - removed:
func SpanStatusFromHTTPStatusCode(int) (codes.Code, string) - removed:
var CloudProviderAWS - removed:
var CloudProviderAzure - removed:
var CloudProviderGCP - removed:
var DBSystemCassandra - removed:
var DBSystemCosmosDB - removed:
var DBSystemCouchDB - removed:
var DBSystemCouchbase - removed:
var DBSystemDB2 - removed:
var DBSystemDerby - removed:
var DBSystemDynamoDB - removed:
var DBSystemHBase - removed:
var DBSystemHive - removed:
var DBSystemMSSql - removed:
var DBSystemMariaDB - removed:
var DBSystemMongodb - removed:
var DBSystemMySQL - removed:
var DBSystemNeo4j - removed:
var DBSystemOracle - removed:
var DBSystemOtherSQL - removed:
var DBSystemPostgres - removed:
var DBSystemRedis - removed:
var DBSystemSqlite - removed:
var DBSystemTeradata - removed:
var FaaSDocumentOperationDelete - removed:
var FaaSDocumentOperationEdit - removed:
var FaaSDocumentOperationInsert - removed:
var FaasTriggerDatasource - removed:
var FaasTriggerHTTP - removed:
var FaasTriggerOther - removed:
var FaasTriggerPubSub - removed:
var FaasTriggerTimer - removed:
var HTTPFlavor1_0 - removed:
var HTTPFlavor1_1 - removed:
var HTTPFlavor2 - removed:
var HTTPFlavorQUIC - removed:
var HTTPFlavorSPDY - removed:
var HTTPSchemeHTTP - removed:
var HTTPSchemeHTTPS - removed:
var MessagingDestinationKindKeyQueue - removed:
var MessagingDestinationKindKeyTopic - removed:
var MessagingOperationProcess - removed:
var MessagingOperationReceive - removed:
var MessagingTempDestination - removed:
var NetTransportIP - removed:
var NetTransportInProc - removed:
var NetTransportOther - removed:
var NetTransportPipe - removed:
var NetTransportTCP - removed:
var NetTransportUDP - removed:
var NetTransportUnix - removed:
var RPCMessageTypeReceived - removed:
var RPCMessageTypeSent - removed:
var RPCNameMessage - removed:
var RPCSystemGRPC - removed:
var TelemetrySDKLanguageGo
- removed:
func NewHarness(*testing.T) *Harness - removed:
method Harness.TestTracer(func() trace.Tracer) - removed:
type Harness: struct
- removed:
field Decision.Attributes: []kv.KeyValue - removed:
field Decision.Sampled: bool - removed:
func AlwaysOffSampler() Sampler - removed:
func AlwaysOnSampler() Sampler - removed:
method NoopTracer.WithSpan(context.Context, string, func(context.Context) error, ...StartOption) error - removed:
method Sampler.Description() string - removed:
method Sampler.ShouldSample(SpanContext, bool, ID, string, SpanKind, []kv.KeyValue, []Link) Decision - removed:
method Tracer.WithSpan(context.Context, string, func(ctx context.Context) error, ...StartOption) error - removed:
type Decision: struct - removed:
type Sampler: interface - changed:
field Link.Attributes: []kv.KeyValue → field Link.Attributes: []label.KeyValue - changed:
field StartConfig.Attributes: []kv.KeyValue → field StartConfig.Attributes: []label.KeyValue - changed:
func LinkedTo(SpanContext, ...kv.KeyValue) StartOption → func LinkedTo(SpanContext, ...label.KeyValue) StartOption - changed:
func WithAttributes(...kv.KeyValue) StartOption → func WithAttributes(...label.KeyValue) StartOption - changed:
method NoopSpan.AddEvent(context.Context, string, ...kv.KeyValue) → method NoopSpan.AddEvent(context.Context, string, ...label.KeyValue) - changed:
method NoopSpan.AddEventWithTimestamp(context.Context, time.Time, string, ...kv.KeyValue) → method NoopSpan.AddEventWithTimestamp(context.Context, time.Time, string, ...label.KeyValue) - changed:
method NoopSpan.SetAttributes(...kv.KeyValue) → method NoopSpan.SetAttributes(...label.KeyValue) - changed:
method Span.AddEvent(context.Context, string, ...kv.KeyValue) → method Span.AddEvent(context.Context, string, ...label.KeyValue) - changed:
method Span.AddEventWithTimestamp(context.Context, time.Time, string, ...kv.KeyValue) → method Span.AddEventWithTimestamp(context.Context, time.Time, string, ...label.KeyValue) - changed:
method Span.SetAttributes(...kv.KeyValue) → method Span.SetAttributes(...label.KeyValue)
- removed:
field Event.Attributes: map[kv.Key]kv.Value - removed:
field Event.Name: string - removed:
field Event.Timestamp: time.Time - removed:
field Tracer.Name: string - removed:
field Tracer.Version: string - removed:
func NewProvider(...Option) *Provider - removed:
func WithSpanContextFunc(func(context.Context) trace.SpanContext) Option - removed:
func WithSpanRecorder(SpanRecorder) Option - removed:
method Option.Apply(*config) - removed:
method Provider.Tracer(string, ...trace.TracerOption) trace.Tracer - removed:
method Span.AddEvent(context.Context, string, ...kv.KeyValue) - removed:
method Span.AddEventWithTimestamp(context.Context, time.Time, string, ...kv.KeyValue) - removed:
method Span.Attributes() map[kv.Key]kv.Value - removed:
method Span.End(...trace.EndOption) - removed:
method Span.EndTime() (time.Time, bool) - removed:
method Span.Ended() bool - removed:
method Span.Events() []Event - removed:
method Span.IsRecording() bool - removed:
method Span.Links() map[trace.SpanContext][]kv.KeyValue - removed:
method Span.Name() string - removed:
method Span.ParentSpanID() trace.SpanID - removed:
method Span.RecordError(context.Context, error, ...trace.ErrorOption) - removed:
method Span.SetAttribute(string, interface{}) - removed:
method Span.SetAttributes(...kv.KeyValue) - removed:
method Span.SetName(string) - removed:
method Span.SetStatus(codes.Code, string) - removed:
method Span.SpanContext() trace.SpanContext - removed:
method Span.SpanKind() trace.SpanKind - removed:
method Span.StartTime() time.Time - removed:
method Span.StatusCode() codes.Code - removed:
method Span.StatusMessage() string - removed:
method Span.Tracer() trace.Tracer - removed:
method SpanRecorder.OnEnd(*Span) - removed:
method SpanRecorder.OnStart(*Span) - removed:
method StandardSpanRecorder.Completed() []*Span - removed:
method StandardSpanRecorder.OnEnd(*Span) - removed:
method StandardSpanRecorder.OnStart(*Span) - removed:
method StandardSpanRecorder.Started() []*Span - removed:
method Tracer.Start(context.Context, string, ...trace.StartOption) (context.Context, trace.Span) - removed:
method Tracer.WithSpan(context.Context, string, func(ctx context.Context) error, ...trace.StartOption) error - removed:
type Event: struct - removed:
type Option: interface - removed:
type Provider: struct - removed:
type Span: struct - removed:
type SpanRecorder: interface - removed:
type StandardSpanRecorder: struct - removed:
type Tracer: struct
- added:
field Event.Attributes: map[label.Key]label.Value - added:
field Event.Name: string - added:
field Event.Timestamp: time.Time - added:
field Tracer.Name: string - added:
field Tracer.Version: string - added:
func NewProvider(...Option) *Provider - added:
func WithSpanContextFunc(func(context.Context) trace.SpanContext) Option - added:
func WithSpanRecorder(SpanRecorder) Option - added:
method Option.Apply(*config) - added:
method Provider.Tracer(string, ...trace.TracerOption) trace.Tracer - added:
method Span.AddEvent(context.Context, string, ...label.KeyValue) - added:
method Span.AddEventWithTimestamp(context.Context, time.Time, string, ...label.KeyValue) - added:
method Span.Attributes() map[label.Key]label.Value - added:
method Span.End(...trace.EndOption) - added:
method Span.EndTime() (time.Time, bool) - added:
method Span.Ended() bool - added:
method Span.Events() []Event - added:
method Span.IsRecording() bool - added:
method Span.Links() map[trace.SpanContext][]label.KeyValue - added:
method Span.Name() string - added:
method Span.ParentSpanID() trace.SpanID - added:
method Span.RecordError(context.Context, error, ...trace.ErrorOption) - added:
method Span.SetAttribute(string, interface{}) - added:
method Span.SetAttributes(...label.KeyValue) - added:
method Span.SetName(string) - added:
method Span.SetStatus(codes.Code, string) - added:
method Span.SpanContext() trace.SpanContext - added:
method Span.SpanKind() trace.SpanKind - added:
method Span.StartTime() time.Time - added:
method Span.StatusCode() codes.Code - added:
method Span.StatusMessage() string - added:
method Span.Tracer() trace.Tracer - added:
method SpanRecorder.OnEnd(*Span) - added:
method SpanRecorder.OnStart(*Span) - added:
method StandardSpanRecorder.Completed() []*Span - added:
method StandardSpanRecorder.OnEnd(*Span) - added:
method StandardSpanRecorder.OnStart(*Span) - added:
method StandardSpanRecorder.Started() []*Span - added:
method Tracer.Start(context.Context, string, ...trace.StartOption) (context.Context, trace.Span) - added:
type Event: struct - added:
type Option: interface - added:
type Provider: struct - added:
type Span: struct - added:
type SpanRecorder: interface - added:
type StandardSpanRecorder: struct - added:
type Tracer: struct
- removed:
func NewBridgeTracer() *BridgeTracer - removed:
func NewTracerPair(oteltrace.Tracer) (*BridgeTracer, *WrapperProvider) - removed:
func NewTracerPairWithContext(context.Context, oteltrace.Tracer) (context.Context, *BridgeTracer, *WrapperProvider) - removed:
func NewWrappedProvider(*BridgeTracer, oteltrace.Tracer) *WrapperProvider - removed:
func NewWrapperTracer(*BridgeTracer, oteltrace.Tracer) *WrapperTracer - removed:
method BridgeTracer.ContextWithBridgeSpan(context.Context, oteltrace.Span) context.Context - removed:
method BridgeTracer.ContextWithSpanHook(context.Context, ot.Span) context.Context - removed:
method BridgeTracer.Extract(interface{}, interface{}) (ot.SpanContext, error) - removed:
method BridgeTracer.Inject(ot.SpanContext, interface{}, interface{}) error - removed:
method BridgeTracer.NewHookedContext(context.Context) context.Context - removed:
method BridgeTracer.SetOpenTelemetryTracer(oteltrace.Tracer) - removed:
method BridgeTracer.SetPropagators(otelpropagation.Propagators) - removed:
method BridgeTracer.SetWarningHandler(BridgeWarningHandler) - removed:
method BridgeTracer.StartSpan(string, ...ot.StartSpanOption) ot.Span - removed:
method WrapperProvider.Tracer(string, ...oteltrace.TracerOption) oteltrace.Tracer - removed:
method WrapperTracer.DeferredContextSetupHook(context.Context, oteltrace.Span) context.Context - removed:
method WrapperTracer.Start(context.Context, string, ...oteltrace.StartOption) (context.Context, oteltrace.Span) - removed:
method WrapperTracer.WithSpan(context.Context, string, func(context.Context) error, ...oteltrace.StartOption) error - removed:
type BridgeTracer: struct - removed:
type BridgeWarningHandler: func(msg string) - removed:
type WrapperProvider: struct - removed:
type WrapperTracer: struct
- removed:
func SkipContextSetup(context.Context) bool - removed:
func WithDeferredSetup(context.Context) context.Context - removed:
method DeferredContextSetupTracerExtension.DeferredContextSetupHook(context.Context, oteltrace.Span) context.Context - removed:
method OverrideTracerSpanExtension.OverrideTracer(oteltrace.Tracer) - removed:
type DeferredContextSetupTracerExtension: interface - removed:
type OverrideTracerSpanExtension: interface
- added:
const Aborted: Code - added:
const AlreadyExists: Code - added:
const Canceled: Code - added:
const DataLoss: Code - added:
const DeadlineExceeded: Code - added:
const FailedPrecondition: Code - added:
const Internal: Code - added:
const InvalidArgument: Code - added:
const NotFound: Code - added:
const OK: Code - added:
const OutOfRange: Code - added:
const PermissionDenied: Code - added:
const ResourceExhausted: Code - added:
const Unauthenticated: Code - added:
const Unavailable: Code - added:
const Unimplemented: Code - added:
const Unknown: Code - added:
type Code: uint32
- removed:
func Extract(context.Context, *metadata.MD, ...Option) ([]kv.KeyValue, trace.SpanContext) - removed:
func Inject(context.Context, *metadata.MD, ...Option) - removed:
func StreamClientInterceptor(trace.Tracer, ...Option) grpc.StreamClientInterceptor - removed:
func StreamServerInterceptor(trace.Tracer, ...Option) grpc.StreamServerInterceptor - removed:
func UnaryClientInterceptor(trace.Tracer, ...Option) grpc.UnaryClientInterceptor - removed:
func UnaryServerInterceptor(trace.Tracer, ...Option) grpc.UnaryServerInterceptor - removed:
func WithPropagators(propagation.Propagators) Option - removed:
type Option: func(*config)
- removed:
func Extract(context.Context, *http.Request, ...Option) ([]kv.KeyValue, []kv.KeyValue, trace.SpanContext) - removed:
func Inject(context.Context, *http.Request, ...Option) - removed:
func NewClientTrace(context.Context) *httptrace.ClientTrace - removed:
func W3C(context.Context, *http.Request) (context.Context, *http.Request) - removed:
func WithPropagators(propagation.Propagators) Option - removed:
type Option: func(*config) - removed:
var HTTPHeaderMIME - removed:
var HTTPLocalAddr - removed:
var HTTPRemoteAddr - removed:
var HTTPStatus
- removed:
const ReadBytesKey - removed:
const ReadErrorKey - removed:
const ReadEvents: event - removed:
const RequestContentLength - removed:
const RequestCount - removed:
const ResponseContentLength - removed:
const ServerLatency - removed:
const WriteErrorKey - removed:
const WriteEvents: event - removed:
const WroteBytesKey - removed:
field Config.Filters: []Filter - removed:
field Config.Meter: metric.Meter - removed:
field Config.Propagators: propagation.Propagators - removed:
field Config.ReadEvent: bool - removed:
field Config.SpanNameFormatter: func(string, *http.Request) string - removed:
field Config.SpanStartOptions: []trace.StartOption - removed:
field Config.Tracer: trace.Tracer - removed:
field Config.WriteEvent: bool - removed:
func NewConfig(...Option) *Config - removed:
func NewHandler(http.Handler, string, ...Option) http.Handler - removed:
func NewTransport(http.RoundTripper, ...Option) *Transport - removed:
func WithFilter(Filter) Option - removed:
func WithMessageEvents(...event) Option - removed:
func WithMeter(metric.Meter) Option - removed:
func WithPropagators(propagation.Propagators) Option - removed:
func WithPublicEndpoint() Option - removed:
func WithRouteTag(string, http.Handler) http.Handler - removed:
func WithSpanNameFormatter(func(operation string, r *http.Request) string) Option - removed:
func WithSpanOptions(...trace.StartOption) Option - removed:
func WithTracer(trace.Tracer) Option - removed:
method Handler.ServeHTTP(http.ResponseWriter, *http.Request) - removed:
method Option.Apply(*Config) - removed:
method OptionFunc.Apply(*Config) - removed:
method Transport.RoundTrip(*http.Request) (*http.Response, error) - removed:
type Config: struct - removed:
type Filter: func(*http.Request) bool - removed:
type Handler: struct - removed:
type Option: interface - removed:
type OptionFunc: func(*Config) - removed:
type Transport: struct
- removed:
func All(...othttp.Filter) othttp.Filter - removed:
func Any(...othttp.Filter) othttp.Filter - removed:
func Header(string, string) othttp.Filter - removed:
func HeaderContains(string, string) othttp.Filter - removed:
func Hostname(string) othttp.Filter - removed:
func Method(string) othttp.Filter - removed:
func None(...othttp.Filter) othttp.Filter - removed:
func Not(othttp.Filter) othttp.Filter - removed:
func Path(string) othttp.Filter - removed:
func PathPrefix(string) othttp.Filter - removed:
func Query(string, string) othttp.Filter - removed:
func QueryContains(string, string) othttp.Filter
- added:
const ARRAY: Type - added:
const BOOL: Type - added:
const FLOAT32: Type - added:
const FLOAT64: Type - added:
const INT32: Type - added:
const INT64: Type - added:
const INVALID: Type - added:
const STRING: Type - added:
const UINT32: Type - added:
const UINT64: Type - added:
field KeyValue.Key: Key - added:
field KeyValue.Value: Value - added:
func Any(string, interface{}) KeyValue - added:
func Array(string, interface{}) KeyValue - added:
func ArrayValue(interface{}) Value - added:
func Bool(string, bool) KeyValue - added:
func BoolValue(bool) Value - added:
func DefaultEncoder() Encoder - added:
func EmptySet() *Set - added:
func Float32(string, float32) KeyValue - added:
func Float32Value(float32) Value - added:
func Float64(string, float64) KeyValue - added:
func Float64Value(float64) Value - added:
func Int(string, int) KeyValue - added:
func Int32(string, int32) KeyValue - added:
func Int32Value(int32) Value - added:
func Int64(string, int64) KeyValue - added:
func Int64Value(int64) Value - added:
func IntValue(int) Value - added:
func NewEncoderID() EncoderID - added:
func NewMergeIterator(*Set, *Set) MergeItererator - added:
func NewSet(...KeyValue) Set - added:
func NewSetWithFiltered([]KeyValue, Filter) (Set, []KeyValue) - added:
func NewSetWithSortable([]KeyValue, *Sortable) Set - added:
func NewSetWithSortableFiltered([]KeyValue, *Sortable, Filter) (Set, []KeyValue) - added:
func String(string, string) KeyValue - added:
func StringValue(string) Value - added:
func Stringer(string, fmt.Stringer) KeyValue - added:
func Uint(string, uint) KeyValue - added:
func Uint32(string, uint32) KeyValue - added:
func Uint32Value(uint32) Value - added:
func Uint64(string, uint64) KeyValue - added:
func Uint64Value(uint64) Value - added:
func UintValue(uint) Value - added:
method Distinct.Valid() bool - added:
method Encoder.Encode(Iterator) string - added:
method Encoder.ID() EncoderID - added:
method EncoderID.Valid() bool - added:
method Iterator.Attribute() KeyValue - added:
method Iterator.IndexedLabel() (int, KeyValue) - added:
method Iterator.Label() KeyValue - added:
method Iterator.Len() int - added:
method Iterator.Next() bool - added:
method Iterator.ToSlice() []KeyValue - added:
method Key.Array(interface{}) KeyValue - added:
method Key.Bool(bool) KeyValue - added:
method Key.Defined() bool - added:
method Key.Float32(float32) KeyValue - added:
method Key.Float64(float64) KeyValue - added:
method Key.Int(int) KeyValue - added:
method Key.Int32(int32) KeyValue - added:
method Key.Int64(int64) KeyValue - added:
method Key.String(string) KeyValue - added:
method Key.Uint(uint) KeyValue - added:
method Key.Uint32(uint32) KeyValue - added:
method Key.Uint64(uint64) KeyValue - added:
method MergeItererator.Label() KeyValue - added:
method MergeItererator.Next() bool - added:
method Set.Encoded(Encoder) string - added:
method Set.Equals(*Set) bool - added:
method Set.Equivalent() Distinct - added:
method Set.Filter(Filter) (Set, []KeyValue) - added:
method Set.Get(int) (KeyValue, bool) - added:
method Set.HasValue(Key) bool - added:
method Set.Iter() Iterator - added:
method Set.Len() int - added:
method Set.MarshalJSON() ([]byte, error) - added:
method Set.ToSlice() []KeyValue - added:
method Set.Value(Key) (Value, bool) - added:
method Sortable.Len() int - added:
method Sortable.Less(int, int) bool - added:
method Sortable.Swap(int, int) - added:
method Type.String() string - added:
method Value.AsArray() interface - added:
method Value.AsBool() bool - added:
method Value.AsFloat32() float32 - added:
method Value.AsFloat64() float64 - added:
method Value.AsInt32() int32 - added:
method Value.AsInt64() int64 - added:
method Value.AsInterface() interface - added:
method Value.AsString() string - added:
method Value.AsUint32() uint32 - added:
method Value.AsUint64() uint64 - added:
method Value.Emit() string - added:
method Value.MarshalJSON() ([]byte, error) - added:
method Value.Type() Type - added:
type Distinct: struct - added:
type Encoder: interface - added:
type EncoderID: struct - added:
type Filter: func(KeyValue) bool - added:
type Iterator: struct - added:
type Key: string - added:
type KeyValue: struct - added:
type MergeItererator: struct - added:
type Set: struct - added:
type Sortable: []KeyValue - added:
type Type: int - added:
type Value: struct
- added:
const CloudAccountIDKey - added:
const CloudProviderKey - added:
const CloudRegionKey - added:
const CloudZoneKey - added:
const ContainerIDKey - added:
const ContainerImageNameKey - added:
const ContainerImageTagKey - added:
const ContainerNameKey - added:
const DBCassandraKeyspaceKey - added:
const DBConnectionStringKey - added:
const DBHBaseNamespaceKey - added:
const DBMongoDBCollectionKey - added:
const DBNameKey - added:
const DBOperationKey - added:
const DBRedisDBIndexKey - added:
const DBStatementKey - added:
const DBSystemKey - added:
const DBUserKey - added:
const EnduserIDKey - added:
const EnduserRoleKey - added:
const EnduserScopeKey - added:
const FaaSColdstartKey - added:
const FaaSCronKey - added:
const FaaSDocumentCollectionKey - added:
const FaaSDocumentNameKey - added:
const FaaSDocumentOperationKey - added:
const FaaSDocumentTimeKey - added:
const FaaSExecutionKey - added:
const FaaSIDKey - added:
const FaaSInstanceKey - added:
const FaaSNameKey - added:
const FaaSTimeKey - added:
const FaaSTriggerKey - added:
const FaaSVersionKey - added:
const HTTPClientIPKey - added:
const HTTPFlavorKey - added:
const HTTPHostKey - added:
const HTTPMethodKey - added:
const HTTPRequestContentLengthKey - added:
const HTTPRequestContentLengthUncompressedKey - added:
const HTTPResponseContentLengthKey - added:
const HTTPResponseContentLengthUncompressedKey - added:
const HTTPRouteKey - added:
const HTTPSchemeKey - added:
const HTTPServerNameKey - added:
const HTTPStatusCodeKey - added:
const HTTPStatusTextKey - added:
const HTTPTargetKey - added:
const HTTPUrlKey - added:
const HTTPUserAgentKey - added:
const HostHostNameKey - added:
const HostIDKey - added:
const HostImageIDKey - added:
const HostImageNameKey - added:
const HostImageVersionKey - added:
const HostNameKey - added:
const HostTypeKey - added:
const K8SClusterNameKey - added:
const K8SDeploymentNameKey - added:
const K8SNamespaceNameKey - added:
const K8SPodNameKey - added:
const MessagingConversationIDKey - added:
const MessagingDestinationKey - added:
const MessagingDestinationKindKey - added:
const MessagingMessageIDKey - added:
const MessagingMessagePayloadCompressedSizeBytesKey - added:
const MessagingMessagePayloadSizeBytesKey - added:
const MessagingOperationKey - added:
const MessagingProtocolKey - added:
const MessagingProtocolVersionKey - added:
const MessagingRabbitMQRoutingKeyKey - added:
const MessagingSystemKey - added:
const MessagingTempDestinationKey - added:
const MessagingURLKey - added:
const NetHostIPKey - added:
const NetHostNameKey - added:
const NetHostPortKey - added:
const NetPeerIPKey - added:
const NetPeerNameKey - added:
const NetPeerPortKey - added:
const NetTransportKey - added:
const PeerServiceKey - added:
const ProcessCommandKey - added:
const ProcessCommandLineKey - added:
const ProcessExecutableNameKey - added:
const ProcessExecutablePathKey - added:
const ProcessOwnerKey - added:
const ProcessPIDKey - added:
const RPCMessageCompressedSizeKey - added:
const RPCMessageIDKey - added:
const RPCMessageTypeKey - added:
const RPCMessageUncompressedSizeKey - added:
const RPCMethodKey - added:
const RPCNameKey - added:
const RPCServiceKey - added:
const RPCSystemKey - added:
const ServiceInstanceIDKey - added:
const ServiceNameKey - added:
const ServiceNamespaceKey - added:
const ServiceVersionKey - added:
const TelemetrySDKLanguageKey - added:
const TelemetrySDKNameKey - added:
const TelemetrySDKVersionKey - added:
func EndUserAttributesFromHTTPRequest(*http.Request) []label.KeyValue - added:
func HTTPAttributesFromHTTPStatusCode(int) []label.KeyValue - added:
func HTTPClientAttributesFromHTTPRequest(*http.Request) []label.KeyValue - added:
func HTTPServerAttributesFromHTTPRequest(string, string, *http.Request) []label.KeyValue - added:
func HTTPServerMetricAttributesFromHTTPRequest(string, *http.Request) []label.KeyValue - added:
func NetAttributesFromHTTPRequest(string, *http.Request) []label.KeyValue - added:
func SpanStatusFromHTTPStatusCode(int) (codes.Code, string) - added:
var CloudProviderAWS - added:
var CloudProviderAzure - added:
var CloudProviderGCP - added:
var DBSystemCassandra - added:
var DBSystemCosmosDB - added:
var DBSystemCouchDB - added:
var DBSystemCouchbase - added:
var DBSystemDB2 - added:
var DBSystemDerby - added:
var DBSystemDynamoDB - added:
var DBSystemHBase - added:
var DBSystemHive - added:
var DBSystemMSSql - added:
var DBSystemMariaDB - added:
var DBSystemMongodb - added:
var DBSystemMySQL - added:
var DBSystemNeo4j - added:
var DBSystemOracle - added:
var DBSystemOtherSQL - added:
var DBSystemPostgres - added:
var DBSystemRedis - added:
var DBSystemSqlite - added:
var DBSystemTeradata - added:
var FaaSDocumentOperationDelete - added:
var FaaSDocumentOperationEdit - added:
var FaaSDocumentOperationInsert - added:
var FaasTriggerDatasource - added:
var FaasTriggerHTTP - added:
var FaasTriggerOther - added:
var FaasTriggerPubSub - added:
var FaasTriggerTimer - added:
var HTTPFlavor1_0 - added:
var HTTPFlavor1_1 - added:
var HTTPFlavor2 - added:
var HTTPFlavorQUIC - added:
var HTTPFlavorSPDY - added:
var HTTPSchemeHTTP - added:
var HTTPSchemeHTTPS - added:
var MessagingDestinationKindKeyQueue - added:
var MessagingDestinationKindKeyTopic - added:
var MessagingOperationProcess - added:
var MessagingOperationReceive - added:
var MessagingTempDestination - added:
var NetTransportIP - added:
var NetTransportInProc - added:
var NetTransportOther - added:
var NetTransportPipe - added:
var NetTransportTCP - added:
var NetTransportUDP - added:
var NetTransportUnix - added:
var RPCMessageTypeReceived - added:
var RPCMessageTypeSent - added:
var RPCNameMessage - added:
var RPCSystemGRPC - added:
var TelemetrySDKLanguageGo