Files
letro-authentication-service/crates/tasks/Cargo.toml
Quentin Gliech 2dbfbfb03f Add metrics to the job queue
This adds:

 - a histogram of the time it takes to process a job for each queue,
   with the status of the job (success, failure, etc.)
 - a histogram which records the time it takes to do a "tick", fetch jobs
 - a counter of the number of jobs currently in-flight for each queue
 - a counter which tracks the reasons why the worker got worken up
2024-12-16 14:57:17 +01:00

47 lines
1.1 KiB
TOML

[package]
name = "mas-tasks"
version.workspace = true
authors.workspace = true
edition.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
publish = false
[lints]
workspace = true
[dependencies]
anyhow.workspace = true
async-stream = "0.3.6"
async-trait.workspace = true
cron.workspace = true
chrono.workspace = true
event-listener = "5.3.1"
futures-lite = "2.5.0"
rand.workspace = true
rand_chacha = "0.3.1"
sqlx.workspace = true
thiserror.workspace = true
tokio.workspace = true
tokio-util.workspace = true
tower.workspace = true
tracing.workspace = true
tracing-opentelemetry.workspace = true
opentelemetry.workspace = true
opentelemetry-semantic-conventions.workspace = true
ulid.workspace = true
url.workspace = true
serde.workspace = true
serde_json.workspace = true
mas-data-model.workspace = true
mas-email.workspace = true
mas-i18n.workspace = true
mas-matrix.workspace = true
mas-router.workspace = true
mas-storage.workspace = true
mas-storage-pg.workspace = true
mas-templates.workspace = true
mas-tower.workspace = true