From 8f28b65ba88c6966d725f7114a18f23e411921fa Mon Sep 17 00:00:00 2001 From: Michael Jerger <michael.jerger@meissa-gmbh.de> Date: Tue, 1 Apr 2025 11:31:52 +0200 Subject: [PATCH] add pgw to doc --- doc/Architecture.md | 17 ----------------- doc/Monitoring.md | 21 ++++++++++++++++----- 2 files changed, 16 insertions(+), 22 deletions(-) diff --git a/doc/Architecture.md b/doc/Architecture.md index 45a8e08..cb8d505 100644 --- a/doc/Architecture.md +++ b/doc/Architecture.md @@ -49,20 +49,3 @@ C4Context Rel(app-backup, app-db-storage, "*dbc") ``` - -# Layout of a component on example of namespace - - -```mermaid -classDiagram - - class namespace { - config? // the external representation - default-config // static defaults - generate(config, auth) seq - } - class namespace-internal { - config? // the internal representation - generate-namespace(config) map - } -``` \ No newline at end of file diff --git a/doc/Monitoring.md b/doc/Monitoring.md index 8fdb105..436b72f 100644 --- a/doc/Monitoring.md +++ b/doc/Monitoring.md @@ -9,15 +9,26 @@ C4Context Container_Boundary(srv, "Small Server") { Container_Boundary(k3s, "K3S") { Component(api, "K8s API") - Container(prometheus, "Prometheus in proxy mode") - Container(node-exporter, "Node-Exporter Daemon Set") + Container(ne, "Node-Exporter Daemon Set") + Container(prom, "Prometheus in proxy mode") + Container(pgw, "Push Gateway") Container_Boundary(app, "Application") { - Container(app, "App-container") + Container(app, "long running workload") + Container(job, "ephemeral workload") } } } } - Rel(prometheus, api, "rest") - Rel(prometheus, grafana, "rest") + 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") ``` \ No newline at end of file