Skip to content

Upgrading go.opencensus.io 0.15 to 0.16

Breakingv0.15.0 → v0.16.0Breaking1New3Fixed2Other4

BreakingUpgrade verdict

1 breaking change.

  • Code using the old SpanAnnotator name must switch to the new name.
1 item needs code or config changes
Breaking1
Renames SpanAnnotator to SpanAnnotatingClientTrace.
SpanAnnotatorSpanAnnotatingClientTrace

Generated by DepDelta from published Go source. Not mixed with prose notes.

  • added: field Options.Process: Process
  • added: field Process.ServiceName: string
  • added: field Process.Tags: []Tag
  • added: func BoolTag(string, bool) Tag
  • added: func Int64Tag(string, int64) Tag
  • added: func StringTag(string, string) Tag
  • added: type Process: struct
  • added: type Tag: struct
  • added: func NewSpanAnnotatingClientTrace(*http.Request, *trace.Span) *httptrace.ClientTrace
  • added: func WithRouteTag(http.Handler, string) http.Handler
  • added: var KeyServerRoute
  • added: field SpanContext.Tracestate: *tracestate.Tracestate
  • added: field Entry.Key: string
  • added: field Entry.Value: string
  • added: func New(*Tracestate, ...Entry) (*Tracestate, error)
  • added: method Tracestate.Entries() []Entry
  • added: type Entry: struct
  • added: type Tracestate: struct