Skip to content

Prometheus scraping, application metrics and Grafana dashboards #20

Description

@FullFran

prom-client is already a dependency, so metrics exist. What is missing is the
Kubernetes-side plumbing and something worth looking at.

Scope

  • Confirm every runtime exposes /metrics, including worker and scheduler
  • Install kube-prometheus-stack
  • ServiceMonitor (or PodMonitor for the non-HTTP runtimes) per runtime
  • Application metrics that actually matter, not just process defaults:
    queue depth, job duration histogram, job failure rate, feed fetch latency,
    alerts delivered
  • Grafana dashboard: queue depth, worker replicas, job throughput, error rate,
    end-to-end alert latency
  • Alert rules: backlog growing for N minutes, failure rate above threshold,
    scheduler missed a run

Notes

The dashboard should make the KEDA autoscaling issue visible — replicas and
queue depth on the same time axis is the single most convincing screenshot this
project can produce.

Activity

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

    enhancementNew feature or requestkubernetesKubernetes deployment and orchestration

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions