Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 1.51 KB

README.md

File metadata and controls

44 lines (32 loc) · 1.51 KB

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:

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 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 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 has the Datadog command uncommented. Restart the containers.

Jaeger UI

http://localhost:16686

Grafana

http://localhost:3000

Prometheus

http://localhost:9090