Skip to content

Add standalone Grafana OTEL stack#37

Closed
ThijsFeryn wants to merge 1 commit into
mainfrom
grafana-otel-standalone
Closed

Add standalone Grafana OTEL stack#37
ThijsFeryn wants to merge 1 commit into
mainfrom
grafana-otel-standalone

Conversation

@ThijsFeryn
Copy link
Copy Markdown
Collaborator

A standalone OTEL stack that can be visualized with Grafana.

Components

It has the following components:

  • Prometheus container
  • Loki container
  • Tempo container
  • OTEL collector container (that connects to Prometheus, Loki & Tempo)
  • Grafana container

In the conf/grafana/dashboards folder, there is a basic Varnish dashboard. You can add JSON files to that folder and Grafana will pick them up without restarting the container.

Docker setup/teardown

docker compose up
docker compose down

Usage

Set the following environment variables to send telemetry data to this OTEL stack

export OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318
export OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf

If you're using OTEL in a container that is not part of this stack, simply use the http://host.docker.internal:4318 endpoint.

@ThijsFeryn ThijsFeryn requested a review from gquintard May 8, 2026 12:30
@ThijsFeryn ThijsFeryn force-pushed the grafana-otel-standalone branch 2 times, most recently from 3c4224f to 901b2c5 Compare May 8, 2026 12:44
Remove .DS_Store files

Add .gitignore
@ThijsFeryn ThijsFeryn force-pushed the grafana-otel-standalone branch from 901b2c5 to 49ec1b1 Compare May 8, 2026 12:45
@gquintard
Copy link
Copy Markdown
Collaborator

wouldn't it make more sense to change the existing otel example, open the ports locally, and to only conditionally run Varnish and the client script using https://docs.docker.com/compose/how-tos/profiles/ ?

@ThijsFeryn
Copy link
Copy Markdown
Collaborator Author

wouldn't it make more sense to change the existing otel example, open the ports locally, and to only conditionally run Varnish and the client script using https://docs.docker.com/compose/how-tos/profiles/ ?

@gquintard Fair point. See #38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants