Upgrading go.opencensus.io 0.17 to 0.18
Breakingv0.17.0 → v0.18.0Breaking1New4Changed3Fixed2
BreakingUpgrade verdict
1 breaking change.
In plain terms
- Deletes the exporterutil package, which was not used.
Must act 1 item needs code or config changes
What you must change
Breaking1
Removes the unused exporterutil package.
exporterutilAPI changes
Generated by DepDelta from published Go source. Not mixed with prose notes.
- added:
const KeyPrefixTag - added:
const KeySpanID - added:
const KeyTraceID - added:
field Exemplar.Attachments: Attachments - added:
field Exemplar.Timestamp: time.Time - added:
field Exemplar.Value: float64 - added:
func AttachmentsFromContext(context.Context) Attachments - added:
func RegisterAttachmentExtractor(AttachmentExtractor) - added:
type AttachmentExtractor: func(ctx context.Context, a Attachments) Attachments - added:
type Attachments: map[string]string - added:
type Exemplar: struct
- added:
field Options.CollectorEndpoint: string
- removed:
var Version
- added:
field Handler.GetStartOptions: func(*http.Request) trace.StartOptions - added:
field Transport.GetStartOptions: func(*http.Request) trace.StartOptions - added:
var ClientCompletedCount - added:
var ClientReceivedBytes - added:
var ClientReceivedBytesDistribution - added:
var ClientRoundtripLatency - added:
var ClientRoundtripLatencyDistribution - added:
var ClientSentBytes - added:
var ClientSentBytesDistribution - added:
var KeyClientHost - added:
var KeyClientMethod - added:
var KeyClientPath - added:
var KeyClientStatus
- removed:
method Float64Measure.Description() string - removed:
method Float64Measure.Name() string - removed:
method Float64Measure.Unit() string - removed:
method Int64Measure.Description() string - removed:
method Int64Measure.Name() string - removed:
method Int64Measure.Unit() string - added:
func RecordWithTags(context.Context, []tag.Mutator, ...Measurement) error
- added:
field DistributionData.ExemplarsPerBucket: []*exemplar.Exemplar