Code Monkey home page Code Monkey logo

opentelemetry-examples's Introduction

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

opentelemetry-examples's People

Contributors

liustanley avatar dependabot[bot] avatar dineshg13 avatar mackjmr avatar saravshah avatar ganeshkumarsv avatar mx-psi avatar wantsui avatar songy23 avatar

Stargazers

Shota Iwami avatar Jon Destoppeleire avatar Benson Fung avatar  avatar  avatar Dario Castañé avatar Jon Bodner avatar

Watchers

Sean O'Connor avatar christian d avatar mathieu avatar Francois Visconte avatar Benjamin W. Smith avatar Attila Szegedi avatar Gordon Radlein avatar Terrence Turner avatar Jānis Kiršteins avatar Stuart McCulloch avatar Abigael avatar Dai Bui avatar Jesse Kallhoff avatar Yann Schwartz avatar Ani Saraf avatar Jason Moiron avatar Julien MUETTON avatar  avatar Hardy Ferentschik avatar Andrey Sibirev avatar Nicolas PLANEL avatar Boris Zhidkov avatar Jason Yee avatar  avatar Matt Eckstein avatar Renault John Lecoultre avatar Vincent Whitchurch avatar JD Courtoy avatar George Hahn avatar Nick Moy avatar Kennon Kwok avatar Bibby avatar shangwang avatar Dan Osipov avatar Justin avatar Emmett Butler avatar Phil Sarin avatar namasme avatar  avatar Carlito avatar David Sanchez avatar Maxime David avatar Parag Baxi avatar Scott Opell avatar Jeremy Schiff avatar  avatar Maël Nison avatar Slavek Kabrda avatar Christian Muñoz avatar Andrew Hanes avatar Nanhua Jin avatar Damian Sosnowski avatar chiragtayal avatar HsunPei Wang avatar Gorka Vicente avatar Scot Curry avatar Nicolas Chenet avatar Matthew Bilyeu avatar Oleksandr Nitavskyi avatar David Leonard avatar Zack Allen avatar Seth Art avatar Radu Tom Vlad avatar Emilio Tirado avatar Lee Avital avatar obiyann avatar Stefan Marx avatar  avatar Zhong Ren avatar Brandon May avatar Giulio Mecocci avatar Rick Mangi avatar James Rutherford avatar Ludovic Riffault avatar AJ Stuyvenberg avatar Ruben Oanta avatar Brandon Wood avatar Beneah Kombe avatar Kyle Taylor avatar Dan Florea avatar ztephm avatar Fabien Chéret avatar Hannah Shore avatar Rémy Mathieu avatar Charles Niaulin avatar David Gilbert avatar Jack Keller avatar Jeremy Braff avatar Aswin Thiyagarajan avatar Liangzhou Yi avatar  avatar Steven Pham avatar Ankur Srivastava avatar Saad Zniber avatar Kemper Smith avatar Jake Saferstein avatar Takis Mousoulis avatar Guillaume Dumont avatar Dustin Long avatar Sylvain Afchain avatar

opentelemetry-examples's Issues

Update game-of-life dependencies

Describe the bug
Error when starting game of life otel:

docker compose -f docker-compose-otel.yaml up
...
 => ERROR [game-of-life-server 8/9] RUN go build -o /server                                                                                                                                                                                                                                     0.8s
------                                                                                                                                                                                                                                                                                               
 > [game-of-life-webapp 8/9] RUN go build -o /webapp:                                                                                                                                                                                                                                                
0.733 /go/pkg/mod/go.opentelemetry.io/otel/exporters/otlp/otlpmetric/[email protected]/client.go:28:2: no required module provides package go.opentelemetry.io/otel/exporters/otlp/internal; to add it:                                                                                         
0.733   go get go.opentelemetry.io/otel/exporters/otlp/internal                                                                                                                                                                                                                                      
0.733 /go/pkg/mod/go.opentelemetry.io/otel/exporters/otlp/[email protected]/internal/oconf/envconfig.go:26:2: no required module provides package go.opentelemetry.io/otel/exporters/otlp/internal/envconfig; to add it:                                                                            
0.733   go get go.opentelemetry.io/otel/exporters/otlp/internal/envconfig                                                                                                                                                                                                                            
0.733 /go/pkg/mod/go.opentelemetry.io/contrib/instrumentation/[email protected]/runtime.go:24:2: no required module provides package go.opentelemetry.io/otel/metric/global; to add it:
0.733   go get go.opentelemetry.io/otel/metric/global
0.733 /go/pkg/mod/go.opentelemetry.io/contrib/instrumentation/[email protected]/runtime.go:25:2: no required module provides package go.opentelemetry.io/otel/metric/instrument; to add it:
0.733   go get go.opentelemetry.io/otel/metric/instrument
------
failed to solve: process "/bin/sh -c go build -o /webapp" did not complete successfully: exit code: 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.