{"repo":"BuilderHub/buildkit-metrics-agent","free":true,"listed":false,"github":"https://github.com/BuilderHub/buildkit-metrics-agent","clone":"git clone https://github.com/BuilderHub/buildkit-metrics-agent.git","description":"A lightweight BuildKit metrics agent","language":"Rust","stars":13,"topics":["buildkit","metrics","prometheus","rust"],"license":"MIT","category":"analytics","readme_excerpt":"BuildKit Metrics Agent &nbsp; A lightweight Rust application that scrapes and exposes BuildKit metrics. Metrics Metric Type Labels Description ------------------------------------ --------- --------------------- ---------------------------------------- buildkit info gauge version , revision BuildKit version info (always 1 ) buildkit workers total gauge Number of active workers buildkit cache records total gauge Number of cache records buildkit cache size bytes gauge Total cache size in bytes buildkit cache size by type bytes gauge record type Cache size in bytes by record type buildkit builds total counter Total builds observed buildkit builds succeeded total counter Builds that completed successfully buildkit builds failed total counter Builds that failed buildkit builds cached steps total counter Total cache-hit build steps buildkit builds total steps total counter Total build steps buildkit build duration seconds histogram Build duration from created to completed buildkit scrape failures total counter source Failed Control API fetches by source Grafana A pre-built dashboard is provided at examples/grafana/buildkit-metrics-dashboard.json . Import: In Grafana, go to Dashboards → Import , upload the JSON file, and select your Prometheus datasource when prompted. The dashboard includes: - Overview stats — total builds, succeeded, failed, and success rate over the selected time range; current cache size and worker count. - Rates & trends — build and failure rate over time; step","default_branch":null,"files":null,"tree":[],"storefront":"/r/BuilderHub","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/BuilderHub/buildkit-metrics-agent/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}