You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/04-For Operators/05-monitoring.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,15 +36,17 @@ All control-plane log entries carry a `cluster` label (configured via `logging_a
36
36
37
37
#### Gardener
38
38
39
-
The [gardener-logging](https://github.com/metal-stack/metal-roles/blob/master/control-plane/roles/gardener-logging/README.md) role deploys an additional Alloy instance into each Gardener shooted seed and optionally into the garden cluster itself. These instances collect pod logs from their respective clusters and forward them to the same Loki instance in the metal-stack control plane. Logs carry a `cluster` label set to the shooted seed name, enabling per-seed filtering in Grafana.
39
+
Gardener ships with a built-in logging stack (Vali + fluent-bit per seed). The metal-stack deployment disables this stack and instead uses Alloy to forward all logs centrally — giving platform operators a single place to query infrastructure logs across all Gardener clusters.
40
+
41
+
The [gardener-logging](https://github.com/metal-stack/metal-roles/blob/master/control-plane/roles/gardener-logging/README.md) role deploys an Alloy instance into each Gardener shooted seed and optionally into the garden cluster itself. These instances collect pod logs and Kubernetes events from their respective clusters and forward them to the same Loki instance in the metal-stack control plane. Logs carry a `cluster` label set to the cluster name (garden name or shooted seed name), enabling per-cluster filtering in Grafana.
40
42
41
43
### Control-Plane: Querying Logs in Grafana
42
44
43
45
-`{cluster="<stage-name>"}` — all logs from a control-plane stage
44
46
-`{namespace="<namespace>"}` — all logs from a specific namespace
45
47
-`{job="<namespace>/<app>"}` — logs from a specific application
-`{cluster="<seed-name>"}` — all logs from a specific Gardener shooted seed
49
+
-`{cluster="<garden-or-seed-name>"}` — all logs from the Gardener garden cluster or a specific shooted seed
48
50
49
51
### Partition Log Sources
50
52
@@ -87,16 +89,14 @@ control plane.
87
89
### Control-Plane Metrics
88
90
89
91
In-cluster components are scraped by Prometheus via `ServiceMonitor` resources (pull model).
90
-
Alloy self-metrics use a different approach — no ServiceMonitor required:
91
-
92
-
- The **control-plane Alloy** DaemonSet pushes metrics via `prometheus.remote_write` to the in-cluster Thanos Receive. Wired automatically when `monitoring_thanos_receive_enabled: true`.
93
-
-**Gardener seed Alloy** instances have no local Prometheus, so they push metrics to the control-plane Thanos Receive ingress instead. Wired automatically when `monitoring_thanos_receive_ingress_enabled: true`.
94
92
95
93
Metrics are supplied by
96
94
97
95
-`metal-metrics-exporter`
98
96
-`rethinkdb-exporter`
99
97
-`gardener-metrics-exporter`
98
+
-`alloy` (control-plane) — self-metrics, disabled by default; see the [logging role](https://github.com/metal-stack/metal-roles/blob/master/control-plane/roles/logging/README.md#meta-monitoring) for configuration
99
+
-`alloy` (gardens and seeds) — self-metrics, disabled by default; see the [gardener-logging role](https://github.com/metal-stack/metal-roles/blob/master/control-plane/roles/gardener-logging/README.md#meta-monitoring) for configuration
0 commit comments