Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

4 watching

Forks

Repository files navigation

pipeline-metrics

Flask service that collects and exposes Prometheus metrics for operator pipelines.

Metrics collected:

  • Pipeline run counts and durations (pushed by operator-pipelines Tekton tasks via POST /v1/metrics/pipelinerun)
  • Operator repo statistics — operator counts, bundle counts, FBC migration status (scraped from git repos every 24h)

Endpoints:

  • GET /ping — health check
  • GET /metrics — Prometheus metrics
  • POST /v1/metrics/pipelinerun — ingest pipeline run data

Local development

Run with podman

podman build -t pipeline-metrics .
podman run -p 8080:8080 -v ./repos.yml:/home/user/repos.yml:Z pipeline-metrics

Verify

curl http://localhost:8080/ping
curl http://localhost:8080/metrics

Quality gates

pip install -e '.[dev]'
tox  # mypy, black, pylint, yamllint, bandit, pip-audit

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages