Upgrading go.opencensus.io 0.21 to 0.22
Unknownv0.21.0 → v0.22.6Deprecated1New11Changed12Fixed7Other16
UnknownUpgrade verdict
DepDelta hasn't looked for the notes of 1 of 7 releases yet, so breaking changes can't be ruled out.
In plain terms
- DepDelta hasn't finished looking for the notes in this range, so it can't rule out breaking changes yet.
- Their commits are listed with this comparison.
Must act 1 item needs code or config changes
Deprecations to plan for
Deprecated1
Uses stats.UnitDimensionless instead of the deprecated stats.UnitNone.
stats.UnitDimensionlessstats.UnitNoneAPI changes
Generated by DepDelta from published Go source. Not mixed with prose notes.
- added:
method IntervalReader.Flush()
- added:
func NewExporter(*metricexport.Reader) *Exporter - added:
method Exporter.ExportMetrics(context.Context, []*metricdata.Metric) error - added:
method Exporter.GetPoint(string, map[string]string) (metricdata.Point, bool) - added:
method Exporter.ReadAndExport() - added:
method Exporter.String() string - added:
type Exporter: struct
- added:
field Handler.IsHealthEndpoint: func(*http.Request) bool
- added:
method HTTPFormat.SpanContextFromHeaders(string, string) (trace.SpanContext, bool) - added:
method HTTPFormat.SpanContextToHeaders(trace.SpanContext) (string, string)
- added:
field RunMetricOptions.EnableCPU: bool - added:
field RunMetricOptions.EnableMemory: bool - added:
field RunMetricOptions.Prefix: string - added:
func Disable() - added:
func Enable(RunMetricOptions) error - added:
type RunMetricOptions: struct
- added:
const CloudKeyAccountID - added:
const CloudKeyProvider - added:
const CloudKeyRegion - added:
const CloudKeyZone - added:
const CloudProviderAWS - added:
const CloudProviderAZURE - added:
const CloudProviderGCP - added:
const CloudType - added:
const ContainerKeyImageName - added:
const ContainerKeyImageTag - added:
const ContainerKeyName - added:
const ContainerType - added:
const HostKeyHostName - added:
const HostKeyID - added:
const HostKeyName - added:
const HostKeyType - added:
const HostType - added:
const K8SKeyClusterName - added:
const K8SKeyDeploymentName - added:
const K8SKeyNamespaceName - added:
const K8SKeyPodName - added:
const K8SType
- added:
const UnitSeconds - added:
func WithRecorder(Recorder) Options - added:
method Recorder.Record(*tag.Map, interface{}, map[string]interface{}) - added:
type Recorder: interface
- added:
field CountData.Start: time.Time - added:
field DistributionData.Start: time.Time - added:
field SumData.Start: time.Time - added:
func ClearStart(AggregationData) - added:
func NewMeter() Meter - added:
method AggregationData.StartTime() time.Time - added:
method CountData.StartTime() time.Time - added:
method DistributionData.StartTime() time.Time - added:
method LastValueData.StartTime() time.Time - added:
method Meter.Find(string) *View - added:
method Meter.Register(...*View) error - added:
method Meter.RegisterExporter(Exporter) - added:
method Meter.RetrieveData(string) ([]*Row, error) - added:
method Meter.SetReportingPeriod(time.Duration) - added:
method Meter.SetResource(*resource.Resource) - added:
method Meter.Start() - added:
method Meter.Stop() - added:
method Meter.Unregister(...*View) - added:
method Meter.UnregisterExporter(Exporter) - added:
method SumData.StartTime() time.Time - added:
type Meter: interface{stats.Recorder}
- added:
func MustNewKey(string) Key
- added:
func NewSpan(SpanInterface) *Span - added:
method Attribute.Key() string - added:
method Attribute.Value() interface - added:
method Span.Internal() SpanInterface - added:
method SpanInterface.AddAttributes(...Attribute) - added:
method SpanInterface.AddLink(Link) - added:
method SpanInterface.AddMessageReceiveEvent(int64, int64, int64) - added:
method SpanInterface.AddMessageSendEvent(int64, int64, int64) - added:
method SpanInterface.Annotate([]Attribute, string) - added:
method SpanInterface.Annotatef([]Attribute, string, ...interface{}) - added:
method SpanInterface.End() - added:
method SpanInterface.IsRecordingEvents() bool - added:
method SpanInterface.SetName(string) - added:
method SpanInterface.SetStatus(Status) - added:
method SpanInterface.SpanContext() SpanContext - added:
method SpanInterface.String() string - added:
method Tracer.FromContext(context.Context) *Span - added:
method Tracer.NewContext(context.Context, *Span) context.Context - added:
method Tracer.StartSpan(context.Context, string, ...StartOption) (context.Context, *Span) - added:
method Tracer.StartSpanWithRemoteParent(context.Context, string, SpanContext, ...StartOption) (context.Context, *Span) - added:
type SpanInterface: interface - added:
type Tracer: interface - added:
var DefaultTracer: Tracer