Refer to OTLP instead of OpenTelemetry

Closes gh-43727
This commit is contained in:
Andy Wilkinson 2025-01-08 09:53:15 +00:00
parent 91c0e23c64
commit 7754b2e450
1 changed files with 5 additions and 3 deletions

View File

@ -507,10 +507,10 @@ Finally, you can take full control by defining your own javadoc:io.micrometer.ne
[[actuator.metrics.export.otlp]]
=== OpenTelemetry
=== OTLP
By default, metrics are exported to {url-micrometer-docs-implementations}/otlp[OpenTelemetry] running on your local machine.
You can provide the location of the https://opentelemetry.io/[OpenTelemetry metric endpoint] to use by using:
By default, metrics are exported over the {url-micrometer-docs-implementations}/otlp[OpenTelemetry protocol (OTLP)] to a consumer running on your local machine.
To export to another location, provide the location of the https://opentelemetry.io/[OTLP metrics endpoint] using configprop:management.otlp.metrics.export.url[]:
[configprops,yaml]
----
@ -521,6 +521,8 @@ management:
url: "https://otlp.example.com:4318/v1/metrics"
----
Custom headers, for example for authentication, can also be provided using configprop:management.otlp.metrics.export.headers.*[] properties.
[[actuator.metrics.export.prometheus]]