mirror of
https://github.com/shiroyashik/sculptor.git
synced 2025-12-06 13:01:12 +03:00
metrics names changed + project status changed
Some checks failed
Push Dev / docker (push) Has been cancelled
Some checks failed
Push Dev / docker (push) Has been cancelled
This commit is contained in:
parent
13e2a54eb2
commit
a08985544f
3 changed files with 6 additions and 6 deletions
|
|
@ -3,8 +3,8 @@
|
||||||
|
|
||||||
# The Sculptor
|
# The Sculptor
|
||||||
|
|
||||||
[](https://github.com/shiroyashik/sculptor/actions/workflows/dev-release.yml)
|
[](https://github.com/shiroyashik/sculptor/actions/workflows/dev-release.yml)
|
||||||

|
[](http://unmaintained.tech/)
|
||||||
|
|
||||||
Unofficial backend for the Minecraft mod [Figura](https://github.com/FiguraMC/Figura).
|
Unofficial backend for the Minecraft mod [Figura](https://github.com/FiguraMC/Figura).
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
* Русский
|
* Русский
|
||||||
|
|
||||||
# The Sculptor
|
# The Sculptor
|
||||||
[](https://github.com/shiroyashik/sculptor/actions/workflows/dev-release.yml)
|
[](https://github.com/shiroyashik/sculptor/actions/workflows/dev-release.yml)
|
||||||

|
[](http://unmaintained.tech/)
|
||||||
|
|
||||||
Неофициальный бэкенд для Minecraft мода [Figura](https://github.com/FiguraMC/Figura).
|
Неофициальный бэкенд для Minecraft мода [Figura](https://github.com/FiguraMC/Figura).
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -69,11 +69,11 @@ fn http_route<B>(req: &Request<B>) -> &str {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub static REQUESTS: LazyLock<prometheus::HistogramVec> = LazyLock::new(|| {
|
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(|| {
|
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(|| {
|
pub static PINGS_ERROR: LazyLock<prometheus::IntCounter> = LazyLock::new(|| {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue