v0.62.0 Beta
🛑 Breaking changes 🛑
- Delete deprecated
go.opentelemetry.io/collector/service/featuregate
. (#6178) - Delete deprecated
pmetric.OptionalType
. (#6178) - Delete deprecated
ptrace.Span[Link]?.TraceStateStruct
. (#6178) - Delete deprecated
pcommon.NewValueBytesEmpty
. (#6178) - Delete deprecated
pmetric.MetricDataType
. (#6178) - Delete deprecated
pmetric.Metric.DataType()
. (#6178) - Delete deprecated
pmetric.NumberDataPoint.[Set]?[Int|Double]Val()
. (#6178) - Delete deprecated
pmetric.Exemplar.[Set]?[Int|Double]Val()
. (#6178) - Delete deprecated
p[metric|log|trace]otlp.[Client|Server]
. (#6178) - Delete deprecated pdata Clone methods. (#6178)
- Delete deprecated
pcommon.Value
getter/setter methods withVal
suffix. (#6178) - Delete deprecated
StringVal
andSetStringVal
methods. (#6178) - Delete deprecated
ValueTypeString
method. (#6178) - Change AggregationTemporality.String to simpler, easier to read. (#6117)
- Update
pcommon.ValueType.String
output to string representation of corresponding type identifiers. The following
values will be returned: (#6247)- ValueTypeEmpty.String() -> "Empty"
- ValueTypeStr.String() -> "Str"
- ValueTypeBool.String() -> "Bool"
- ValueTypeInt.String() -> "Int"
- ValueTypeDouble.String() -> "Double"
- ValueTypeMap.String() -> "Map"
- ValueTypeSlice.String() -> "Slice"
- ValueTypeBytes.String() -> "Bytes"
- Rename output of
[MetricType|NumberDataPointValueType|ExemplarValueType].String()
for zero values from"None"
to
"Empty"
(#6270)
🚩 Deprecations 🚩
- Deprecate
p[metric|log|trace]otlp.RegiserServer
in favor ofp[metric|log|trace]otlp.RegiserGRPCServer
(#6182) - Deprecate
pcommon.Map.PutString
in favor ofpcommon.Map.PutStr
(#6210) - Deprecate
pcommon.NewValueString
in favor ofpcommon.NewValueStr
(#6209) - Deprecate
pmetric.MetricAggregationTemporality
enum type in favor ofpmetric.AggregationTemporality
(#6253) - Deprecate
confmap.Conf.UnmarshalExact
in favor ofconfmap.Conf.Unmarshal(.., WithErrorUnused)
(#6231) - Deprecate
pmetric.[Default]?MetricDataPointFlags
favor ofpmetric.[Default]?DataPointFlags
(#6259) - Deprecate
ptrace.[New]?SpanStatus
favor ofptrace.[New]?Status
(#6258) - Deprecate
pmetric.[New]?Buckets
in favor ofpmetric.[New]?ExponentialHistogramDataPointBuckets
(#6261) - Deprecate
plog.SeverityNumberUndefined
in favor ofplog.SeverityNumberUnspecified
(#6269) - Deprecate
pmetric.[New]?ValueAtQuantile[Slice]?
in favor ofpmetric.[New]?SummaryDataPointValueAtQuantile[Slice]?
(#6262) - Deprecate enum zero constants ending with
None
(#6270)- Deprecate
pmetric.MetricTypeNone
in favor ofpmetric.MetricTypeEmpty
- Deprecate
pmetric.NumberDataPointValueTypeNone
in favor ofpmetric.NumberDataPointValueTypeEmpty
- Deprecate
pmetric.ExemplarValueTypeNone
in favor ofpmetric.ExemplarValueTypeEmpty
- Deprecate
💡 Enhancements 💡
- Add config marshaler (#5566)
- Add semantic conventions for specification v1.10-v1.13 (#6213)
receiver/otlp
: Make logs related to gRCPC and HTTP server startup clearer (#6174)- Add prometheus metric prefix and constant service attributes to Collector's own telemetry when using OpenTelemetry for internal telemetry (#6223)
exporter/logging
: Apply consistent rendering of map values (#6244)- Add support in the confmap.Resolver to expand embedded config URIs inside configuration. (#6276)
🧰 Bug fixes 🧰
- Fixed bug where
telemetryInitializer
is not cleaned up whennewService
errors (#6239)