c4k-common/doc/Monitoring.md

34 lines
941 B
Markdown
Raw Normal View History

# Runtime View
```mermaid
C4Context
title Runtime
Enterprise_Boundary(b0, "Infrastructure") {
System(grafana, "Grafana Cloud", "Monitoring your apps")
Container_Boundary(srv, "Small Server") {
Container_Boundary(k3s, "K3S") {
Component(api, "K8s API")
2025-04-01 11:31:52 +02:00
Container(ne, "Node-Exporter Daemon Set")
Container(prom, "Prometheus in proxy mode")
Container(pgw, "Push Gateway")
Container_Boundary(app, "Application") {
2025-04-01 11:31:52 +02:00
Container(app, "long running workload")
Container(job, "ephemeral workload")
}
}
}
}
2025-04-01 11:31:52 +02:00
Rel(prom, grafana, "rest")
Rel(prom, api, "rest")
Rel(prom, ne, "rest")
Rel(prom, pgw, "rest")
Rel(prom, app, "rest")
Rel(job, pgw, "rest")
UpdateLayoutConfig($c4ShapeInRow="2", $c4BoundaryInRow="1")
```