Examples
Here are some of the resources for Opentelemetry instrumentation examples.
Core Examples
The repository of the JavaScript version of OpenTelemetry holds some examples of how to run real application with OpenTelemetry JavaScript.
Plugin & Package Examples
Many of the packages and plugins at the contributions repository for OpenTelemetry JavaScript come with an usage example. You can find them in the examples folder.
Community Resources
The nodejs-opentelemetry-tempo project illustrates the use of OpenTelemetry (through automatic and manual instrumentation) involving microservices with DB interactions. It uses the following:
- Prometheus, for monitoring and alerting
- Loki, for distributed logging
- Tempo, for distributed tracing
- Grafana for visualization
For more details, visit the project repository.
Last modified September 20, 2022: Add section about resource detection to Node.JS (#1767) (5871b52)