Skip to content

v1.4.0/v0.97.0

Compare
Choose a tag to compare
@github-actions github-actions released this 25 Mar 19:00
· 1180 commits to main since this release
v0.97.0
3da7e16

End User Changelog

πŸ›‘ Breaking changes πŸ›‘

  • telemetry: Remove telemetry.useOtelForInternalMetrics stable feature gate (#9752)

πŸš€ New components πŸš€

  • exporter/nop: Add the nopexporter to serve as a placeholder exporter in a pipeline (#7316)
    This is primarily useful for starting the Collector with only extensions enabled
    or to test Collector pipeline throughput.

  • receiver/nop: Add the nopreceiver to serve as a placeholder receiver in a pipeline (#7316)
    This is primarily useful for starting the Collector with only extensions enabled.

πŸ’‘ Enhancements πŸ’‘

  • configtls: Validates TLS min_version and max_version (#9475)
    Introduces Validate() method in TLSSetting.

  • configcompression: Mark module as Stable. (#9571)

  • cmd/mdatagen: Use go package name for the scope name by default and add an option to provide the scope name in metadata.yaml. (#9693)

  • cmd/mdatagen: Generate the lifecycle tests for components by default. (#9683)
    It's encouraged to have lifecycle tests for all components enadled, but they can be disabled if needed
    in metadata.yaml with skip_lifecycle: true and skip_shutdown: true under tests section.

  • cmd/mdatagen: optimize the mdatagen for the case like batchprocessor which use a common struct to implement consumer.Traces, consumer.Metrics, consumer.Logs in the meantime. (#9688)

🧰 Bug fixes 🧰

  • exporterhelper: Fix persistent queue size backup on reads. (#9740)
  • processor/batch: Prevent starting unnecessary goroutines. (#9739)
  • otlphttpexporter: prevent error on empty response body when content type is application/json (#9666)
  • confmap: confmap honors Unmarshal methods on config embedded structs. (#6671)
  • otelcol: Respect telemetry configuration when running as a Windows service (#5300)

Go API Changelog

πŸ›‘ Breaking changes πŸ›‘

  • configgrpc: Remove deprecated ToServer function. (#9787)
  • confignet: Change Transport field from string to TransportType (#9385)
  • component: Change underlying type of component.Type to an opaque struct. (#9208)
  • obsreport: Remove deprecated obsreport/obsreporttest package. (#9724)
  • component: Remove deprecated error ErrNilNextConsumer (#9322)
  • connector: Remove LogsRouter, MetricsRouter and TracesRouter. Use LogsRouterAndConsumer, MetricsRouterAndConsumer, TracesRouterAndConsumer respectively instead. (#9095)
  • receiver: Remove deprecated struct ScraperControllerSettings and function NewDefaultScraperControllerSettings (#6767)
  • confmap: Remove deprecated provider.New methods, use NewWithSettings moving forward. (#9443)

🚩 Deprecations 🚩

  • configgrpc: Deprecated ToServerContext, use ToServer instead. (#9787)
  • configgrpc: Deprecate SanitizedEndpoint (#9788)

πŸ’‘ Enhancements πŸ’‘

  • exporterhelper: Add experimental batching capabilities to the exporter helper (#8122)
  • confignet: Adds NewDefault* functions for all the config structs. (#9656)
  • configtls: Validates TLS min_version and max_version (#9475)
    Introduces Validate() method in TLSSetting.
  • exporterhelper: Invalid exporterhelper options now make the exporter creation error out instead of panicking. (#9717)
  • components: Give NoOp components a unique name (#9637)

Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.97.0