Skip to content

OpenTelemetry C++ v1.8.0

Compare
Choose a tag to compare
@esigo esigo released this 27 Nov 22:25
· 495 commits to main since this release
6a99fee

v1.8.0 release

Release of core packages

  • opentelemetry-api
  • opentelemetry-sdk

and exporter packages:

  • opentelemetry-exporter-otlp (gRPC + HTTP/JSON)
  • opentelemetry-exporter-etw
  • opentelemetry-exporter-prometheus

API

  • No API change

SDK

  • Fix GlobalLogHandler singleton creation order by @lalitb in #1767

Exporter

  • [ETW Exporter] Fix span timestamp(s) precision to nanoseconds by @lalitb in #1726
  • [Prometheus Exporter] add fix for prometheus exporter build by @rochaudhari in #1795
  • Fix session lock of OtlpHttpClient by @owent in #1760
  • Add status code to OTLP grpc trace log by @ThomsonTan in #1792

Build

Metrics

  • Remove old metric from GitHub CI by @lalitb in #1733
  • Cleanup of old _metric api/sdk by @esigo in #1734
  • Cleanup ENABLE_METRICS_PREVIEW by @esigo in #1735
  • Change Prometheus CMake target name by @lalitb in #1765
  • Add MeterContext::ForEachMeter() method to process callbacks on Meter in thread-safe manner by @lalitb in #1783

Logs

  • LogProcessor, LogExporter changes by @owent in #1727
  • LogProcessor, LogExporter class name by @esigo in #1736

Sementic Convention

Documentation

New Contributors

Full Changelog: v1.7.0...v1.8.0

Notes:

Deprecation notes:

  • [Deprecation] Deprecate experimental semantic conventions
    #1744
    • The file
      api/include/opentelemetry/trace/experimental_semantic_conventions.h
      is deprecated, and will be removed in a future release.
      Use file
      api/include/opentelemetry/trace/semantic_conventions.h
      instead.

    • The file
      sdk/include/opentelemetry/sdk/resource/experimental_semantic_conventions.h
      is deprecated, and will be removed in a future release.
      Use file
      sdk/include/opentelemetry/sdk/resource/semantic_conventions.h
      instead.

    • The function, declared in the global namespace
      uint32_t hashCode(const char *str, uint32_t h = 0)
      is deprecated, and will be removed in a future release.
      No replacement will be provided.
      Note that function opentelemetry::utils::hashCode,
      declared in the ETW exporter, is not affected by this deprecation.

Breaking changes:

  • [SEMANTIC CONVENTIONS] Upgrade to version 1.15.0
    #1761
    • Naming of semantic conventions has changed from uppercase constants,
      like SemanticConventions::SERVICE_NAME,
      to camel case, like SemanticConventions::kServiceName.
      This is necessary to avoid collisions with macros in general,
      which breaks the build on some platforms.
    • Semantic conventions are flagged as experimental,
      which is why this change is done in this release.
  • [METRICS] Old metrics implementation including API, SDK and Exporters removed.