Compare commits
1 Commits
feature/im
...
f1a7cbc0f0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f1a7cbc0f0 |
@@ -7,7 +7,7 @@ use actix_web_prom::PrometheusMetrics;
|
||||
use database::{DbError, DbErrorKind, FavoriteDao, SqliteFavoriteDao, SqliteUserDao, UserDao};
|
||||
use futures::stream::StreamExt;
|
||||
use lazy_static::lazy_static;
|
||||
use prometheus::{self, Gauge};
|
||||
use prometheus::{self, IntGauge};
|
||||
use std::path::{Path, PathBuf};
|
||||
use std::sync::mpsc::channel;
|
||||
use std::sync::Arc;
|
||||
@@ -43,12 +43,12 @@ mod files;
|
||||
mod video;
|
||||
|
||||
lazy_static! {
|
||||
static ref IMAGE_GAUGE: Gauge = Gauge::new(
|
||||
static ref IMAGE_GAUGE: IntGauge = IntGauge::new(
|
||||
"imageserver_image_total",
|
||||
"Count of the images on the server"
|
||||
)
|
||||
.unwrap();
|
||||
static ref VIDEO_GAUGE: Gauge = Gauge::new(
|
||||
static ref VIDEO_GAUGE: IntGauge = IntGauge::new(
|
||||
"imageserver_video_total",
|
||||
"Count of the videos on the server"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user