Skip to content

Monitor GitHub Webhook Delivery Failures & Success Rates #488

@swageblock

Description

@swageblock

Summary

We would like to request support for monitoring GitHub webhook delivery status (success/failure) within the Grafana GitHub Datasource plugin. This would enable visibility into webhook reliability and provide a safety net for critical automations such as Probot integrations that depend on timely delivery.

Use Case

In our usage of Probot, we rely on GitHub webhooks to trigger automation tasks. If webhook delivery silently fails, critical automation can be disrupted without immediate detection. To mitigate this risk, we would like to build a dashboard that tracks delivery success rates and highlights recent failures, allowing us to:

  • Detect webhook outages or misconfigurations.
  • Alert based on failure thresholds.
  • Retrospectively correlate webhook failures with automation gaps.

Feature Proposal

We propose support for a new query type, Webhooks, which could:

  • Include status (delivered, failed, etc.), timestamps, event types, and response codes.
  • Allow filtering by result status, event type, or repository.
  • Optionally include delivery latency metrics (if available from the GitHub API).

This could be based on GitHub's REST API for Webhook Deliveries, potentially added as a new handler in the datasource backend.

** It may be important to note that while the rest API supports viewing individual webhook receipts that might be valueable to others, we are only looking for Rate metrics.

Example Query Panel

A possible table visualization might include:

Timestamp Event Status Response Code Repository
2025-07-16 09:24 pull_request Failed 503 my-org/my-repo

Value to Community

This would allow teams using GitHub webhooks for automation (e.g., CI/CD triggers, bots) to easily track and troubleshoot webhook behavior over time using Grafana dashboards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions