Observability – Overview#
Bufstream is instrumented for monitoring cluster health, performance, and errors. Metrics are instrumented using OpenTelemetry, with support for standard exporters like OTLP and Prometheus. Specific configuration recommendations including dashboards and monitors/alerts for Datadog and Grafana are available.
Configuring metrics#
OTLP#
To configure Bufstream to report to an OpenTelemetry collector, configure Bufstream as follows:
Prometheus#
Prometheus metrics are exposed at the debug address. To enable the Prometheus endpoint for collecting metrics, configure Bufstream as follows:
Logging#
Logging is output to standard error in the Bufstream brokers in JSON format. Use the following to configure the log level:
Tracing#
Use the following to configure tracing: