diff --git a/README.md b/README.md index 06d75b1..ca6544c 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ # The Sculptor -[![Push Dev](https://github.com/shiroyashik/sculptor/actions/workflows/dev-release.yml/badge.svg?branch=dev)](https://github.com/shiroyashik/sculptor/actions/workflows/dev-release.yml) -![maintenance-status](https://img.shields.io/badge/maintenance-actively--developed-brightgreen.svg) +[![Push Dev](https://github.com/shiroyashik/sculptor/actions/workflows/dev-release.yml/badge.svg?branch=master)](https://github.com/shiroyashik/sculptor/actions/workflows/dev-release.yml) +[![No Maintenance Intended](http://unmaintained.tech/badge.svg)](http://unmaintained.tech/) Unofficial backend for the Minecraft mod [Figura](https://github.com/FiguraMC/Figura). diff --git a/README.ru.md b/README.ru.md index 1bc338e..5c35b45 100644 --- a/README.ru.md +++ b/README.ru.md @@ -2,8 +2,8 @@ * Русский # The Sculptor -[![Push Dev](https://github.com/shiroyashik/sculptor/actions/workflows/dev-release.yml/badge.svg?branch=dev)](https://github.com/shiroyashik/sculptor/actions/workflows/dev-release.yml) -![maintenance-status](https://img.shields.io/badge/maintenance-actively--developed-brightgreen.svg) +[![Push Dev](https://github.com/shiroyashik/sculptor/actions/workflows/dev-release.yml/badge.svg?branch=master)](https://github.com/shiroyashik/sculptor/actions/workflows/dev-release.yml) +[![No Maintenance Intended](http://unmaintained.tech/badge.svg)](http://unmaintained.tech/) Неофициальный бэкенд для Minecraft мода [Figura](https://github.com/FiguraMC/Figura). diff --git a/src/metrics.rs b/src/metrics.rs index 9ab0eaa..7f8e0da 100644 --- a/src/metrics.rs +++ b/src/metrics.rs @@ -69,11 +69,11 @@ fn http_route(req: &Request) -> &str { } pub static REQUESTS: LazyLock = LazyLock::new(|| { - register_histogram_vec!("sculptor_requests_count", "Number of requests", &["method", "uri", "code"], vec![0.025, 0.250, 0.500]).unwrap() + register_histogram_vec!("sculptor_requests", "Number of requests", &["method", "route", "code"], vec![0.025, 0.250, 0.500]).unwrap() }); pub static PINGS: LazyLock = LazyLock::new(|| { - register_histogram_vec!("sculptor_pings_count", "Number of pings", &["type"], vec![0.000001, 0.00001, 0.0001]).unwrap() + register_histogram_vec!("sculptor_pings", "Number of pings", &["type"], vec![0.000001, 0.00001, 0.0001]).unwrap() }); pub static PINGS_ERROR: LazyLock = LazyLock::new(|| {