Integration tests currently only cover core application functionality and do not check if Prometheus and Grafana servers are live. This can lead to undetected monitoring issues in CI/CD pipelines.
Expected Behavior:
Tests should verify that Prometheus and Grafana endpoints are reachable and fail if either is down.
Steps to Reproduce:
Start the app without Prometheus or Grafana.
Run the integration tests.
Observe that tests pass even though monitoring servers are down.
Suggested Improvement:
Add health-checks or ping tests for Prometheus and Grafana using their /metrics or /api/health endpoints.
Impact:
Ensures CI/CD pipelines accurately reflect monitoring service availability and prevent false positives.
Integration tests currently only cover core application functionality and do not check if Prometheus and Grafana servers are live. This can lead to undetected monitoring issues in CI/CD pipelines.
Expected Behavior:
Tests should verify that Prometheus and Grafana endpoints are reachable and fail if either is down.
Steps to Reproduce:
Start the app without Prometheus or Grafana.
Run the integration tests.
Observe that tests pass even though monitoring servers are down.
Suggested Improvement:
Add health-checks or ping tests for Prometheus and Grafana using their /metrics or /api/health endpoints.
Impact:
Ensures CI/CD pipelines accurately reflect monitoring service availability and prevent false positives.