Thanks to visit codestin.com
Credit goes to github.com

Skip to content

jmerle/docker-opentelemetry-stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker OpenTelemetry Stack

The jmerle/opentelemetry-stack Docker image contains a complete OpenTelemetry stack consisting of Grafana, VictoriaMetrics, Tempo, Loki, and the OpenTelemetry Collector. The code in this repository is partially based on the grafana/docker-otel-lgtm repository.

Usage

The following command starts the complete stack:

docker run --rm --name opentelemetry -p 3000:3000 -p 4317:4317 -p 4318:4318 -v opentelemetry:/data jmerle/opentelemetry-stack

The following services will be available after starting up:

  • Grafana on http://localhost:3000/ with default username admin and password admin. You'll be prompted to change the password after logging in for the first time. Datasources for VictoriaMetrics, Tempo, and Loki are pre-configured, as well as an overview dashboard showing the most important statistics of these datasources.
  • The OpenTelemetry Collector on port 4317 (gRPC) and 4318 (HTTP).

Retention periods are configured as follows:

  • VictoriaMetrics: 90 days
  • Tempo: 30 days
  • Loki: 30 days

You need to define two additional environment variables when running behind a reverse proxy that performs TLS termination. Assuming the stack is deployed to https://grafana.example.com/:

  • GF_SERVER_DOMAIN=grafana.example.com
  • GF_SERVER_ROOT_URL=https://grafana.example.com/

About

Docker image containing a complete OpenTelemetry stack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •