Distributed Observability and Telemetry

Prometheus and OpenTelemetry are two prominent open-source observability projects under the Cloud Native Computing Foundation (CNCF).

Distributed Tracing, Logs, and Metrics with OpenTelemetry

opentelemetry opentelemetry-crates.io opentelemetry-github opentelemetry-lib.rs cat-api-bindings cat-asynchronous cat-development-tools::debugging cat-development-tools::profiling

OpenTelemetry(GitHub)⮳ is a complete observability framework suitable for monitoring microservices and "cloud-native", modern, distributed systems. It is compatible with most major OSS and commercial backends. OpenTelemetry is a collection of APIs, SDKs, and tools to instrument, generate, collect, and export metrics, logs, and traces to help analyze your software's performance and behavior. Distributed tracing, a key aspect of observability, enables developers to track and analyze requests spanning multiple services.

The opentelemetry crate is an OpenTelemetry API for Rust.

// // COMING SOON

Useful Links

Metrics with Prometheus

prometheus prometheus-crates.io prometheus-github prometheus-lib.rs

Prometheus instrumentation library for Rust applications. Prometheus is an open-source systems monitoring and alerting toolkit. Prometheus's main features are:

  • a multi-dimensional data model with time series data identified by metric name and key/value pairs
  • PromQL, a flexible query language to leverage this dimensionality
  • no reliance on distributed storage; single server nodes are autonomous
  • time series collection happens via a pull model over HTTP
  • pushing time series is supported via an intermediary gateway
  • targets are discovered via service discovery or static configuration
  • multiple modes of graphing and dashboarding support

Useful Links

  • Grafana.
  • Prometheus monitoring system and time series database.
  • Thanos: open source, highly available Prometheus setup with long term storage capabilities.

OpenObserve

OpenObserve⮳ (written in Rust) is a petabyte-scale Elasticsearch / Splunk / DataDog alternative for logs, metrics, traces, RUM (Real User Monitoring), error tracking, and session replay.

// // COMING SOON

Other Common Observability Tools & Platforms

Related Topics

  • Metrics.
  • Tracing.