diff --git a/metadata-generator/src/main/java/com/splunk/opentelemetry/tools/MetadataGenerator.java b/metadata-generator/src/main/java/com/splunk/opentelemetry/tools/MetadataGenerator.java index 105550c23..d35229e8f 100644 --- a/metadata-generator/src/main/java/com/splunk/opentelemetry/tools/MetadataGenerator.java +++ b/metadata-generator/src/main/java/com/splunk/opentelemetry/tools/MetadataGenerator.java @@ -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; } @@ -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).");