Skip to content

Commit

Permalink
Merge branch '3.4.x'
Browse files Browse the repository at this point in the history
Closes gh-43730
  • Loading branch information
wilkinsona committed Jan 8, 2025
2 parents f802911 + e1e8487 commit c6b958c
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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]
----
Expand All @@ -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]]
Expand Down

0 comments on commit c6b958c

Please sign in to comment.