Skip to content

DataDog/opentelemetry-examples

Repository files navigation

OpenTelemetry Examples

The repository includes example applications and configurations for Datadog users, engineers, and support to understand how Datadog support of OpenTelemetry works today. These examples provide reference material for integrating OpenTelemetry instrumented applications with Datadog products and allow independent experimentation with OpenTelemetry behaviors. The available resources include:

  • Common mistakes for common mistakes or confusions end-users face when using OpenTelemetry.
  • Configurations for configuration examples of the Datadog Agent and the OpenTelemetry Collector.

Index

Example Description Monitoring Capabilities
Game of Life Go client-server app using gRPC, OTel Go and dd-trace-go instrumentations Tracing gRPC and HTTP endpoints, OTLP metrics and logs, runtime metrics
Kafka Redis Messages Distributed app with Kafka and Redis, OTel and Datadog instrumentations Kafka, Redis
Log Trace Correlation Go client-server app automatically generating traces and logs, OTel instrumentation with Datadog Agent Log trace correlation
Manual Container Metrics Go server manually generating OTel container metrics, OTel Go instrumentation with OTel Collector Container metrics correlation in the trace app
.NET REST Service .NET API app, OTel .NET and dd-trace-dotnet instrumentations Tracing, runtime metrics
Go REST Service Go HTTP app, OTel Go instrumentation Tracing HTTP endpoint, OTel metrics, runtime metrics
Java REST Service Java HTTP app, OTel Java and dd-trace-java instrumentation, probabilistic sampler processor Ingestion sampling, runtime metrics
JavaScript REST Service Node.js API app, OTel Node.js auto instrumentation Auto instrumented traces
Python REST Service CRUD API apps, OTel Python auto instrumentation SQLite & Postgres
RPC Go client-server gRPC Hello World app Tracing gRPC endpoint, gRPC metrics using OpenCensus bridge
Span Links Distributed app with Kafka messages, OTel Go and Java instrumentations OTel span links
W3C Trace Context Java and Python app to demonstrate W3C trace context propagation between OTel and DD instrumented apps W3C trace context, runtime metrics
Kubernetes (Datadog Operator and Helm) with Express An Express sample app configured with Kubernetes Kubernetes
Flask and Express Trace Context An Express controller server calling two Flask servers Standalone Host/Docker
Kafka Producer, Consumer and Broker A kafka java consumer, java producer and broker Kafka metrics, Tracing, Logs

About

OpenTelemetry examples for ramping up

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published