@ConfigRoot(name="micrometer.export", phase=RUN_TIME) public class ExportConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) Map<String,String> |
azuremonitor
Azure Monitor registry configuration properties.
|
(package private) Map<String,String> |
datadog
Datadog MeterRegistry configuration
|
(package private) Map<String,String> |
jmx
JMX registry configuration properties.
|
(package private) Map<String,String> |
prometheus
Prometheus registry configuration properties.
|
(package private) Map<String,String> |
stackdriver
Stackdriver registry configuration properties.
|
| Constructor and Description |
|---|
ExportConfig() |
@ConfigItem Map<String,String> datadog
A property source for configuration of the Datadog MeterRegistry to push metrics using the Datadog API, see https://micrometer.io/docs/registry/datadog. Available values: [cols=2] !=== h!Property=Default h!Description !`apiKey=YOUR_KEY` !Define the key used to push data using the Datadog API !`publish=true` !By default, gathered metrics will be published to Datadog when the MeterRegistry is enabled. Use this attribute to selectively disable publication of metrics in some environments. !`step=1m` !The interval at which metrics are sent to Datadog. The default is 1 minute. !=== Other micrometer configuration attributes can also be specified.
@ConfigItem Map<String,String> jmx
A property source for configuration of the JMX MeterRegistry, see https://micrometer.io/docs/registry/jmx.
@ConfigItem Map<String,String> prometheus
A property source for configuration of the Prometheus MeterRegistry, see https://micrometer.io/docs/registry/prometheus
@ConfigItem Map<String,String> azuremonitor
A property source for configuration of the AzureMonitor MeterRegistry, Available values: [cols=2] !=== h!Property=Default h!Description !`instrumentation-key` !Define the instrumentationKey used to push data to Azure Insights Monitor !=== Other micrometer configuration attributes can also be specified.
@ConfigItem Map<String,String> stackdriver
A property source for configuration of the Stackdriver MeterRegistry, see https://micrometer.io/docs/registry/stackdriver. Available values: [cols=2] !=== h!Property=Default h!Description !`project-id=MY_PROJECT_ID` !Define the project id used to push data to Stackdriver Monitoring !`publish=true` !By default, gathered metrics will be published to Datadog when the MeterRegistry is enabled. Use this attribute to selectively disable publication of metrics in some environments. !`step=1m` !The interval at which metrics are sent to Stackdriver Monitoring. The default is 1 minute. !=== Other micrometer configuration attributes can also be specified.
Copyright © 2020 JBoss by Red Hat. All rights reserved.