Skip to content

Commit 29dd754

Browse files
committed
Align metric names with main
1 parent 70e8ebd commit 29dd754

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

quickwit/quickwit-common/src/io.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ static WRITE_BYTES: LazyLock<Counter> = LazyLock::new(|| {
5151
counter!(
5252
name: "write_bytes",
5353
description: "Number of bytes written by a given component in [indexer, merger, deleter, split_downloader_{merge,delete}]",
54-
subsystem: "io",
54+
subsystem: "",
5555
)
5656
});
5757

quickwit/quickwit-serve/src/metrics.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ pub(crate) static HTTP_REQUESTS_TOTAL: LazyLock<Counter> = LazyLock::new(|| {
2121
counter!(
2222
name: "http_requests_total",
2323
description: "Total number of HTTP requests processed.",
24-
subsystem: "serve",
24+
subsystem: "",
2525
)
2626
});
2727

2828
pub(crate) static REQUEST_DURATION_SECS: LazyLock<Histogram> = LazyLock::new(|| {
2929
histogram!(
3030
name: "request_duration_secs",
3131
description: "Response time in seconds",
32-
subsystem: "serve",
32+
subsystem: "",
3333
// last bucket is 163.84s
3434
buckets: exponential_buckets(0.02, 2.0, 14).unwrap(),
3535
)
@@ -39,22 +39,22 @@ pub(crate) static ONGOING_REQUESTS: LazyLock<Gauge> = LazyLock::new(|| {
3939
gauge!(
4040
name: "ongoing_requests",
4141
description: "Number of ongoing requests.",
42-
subsystem: "serve",
42+
subsystem: "",
4343
)
4444
});
4545

4646
pub(crate) static PENDING_REQUESTS: LazyLock<Gauge> = LazyLock::new(|| {
4747
gauge!(
4848
name: "pending_requests",
4949
description: "Number of pending requests.",
50-
subsystem: "serve",
50+
subsystem: "",
5151
)
5252
});
5353

5454
pub(crate) static CIRCUIT_BREAK_TOTAL: LazyLock<Counter> = LazyLock::new(|| {
5555
counter!(
5656
name: "circuit_break_total",
5757
description: "Circuit breaker counter",
58-
subsystem: "serve",
58+
subsystem: "grpc",
5959
)
6060
});

quickwit/quickwit-storage/src/metrics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ pub(crate) static OBJECT_STORAGE_PUT_PARTS: LazyLock<Counter> = LazyLock::new(||
132132
counter!(
133133
name: "object_storage_puts_parts",
134134
description: "Number of object parts uploaded.",
135-
subsystem: "storage",
135+
subsystem: "",
136136
)
137137
});
138138

0 commit comments

Comments
 (0)