Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Please keep the discussion on the mailing list rather than commenting on the wiki (wiki discussions get unwieldy fast).

...

Presentation at Cassandra Summit 2023 here:

Widget Connector
urlhttps://www.youtube.com/watch?v=_ZVgHxBTqZ0&list=PLbzoR-pLrL6rgDn-2Yo-d5liFEnuCCi85&index=66

Scope

  • Provide unified way of exporting tracing, metrics, and logging to external monitoring system with ease of configuration
    • Exporting repair tracing is out-of-scope in this proposal.

...

This feature is opt-in and does not remove the currently available telemetries and the way to export.

Approach

While the goal of this CEP is to integrate OpenTelemetry features to be able to export Using OpenTelemetry SDK, manually instrument Apache Cassandra for tracing, metrics and logs, the proposal is separated into several steps.

OpenTelemetry spec and libraries are still evolving. Opentelemetry Java library provides stable support for Tracing and Metrics, however Logging support is experimental, as of the time of writing (May 2023).

See https://opentelemetry.io/status/ for up to date status.

The implementation will be separated in three parts:

  1. Configuration and OpenTelemetry Tracing integration
  2. OpenTelemetry Metrics integration
  3. OpenTelemetry Logging integration

using the current telemetry implementation as much as possible.

Timeline

todo

Mailing list / Slack channels

...

OpenTelemetry is the project hosted at CNCF to provide "A single, vendor-agnostic instrumentation library per language with support for both automatic and manual instrumentationan Observability framework and toolkit designed to create and manage telemetry data such as traces, metrics, and logs."(https://opentelemetry.io/docs/concepts/what-is-opentelemetry/). It specifies APIs to collect tracing, metrics, and logging, and protocols to export to the external observation software.

...

This CEP aims to integrate OpenTelemetry Tracing, Metrics and Logging with the existing implementations (Cassandra’s own Tracing API, Codahale/ Dropwizard metrics, and Slf4J/Logback), while maintaining the backward compatibility.

...