Skip to content

Commit

Permalink
Correct metadata for http response size metrics (#1930)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurit authored Jul 9, 2024
1 parent 9fd1dda commit 0300ac2
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3966,9 +3966,9 @@ InstrumentationBuilder httpClientMetrics() {
MetricInstrument.HISTOGRAM,
"Size of HTTP client request bodies (disabled by default).");
metric(
"http.client.request.body.size",
"http.client.response.body.size",
MetricInstrument.HISTOGRAM,
"Size of HTTP client request bodies (disabled by default).");
"Size of HTTP client response bodies (disabled by default).");

return this;
}
Expand All @@ -3987,7 +3987,7 @@ InstrumentationBuilder httpServerMetrics() {
MetricInstrument.HISTOGRAM,
"Size of HTTP server request bodies (disabled by default).");
metric(
"http.server.request.body.size",
"http.server.response.body.size",
MetricInstrument.HISTOGRAM,
"Size of HTTP server response bodies (disabled by default).");

Expand Down

0 comments on commit 0300ac2

Please sign in to comment.