* Added Prometheus support to Tabby. 1) Added `axum-prometheus` to Cargo.toml 2) Added `metrics.rs` as a simple route to produce a metrics endpoint with prometheus-formatted events 3) Added `/v1/metrics` endpoint with API doc entry 4) Added the `PrometheusLayer` to the root layers. This change effectively allows for external Prometheus to scrape metrics from Tabby during execution in order to monitor operations (resources, timings and overall usage). * changed application/text to text/plain to adhere to rfc1341 * Update Makefile * Update Makefile * Update Makefile * Update Makefile * Update Makefile * Update Makefile * - Reworked code to fit upstream changes - Added Prometheus layer and handle to worker.rs * Update CHANGELOG.md * [autofix.ci] apply automated fixes * Simplified worker metrics route definition * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) --------- Co-authored-by: Meng Zhang <meng@tabbyml.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| http-api-bindings | ||
| juniper-axum | ||
| llama-cpp-bindings | ||
| tabby | ||
| tabby-common | ||
| tabby-download | ||
| tabby-inference | ||
| tabby-scheduler | ||