You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change outcome of pdata.Value.MapVal() and pdata.Value.SliceVal() functions misuse. In case of
type mismatch, they now return an invalid zero-initialized instance instead of a detached
collection (#5034)
OTLP JSON field changes following upgrade to OTLP v0.15.0:
"instrumentationLibraryLogs" is now "scopeLogs"
"instrumentationLibraryMetrics" is now "scopeMetrics"
"instrumentationLibrarySpans" is now "scopeSpans"
"instrumentationLibrary" is now "scope"
AsString for pdata.Value now returns the JSON-encoded string of floats. (#4934)
🚩 Deprecations 🚩
Move MapProvider to config, split providers in their own package (#5030)
API related to pdata.AttributeValue is deprecated in favor of pdata.Value (#4978)
pdata.AttributeValue struct is deprecated in favor of pdata.Value
pdata.AttributeValueType type is deprecated in favor of pdata.ValueType
pdata.AttributeValueType... constants are deprecated in favor of pdata.ValueType...
pdata.NewAttributeValue... funcs are deprecated in favor of pdata.NewValue...
Deprecate featureflags.FlagValue.SetSlice, unnecessary public (#5053)
Remove "Attribute" part from common pdata collections names (#5001)
Deprecate pdata.AttributeMap struct in favor of pdata.Map
Deprecate pdata.NewAttributeMap func in favor of pdata.NewMap
Deprecate pdata.NewAttributeMapFromMap func in favor of pdata.NewMapFromRaw
Deprecate pdata.AttributeValueSlice struct in favor of pdata.Slice
Deprecate pdata.NewAttributeValueSlice func in favor of pdata.NewSlice
Deprecate LogRecord.Name(), it was deprecated in the data model (#5054)
Deprecate last funcs/structs in componenthelper (#5069)
Change structs in otlpgrpc to follow standard go encoding interfaces (#5062)
Deprecate UnmarshalJSON[Traces|Metrics|Logs][Reques|Response] in favor of UnmarshalJSON.
Deprecate [Traces|Metrics|Logs][Reques|Response].Marshal in favor of MarshalProto.
Deprecate UnmarshalJSON[Traces|Metrics|Logs][Reques|Response] in favor of UnmarshalProto.
Deprecating following pdata methods/types following OTLP v0.15.0 upgrade (#5076):
- InstrumentationLibrary is now InstrumentationScope
- NewInstrumentationLibrary is now NewInstrumentationScope
- InstrumentationLibraryLogsSlice is now ScopeLogsSlice
- NewInstrumentationLibraryLogsSlice is now NewScopeLogsSlice
- InstrumentationLibraryLogs is now ScopeLogs
- NewInstrumentationLibraryLogs is now NewScopeLogs
- InstrumentationLibraryMetricsSlice is now ScopeMetricsSlice
- NewInstrumentationLibraryMetricsSlice is now NewScopeMetricsSlice
- InstrumentationLibraryMetrics is now ScopeMetrics
- NewInstrumentationLibraryMetrics is now NewScopeMetrics
- InstrumentationLibrarySpansSlice is now ScopeSpansSlice
- NewInstrumentationLibrarySpansSlice is now NewScopeSpansSlice
- InstrumentationLibrarySpans is now ScopeSpans
- NewInstrumentationLibrarySpans is now NewScopeSpans
Change outcome of pdata.Metric.<Gauge|Sum|Histogram|ExponentialHistogram>() functions misuse.
In case of type mismatch, they don't panic right away but return an invalid zero-initialized
instance for consistency with other OneOf field accessors (#5035)