mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-19 00:02:03 +00:00
49ed757424
* feat: add prometheus metric queue_running_count Adds a new Prometheus metric queue_running_count that tracks the number of currently running jobs per tag, similar to the existing queue_count metric but filtered for running=true instead of running=false. Changes: - Added get_queue_running_counts() function in windmill-common/src/queue.rs - Added QUEUE_RUNNING_COUNT Prometheus metric in monitor.rs - Added /workers/queue_running_counts API endpoint - Updated OpenAPI specification - Added SQLx query cache entry Requested by @rubenfiszel 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com> * Remove database insertion for queue_running_count metrics Keep Prometheus metrics and API endpoint functionality while removing the database INSERT statements as requested. Co-authored-by: Ruben Fiszel <rubenfiszel@users.noreply.github.com> * sqlx * improve logic --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com> Co-authored-by: Ruben Fiszel <rubenfiszel@users.noreply.github.com> Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
Windmill Backend
This folder holds all backend components, the src/ folder only contains files used to build the "root" binary.
Components
| name | description |
|---|---|
| windmill-api | The API server, exposing functionality to other components and the frontend |
| windmill-audit | Contains audit functionality, allowing different components to record important actions |
| windmill-common | Common code shared by all crates |
| windmill-queue | Contains job & flow queuing functionality, commonly written to by the API server and read from by workers |
| windmill-worker | The worker. Used to process and execute flows & jobs. |
| parsers | Contains code to parse signatures in different langauges. |
Compile sqlx for offline ci
cargo sqlx prepare --workspace -- --bin windmill --features enterprise