Skip to content

v0.62.0

Compare
Choose a tag to compare
@github-actions github-actions released this 12 Oct 21:49
· 1560 commits to main since this release
aa78209

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 with Val suffix. (#6178)
  • Delete deprecated StringVal and SetStringVal 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 of p[metric|log|trace]otlp.RegiserGRPCServer (#6182)
  • Deprecate pcommon.Map.PutString in favor of pcommon.Map.PutStr (#6210)
  • Deprecate pcommon.NewValueString in favor of pcommon.NewValueStr (#6209)
  • Deprecate pmetric.MetricAggregationTemporality enum type in favor of pmetric.AggregationTemporality (#6253)
  • Deprecate confmap.Conf.UnmarshalExact in favor of confmap.Conf.Unmarshal(.., WithErrorUnused) (#6231)
  • Deprecate pmetric.[Default]?MetricDataPointFlags favor of pmetric.[Default]?DataPointFlags (#6259)
  • Deprecate ptrace.[New]?SpanStatus favor of ptrace.[New]?Status (#6258)
  • Deprecate pmetric.[New]?Buckets in favor of pmetric.[New]?ExponentialHistogramDataPointBuckets (#6261)
  • Deprecate plog.SeverityNumberUndefined in favor of plog.SeverityNumberUnspecified (#6269)
  • Deprecate pmetric.[New]?ValueAtQuantile[Slice]? in favor of pmetric.[New]?SummaryDataPointValueAtQuantile[Slice]? (#6262)
  • Deprecate enum zero constants ending with None (#6270)
    • Deprecate pmetric.MetricTypeNone in favor of pmetric.MetricTypeEmpty
    • Deprecate pmetric.NumberDataPointValueTypeNone in favor of pmetric.NumberDataPointValueTypeEmpty
    • Deprecate pmetric.ExemplarValueTypeNone in favor of pmetric.ExemplarValueTypeEmpty

πŸ’‘ 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 when newService errors (#6239)