Skip to content

Create standalone OpenTelemetry stack and make some minor fixes#38

Open
ThijsFeryn wants to merge 14 commits into
mainfrom
grafana-monitoring-otel
Open

Create standalone OpenTelemetry stack and make some minor fixes#38
ThijsFeryn wants to merge 14 commits into
mainfrom
grafana-monitoring-otel

Conversation

@ThijsFeryn
Copy link
Copy Markdown
Collaborator

@ThijsFeryn ThijsFeryn commented May 12, 2026

This PR introduces the use of the --profile flag for docker compose.

A regular docker compose up will only start the telemetry containers. Varnish, Varnish OTEL, the origin servers, and the load generator will not be started.

The README.md file explains how to run docker compose --profile varnish up -d to start the full stack and docker compose up -d for the standalone OTEL stack.

I also introduced an OTEL Collector container that forwards its telemetry data to Prometheus, Loki & Tempo. While it's an extra container, it simplifies shipping logs, metrics & traces from the various services.

I also ensured Grafana can be accessed without credentials on http://localhost:3000.

This PR replaces #37

Copy link
Copy Markdown
Collaborator

@gquintard gquintard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

on principle, I fully agree with this PR, but there are way too many things that didn't need to change

"datasource": {
"type": "loki",
"uid": "lokiUID"
"uid": "loki"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this need to change, same for all the other changes in this directory

@@ -0,0 +1,65 @@
apiVersion: 1
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a sideway change, please create a different PR if you really want to merge those files

Comment on lines -1 to -11
[security]
admin_user = admin
admin_password = password

#[auth]
#disable_login_form = true
#
#[auth.anonymous]
#enabled = true
#org_role = Admin

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pretty sure you need this for tempo to push metrics to prometheus, but this was a while ago, maybe it has changed

@@ -0,0 +1,48 @@
stream_over_http_enabled: true
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a pretty gratuitous rename of the file

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