Skip to content

feat(telemetry): monitor GitHub and Cloudflare published service status #1235

Closed

Description

@dan-petty

Description

Monitor external published service status for GitHub and Cloudflare via their public Atlassian Statuspage v2 REST APIs:

  • CLI inspection commands: devops gh status and devops cloudflare service-status (and unified devops status).
  • Telemetry & Prometheus metrics: devops_cli_upstream_service_status and devops_cli_upstream_component_status.
  • Grafana dashboard panels: Cloudflare edge and service status in ingress-tunnel.json, and GitHub published service health in project-metrics.json.
  • Proactive error diagnostics when GitHub/Cloudflare API calls fail or tunnel drops occur.

Acceptance Criteria

  • Pydantic models for Statuspage v2 API responses with bounded fields and schema invariants.
  • Client helpers fetching published status without auth from githubstatus.com and cloudflarestatus.com.
  • CLI commands devops gh status, devops cloudflare service-status, and devops status.
  • Prometheus metric instruments for service and component health indicators in devops_cli.telemetry.instruments.
  • Grafana dashboard panels on ingress-tunnel.json and project-metrics.json.
  • Unit tests with tuple equality assertions and 100% CI pass via uv run devops ci.

Activity

  1. added this to the v0.2.27 milestone on Oct 5, 2026
  2. added
    type/feature
    scope/k8s
    scope/cli
    scope/telemetry
    priority/p2-medium
    on Oct 5, 2026
  3. removed this from the v0.2.27 milestone on Oct 5, 2026
  4. dan-petty-bot commented on Oct 5, 2026

    @dan-petty-bot
    Collaborator

    Moved to the backlog: after v0.2.27 started, only a critical fix can join it. A person can place it in a planned release, and that placement stands. (devops roadmap reprioritize)

  5. added this to the v0.2.27 milestone on Oct 5, 2026
  6. removed this from the v0.2.27 milestone on Oct 5, 2026
  7. dan-petty-bot commented on Oct 5, 2026

    @dan-petty-bot
    Collaborator

    Moved to the backlog: after v0.2.27 started, only a critical fix can join it. A person can place it in a planned release, and that placement stands. (devops roadmap reprioritize)

  8. added this to the v0.2.27 milestone on Oct 5, 2026
  9. dan-petty-bot commented on Oct 5, 2026

    @dan-petty-bot
    Collaborator

    What changed

    #1238, merged into release/v0.2.27 as ce29eae.

    Summary

    • Investigate and resolve ghost 'Value' series appearing in Grafana dashboards (llm-stack.json and k8s-views-global.json).
    • Implement published service status monitoring for upstream platforms (GitHub and Cloudflare) across CLI, OpenTelemetry/Prometheus metrics, and Grafana dashboard visualizations.

    Closes #1235

    29 file(s) changed.

    How it was verified

    Check runs at b697fc3:

    • Prune PR DevContainer Images: pass
    • Analyze (python): pass
    • CodeQL: pass
    • Analyze (actions): pass
    • Static Analysis: pass
    • Tests & Coverage: pass
    • DevContainer Image: skipping
    • Service Image: skipping
    • Dependency Freshness: skipping

    Acceptance Criteria of docs/agent/tasks/task-1235-monitor-github-cloudflare-published-service-status.md:

    • Litellm gateway panels in llm-stack.json filter unrouted samples ({api_base!=""}) preventing "Value" ghost series.
    • Node utilization panels in k8s-views-global.json use valid {{ instance }} legend placeholders.
    • Statuspage models and client handle GitHub and Cloudflare status JSON APIs defensively with bounded timeouts and error handling.
    • devops gh status, devops cloudflare service-status, and devops status commands provide human-readable Rich table and JSON output.
    • OpenTelemetry counters devops_cli_upstream_service_status and devops_cli_upstream_component_status emit correctly and update Prometheus metrics.
    • Ingress and project metrics Grafana dashboards include upstream status panels with mapped thresholds.
    • Unit test suite passes with structural tuple equality assertions.
    • uv run devops ci quality gates pass with 100% success.
  10. added a commit that references this issue on Oct 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority/p2-mediumscope/cliscope/k8sscope/telemetrytype/feature

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions