Skip to content

Integration tests do not verify Prometheus and Grafana server availability #3

@DivKiit

Description

@DivKiit

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions