diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..9fa1af7 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,13 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to +[Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## v2.1.0 + +### Added + +- More relevant prometheus metrics to the worker diff --git a/Cargo.lock b/Cargo.lock index 091e58e..c8d0f25 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2748,7 +2748,7 @@ dependencies = [ [[package]] name = "lgn-worker" -version = "0.2.0" +version = "0.2.1" dependencies = [ "anyhow", "async-trait", diff --git a/README.md b/README.md index d600ed0..0e239af 100644 --- a/README.md +++ b/README.md @@ -58,3 +58,11 @@ vim .env ```sh docker compose up -d ``` + +### Observability +#### Metrics +The worker exposes the prometheus metrics by default on port 9000 +#### Dashboard +Starting from worker version `v0.2.1`, you can import this [grafana dashboard ](https://grafana.com/grafana/dashboards/21302-worker/) + + diff --git a/lgn-worker/Cargo.toml b/lgn-worker/Cargo.toml index a941e55..61e22b3 100644 --- a/lgn-worker/Cargo.toml +++ b/lgn-worker/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lgn-worker" -version = "0.2.0" +version = "0.2.1" edition = "2021" [[bin]]