2022-12-23 14:52:43 +00:00
|
|
|
# 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")
|
2022-12-23 14:52:43 +00:00
|
|
|
Container_Boundary(app, "Application") {
|
2025-04-01 11:31:52 +02:00
|
|
|
Container(app, "long running workload")
|
|
|
|
Container(job, "ephemeral workload")
|
2022-12-23 14:52:43 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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")
|
2022-12-23 14:52:43 +00:00
|
|
|
```
|