Merge branch '2.5.x' into 2.6.x
Closes gh-30996
This commit is contained in:
@@ -133,6 +133,30 @@ To export metrics to {micrometer-registry-docs}/datadog[Datadog], you must provi
|
||||
api-key: "YOUR_KEY"
|
||||
----
|
||||
|
||||
If you additionally provide an application key (optional), then metadata such as meter descriptions, types, and base units will also be exported:
|
||||
|
||||
[source,yaml,indent=0,subs="verbatim",configprops,configblocks]
|
||||
----
|
||||
management:
|
||||
metrics:
|
||||
export:
|
||||
datadog:
|
||||
api-key: "YOUR_API_KEY"
|
||||
application-key: "YOUR_APPLICATION_KEY"
|
||||
----
|
||||
|
||||
By default, metrics are sent to the Datadog US https://docs.datadoghq.com/getting_started/site[site] (`https://api.datadoghq.com`).
|
||||
If your Datadog project is hosted on one of the other sites, or you need to send metrics through a proxy, configure the URI accordingly:
|
||||
|
||||
[source,yaml,indent=0,subs="verbatim",configprops,configblocks]
|
||||
----
|
||||
management:
|
||||
metrics:
|
||||
export:
|
||||
datadog:
|
||||
uri: "https://api.datadoghq.eu"
|
||||
----
|
||||
|
||||
You can also change the interval at which metrics are sent to Datadog:
|
||||
|
||||
[source,yaml,indent=0,subs="verbatim",configprops,configblocks]
|
||||
|
||||
Reference in New Issue
Block a user