@ -37,9 +37,9 @@ The following example disables Datadog:
[source,yaml,indent=0,subs="verbatim",configprops,configblocks]
----
management:
datadog:
metrics:
export:
datadog:
enabled: false
----
@ -48,9 +48,9 @@ You can also disable all registries unless stated otherwise by the registry-spec
[source,yaml,indent=0,subs="verbatim",configprops,configblocks]
----
management:
defaults:
metrics:
export:
defaults:
enabled: false
----
@ -89,9 +89,9 @@ To export metrics to SaaS {micrometer-registry-docs}/appOptics[AppOptics], your
[source,yaml,indent=0,subs="verbatim",configprops,configblocks]
----
management:
appoptics:
metrics:
export:
appoptics:
api-token: "YOUR_TOKEN"
----
@ -105,9 +105,9 @@ You can provide the location of the https://github.com/Netflix/atlas[Atlas serve
[source,yaml,indent=0,subs="verbatim",configprops,configblocks]
----
management:
atlas:
metrics:
export:
atlas:
uri: "https://atlas.example.com:7101/api/v1/publish"
----
@ -121,9 +121,9 @@ To export metrics to {micrometer-registry-docs}/datadog[Datadog], you must provi
[source,yaml,indent=0,subs="verbatim",configprops,configblocks]
----
management:
datadog:
metrics:
export:
datadog:
api-key: "YOUR_KEY"
----
@ -132,9 +132,9 @@ You can also change the interval at which metrics are sent to Datadog:
[source,yaml,indent=0,subs="verbatim",configprops,configblocks]
----
management:
datadog:
metrics:
export:
datadog:
step: "30s"
----
@ -174,9 +174,9 @@ The example below configures metrics export using the `example` environment id:
[source,yaml,indent=0,subs="verbatim",configprops,configblocks]
----
management:
dynatrace:
metrics:
export:
dynatrace:
uri: "https://example.live.dynatrace.com/api/v2/metrics/ingest"
api-token: "YOUR_TOKEN"
----
@ -194,9 +194,9 @@ In this scenario, the local OneAgent endpoint is used:
[source,yaml,indent=0,subs="verbatim",configprops,configblocks]
----
management:
dynatrace:
metrics:
export:
dynatrace:
# Specify uri and api-token here if not using the local OneAgent endpoint.
v2:
metric-key-prefix: "your.key.prefix"
@ -217,9 +217,9 @@ To export metrics to {micrometer-registry-docs}/dynatrace[Dynatrace], your API t
[source,yaml,indent=0,subs="verbatim",configprops,configblocks]
----
management:
dynatrace:
metrics:
export:
dynatrace:
uri: "https://{your-environment-id}.live.dynatrace.com"
api-token: "YOUR_TOKEN"
v1:
@ -239,9 +239,9 @@ The following example sets the export interval to 30 seconds:
[source,yaml,indent=0,subs="verbatim",configprops,configblocks]
----
management:
dynatrace:
metrics:
export:
dynatrace:
step: "30s"
----
@ -257,9 +257,9 @@ You can provide the location of the Elastic server to use by using the following
[source,yaml,indent=0,subs="verbatim",configprops,configblocks]
----
management:
elastic:
metrics:
export:
elastic:
host: "https://elastic.example.com:8086"
----
@ -271,9 +271,9 @@ You can provide the http://ganglia.sourceforge.net[Ganglia server] host and port
[source,yaml,indent=0,subs="verbatim",configprops,configblocks]
----
management:
ganglia:
metrics:
export:
ganglia:
host: "ganglia.example.com"
port: 9649
----
@ -288,9 +288,9 @@ You can provide the https://graphiteapp.org[Graphite server] host and port, as t
[source,yaml,indent=0,subs="verbatim",configprops,configblocks]
----
management:
graphite:
metrics:
export:
graphite:
host: "graphite.example.com"
port: 9004
----
@ -315,9 +315,9 @@ To export metrics to SaaS {micrometer-registry-docs}/humio[Humio], you must prov
[source,yaml,indent=0,subs="verbatim",configprops,configblocks]
----
management:
humio:
metrics:
export:
humio:
api-token: "YOUR_TOKEN"
----
@ -326,9 +326,9 @@ You should also configure one or more tags to identify the data source to which
[source,yaml,indent=0,subs="verbatim",configprops,configblocks]
----
management:
humio:
metrics:
export:
humio:
tags:
alpha: "a"
bravo: "b"
@ -345,9 +345,9 @@ You can provide the location of the https://www.influxdata.com[Influx server] to
[source,yaml,indent=0,subs="verbatim",configprops,configblocks]
----
management:
influx:
metrics:
export:
influx:
uri: "https://influx.example.com:8086"
----
@ -362,9 +362,9 @@ You can provide the domain to use by using:
[source,yaml,indent=0,subs="verbatim",configprops,configblocks]
----
management:
jmx:
metrics:
export:
jmx:
domain: "com.example.app.metrics"
----
@ -388,9 +388,9 @@ You can provide the location of the https://kairosdb.github.io/[KairosDB server]
[source,yaml,indent=0,subs="verbatim",configprops,configblocks]
----
management:
kairos:
metrics:
export:
kairos:
uri: "https://kairosdb.example.com:8080/api/v1/datapoints"
----
@ -404,9 +404,9 @@ To export metrics to https://newrelic.com[New Relic], you must provide your API
[source,yaml,indent=0,subs="verbatim",configprops,configblocks]
----
management:
newrelic:
metrics:
export:
newrelic:
api-key: "YOUR_KEY"
account-id: "YOUR_ACCOUNT_ID"
----
@ -416,9 +416,9 @@ You can also change the interval at which metrics are sent to New Relic:
[source,yaml,indent=0,subs="verbatim",configprops,configblocks]
----
management:
newrelic:
metrics:
export:
newrelic:
step: "30s"
----
@ -427,9 +427,9 @@ By default, metrics are published through REST calls, but you can also use the J
[source,yaml,indent=0,subs="verbatim",configprops,configblocks]
----
management:
newrelic:
metrics:
export:
newrelic:
client-provider-type: "insights-agent"
----
@ -466,10 +466,10 @@ To enable Prometheus Pushgateway support, add the following dependency to your p
</dependency>
----
When the Prometheus Pushgateway dependency is present on the classpath and the configprop:management.metrics.export.prometheus .pushgateway.enabled[] property is set to `true`, a `PrometheusPushGatewayManager` bean is auto-configured.
When the Prometheus Pushgateway dependency is present on the classpath and the configprop:management.prometheus. metrics.export.pushgateway.enabled[] property is set to `true`, a `PrometheusPushGatewayManager` bean is auto-configured.
This manages the pushing of metrics to a Prometheus Pushgateway.
You can tune the `PrometheusPushGatewayManager` by using properties under `management.metrics.export.prometheus .pushgateway`.
You can tune the `PrometheusPushGatewayManager` by using properties under `management.prometheus. metrics.export.pushgateway`.
For advanced configuration, you can also provide your own `PrometheusPushGatewayManager` bean.
@ -482,9 +482,9 @@ To export metrics to https://www.signalfx.com[SignalFx], you must provide your a
[source,yaml,indent=0,subs="verbatim",configprops,configblocks]
----
management:
signalfx:
metrics:
export:
signalfx:
access-token: "YOUR_ACCESS_TOKEN"
----
@ -493,9 +493,9 @@ You can also change the interval at which metrics are sent to SignalFx:
[source,yaml,indent=0,subs="verbatim",configprops,configblocks]
----
management:
signalfx:
metrics:
export:
signalfx:
step: "30s"
----
@ -512,9 +512,9 @@ You can also disable it explicitly:
[source,yaml,indent=0,subs="verbatim",configprops,configblocks]
----
management:
simple:
metrics:
export:
simple:
enabled: false
----
@ -528,9 +528,9 @@ To export metrics to SaaS {micrometer-registry-docs}/stackdriver[Stackdriver], y
[source,yaml,indent=0,subs="verbatim",configprops,configblocks]
----
management:
stackdriver:
metrics:
export:
stackdriver:
project-id: "my-project"
----
@ -539,9 +539,9 @@ You can also change the interval at which metrics are sent to Stackdriver:
[source,yaml,indent=0,subs="verbatim",configprops,configblocks]
----
management:
stackdriver:
metrics:
export:
stackdriver:
step: "30s"
----
@ -556,9 +556,9 @@ You can provide the StatsD agent host, port, and protocol to use by using:
[source,yaml,indent=0,subs="verbatim",configprops,configblocks]
----
management:
statsd:
metrics:
export:
statsd:
host: "statsd.example.com"
port: 9125
protocol: "udp"
@ -569,9 +569,9 @@ You can also change the StatsD line protocol to use (it defaults to Datadog):
[source,yaml,indent=0,subs="verbatim",configprops,configblocks]
----
management:
statsd:
metrics:
export:
statsd:
flavor: "etsy"
----
@ -585,9 +585,9 @@ If you are exporting metrics to https://www.wavefront.com/[Wavefront] directly,
[source,yaml,indent=0,subs="verbatim",configprops,configblocks]
----
management:
wavefront:
metrics:
export:
wavefront:
api-token: "YOUR_API_TOKEN"
----
@ -596,9 +596,9 @@ Alternatively, you can use a Wavefront sidecar or an internal proxy in your envi
[source,yaml,indent=0,subs="verbatim",configprops,configblocks]
----
management:
wavefront:
metrics:
export:
wavefront:
uri: "proxy://localhost:2878"
----
@ -609,9 +609,9 @@ You can also change the interval at which metrics are sent to Wavefront:
[source,yaml,indent=0,subs="verbatim",configprops,configblocks]
----
management:
wavefront:
metrics:
export:
wavefront:
step: "30s"
----