https://github.com/commercetools/opentelemetry-collector-example
https://github.com/commercetools/opentelemetry-collector-example
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/commercetools/opentelemetry-collector-example
- Owner: commercetools
- License: apache-2.0
- Created: 2023-08-30T07:05:14.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-10-07T07:39:48.000Z (9 months ago)
- Last Synced: 2025-10-07T09:35:45.005Z (9 months ago)
- Size: 51.8 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OpenTelemetry Collector Example
This folder contains a preconfigured docker compose file for local experiments
with OpenTelemetry. It includes a OpenTelemetry collector, a Jaeger UI, Prometheus, Grafana, and
NewRelic as export target.
To start it use the following command:
```bash
docker-compose --env-file .env up --no-build
```
## NewRelic
The collector is preconfigured to export metric, traces and log entries to NewRelic.
In order to activate it add your NewRelic api key to the `.env` file. Make sure OpenTelemetry Collector service
in [docker-compose.yml](./docker-compose.yaml) has the NewRelic command uncommented.
Restart the containers.
## Dynatrace
The collector is preconfigured to export metric, traces and log entries to Dynatrace.
In order to activate it add your Dynatrace OTLP endpoint and Dynatrace API key to the `.env` file.
Make sure OpenTelemetry Collector service
in [docker-compose.yml](./docker-compose.yaml) has the Dynatrace command uncommented.
Restart the containers.
## Datadog
The collector is preconfigured to export metric, traces and log entries to Datadog.
In order to activate it add your Datadog API key to the `.env` file. In case you're
registered under another region than EU, update your Datadog site in the `.env` file as well.
Make sure OpenTelemetry Collector service
in [docker-compose.yml](./docker-compose.yaml) has the Datadog command uncommented.
Restart the containers.
## Jaeger UI
http://localhost:16686
## Grafana
http://localhost:3000
## Prometheus
http://localhost:9090