Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/telemetry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ pub(crate) fn record_request_duration(data: RequestDuration) {
static PROM_REQUEST_DURATION_MS: LazyLock<prometheus::Histogram> = LazyLock::new(|| {
let histogram = prometheus::Histogram::with_opts(
HistogramOpts::new(
"request_duration_ms",
"http_server_request_duration",
"Duration of get_object requests in milliseconds",
)
.buckets(vec![
Expand Down Expand Up @@ -683,7 +683,7 @@ pub(crate) fn record_response_body_size(data: ResponseBodySize) {
static PROM_RESPONSE_BODY_SIZE_BYTES: LazyLock<prometheus::Histogram> = LazyLock::new(|| {
let histogram = prometheus::Histogram::with_opts(
HistogramOpts::new(
"response_body_size_bytes",
"http_server_response_body_size",
"Size of get_object response bodies in bytes",
)
.buckets(prometheus::exponential_buckets(1024.0, 4.0, 10).unwrap()),
Expand Down