metrics names changed + project status changed
Some checks failed
Push Dev / docker (push) Has been cancelled

This commit is contained in:
Shiroyasha 2025-03-06 23:47:43 +03:00
parent 13e2a54eb2
commit a08985544f
Signed by: shiroyashik
GPG key ID: E4953D3940D7860A
3 changed files with 6 additions and 6 deletions

View file

@ -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).

View file

@ -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).

View file

@ -69,11 +69,11 @@ fn http_route<B>(req: &Request<B>) -> &str {
}
pub static REQUESTS: LazyLock<prometheus::HistogramVec> = 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<prometheus::HistogramVec> = 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<prometheus::IntCounter> = LazyLock::new(|| {