fix: correct Mermaid graph syntax for endpoint labels with slashes
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:
@@ -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]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user