diff --git a/docs/src/main/asciidoc/micrometer.adoc b/docs/src/main/asciidoc/micrometer.adoc index ee3eb4039b207..bc86088d5da0e 100644 --- a/docs/src/main/asciidoc/micrometer.adoc +++ b/docs/src/main/asciidoc/micrometer.adoc @@ -401,7 +401,7 @@ string. For example, setting .Exported metrics format By default, the metrics are exported using the Prometheus format `application/openmetrics-text`, -you can revert to the former format by specifying the `Accept` request header to `plain/text` (`curl -H "Accept: plain/text" localhost:8080/q/metrics/`). +you can revert to the former format by specifying the `Accept` request header to `plain/text` (`curl -H "Accept: text/plain" localhost:8080/q/metrics/`). == Using MeterFilter to configure metrics diff --git a/docs/src/main/asciidoc/telemetry-micrometer-tutorial.adoc b/docs/src/main/asciidoc/telemetry-micrometer-tutorial.adoc index 5a2d0068d735f..7f77a0a0ac0f1 100644 --- a/docs/src/main/asciidoc/telemetry-micrometer-tutorial.adoc +++ b/docs/src/main/asciidoc/telemetry-micrometer-tutorial.adoc @@ -90,7 +90,7 @@ NOTE: Metrics appear lazily, you often won't see any data for your endpoint unti .Exported metrics format By default, the metrics are exported using the Prometheus format `application/openmetrics-text`, -you can revert to the former format by specifying the `Accept` request header to `plain/text` (`curl -H "Accept: plain/text" localhost:8080/q/metrics/`). +you can revert to the former format by specifying the `Accept` request header to `plain/text` (`curl -H "Accept: text/plain" localhost:8080/q/metrics/`). == Inject the MeterRegistry