fix: correct Mermaid graph syntax for endpoint labels with slashes
All checks were successful
CI / Test (pull_request) Successful in 22s
CI / Lint (pull_request) Successful in 18s
CI / Build (pull_request) Successful in 12s
CI / Format Check (pull_request) Successful in 2s

Mermaid graphs require node labels with special characters like forward
slashes to be quoted. Changed /healthz and /metrics from square bracket
format to quoted string format to fix the lexical error.
This commit is contained in:
2025-11-05 21:26:17 +01:00
parent 9b33c1528a
commit 8c90075086

View File

@@ -327,7 +327,7 @@ Health checks and metrics provide visibility into system health and performance.
```mermaid ```mermaid
graph TD graph TD
HealthEndpoint[/healthz] --> HealthRegistry[Health Registry] HealthEndpoint["/healthz"] --> HealthRegistry[Health Registry]
HealthRegistry --> CheckDB[Check Database] HealthRegistry --> CheckDB[Check Database]
HealthRegistry --> CheckCache[Check Cache] HealthRegistry --> CheckCache[Check Cache]
HealthRegistry --> CheckEventBus[Check Event Bus] HealthRegistry --> CheckEventBus[Check Event Bus]
@@ -339,7 +339,7 @@ graph TD
Aggregate -->|All Healthy| Response200[200 OK] Aggregate -->|All Healthy| Response200[200 OK]
Aggregate -->|Unhealthy| Response503[503 Service Unavailable] Aggregate -->|Unhealthy| Response503[503 Service Unavailable]
MetricsEndpoint[/metrics] --> MetricsRegistry[Metrics Registry] MetricsEndpoint["/metrics"] --> MetricsRegistry[Metrics Registry]
MetricsRegistry --> Prometheus[Prometheus Format] MetricsRegistry --> Prometheus[Prometheus Format]
Prometheus --> ResponseMetrics[Metrics Response] Prometheus --> ResponseMetrics[Metrics Response]