Auto-configure KairosDB metrics
Closes gh-14821
This commit is contained in:
@@ -1468,6 +1468,15 @@ content into your application. Rather, pick only the properties that you need.
|
||||
management.metrics.export.jmx.domain=metrics # Metrics JMX domain name.
|
||||
management.metrics.export.jmx.enabled=true # Whether exporting of metrics to JMX is enabled.
|
||||
management.metrics.export.jmx.step=1m # Step size (i.e. reporting frequency) to use.
|
||||
management.metrics.export.kairos.batch-size=10000 # Number of measurements per request to use for this backend. If more measurements are found, then multiple requests will be made.
|
||||
management.metrics.export.kairos.connect-timeout=1s # Connection timeout for requests to this backend.
|
||||
management.metrics.export.kairos.enabled=true # Whether exporting of metrics to this backend is enabled.
|
||||
management.metrics.export.kairos.num-threads=2 # Number of threads to use with the metrics publishing scheduler.
|
||||
management.metrics.export.kairos.password= # Login password of the KairosDB server.
|
||||
management.metrics.export.kairos.read-timeout=10s # Read timeout for requests to this backend.
|
||||
management.metrics.export.kairos.step=1m # Step size (i.e. reporting frequency) to use.
|
||||
management.metrics.export.kairos.uri= http://localhost:8080/api/v1/datapoints # URI of the KairosDB server.
|
||||
management.metrics.export.kairos.user-name= # Login user of the KairosDB server.
|
||||
management.metrics.export.newrelic.account-id= # New Relic account ID.
|
||||
management.metrics.export.newrelic.api-key= # New Relic API key.
|
||||
management.metrics.export.newrelic.batch-size=10000 # Number of measurements per request to use for this backend. If more measurements are found, then multiple requests will be made.
|
||||
|
||||
@@ -1352,6 +1352,7 @@ monitoring systems, including:
|
||||
- <<production-ready-metrics-export-graphite,Graphite>>
|
||||
- <<production-ready-metrics-export-influx,Influx>>
|
||||
- <<production-ready-metrics-export-jmx,JMX>>
|
||||
- <<production-ready-metrics-export-kairos,KairosDB>>
|
||||
- <<production-ready-metrics-export-newrelic,New Relic>>
|
||||
- <<production-ready-metrics-export-prometheus,Prometheus>>
|
||||
- <<production-ready-metrics-export-signalfx,SignalFx>>
|
||||
@@ -1586,6 +1587,19 @@ public JmxMeterRegistry jmxMeterRegistry(JmxConfig config, Clock clock) {
|
||||
|
||||
|
||||
|
||||
[[production-ready-metrics-export-kairos]]
|
||||
==== KairosDB
|
||||
By default, metrics are exported to {micrometer-registry-documentation}/kairos[KairosDB]
|
||||
running on your local machine. The location of the https://kairosdb.github.io/[KairosDB
|
||||
server] to use can be provided using:
|
||||
|
||||
[source,properties,indent=0]
|
||||
----
|
||||
management.metrics.export.kairos.uri=http://kairosdb.example.com:8080/api/v1/datapoints
|
||||
----
|
||||
|
||||
|
||||
|
||||
[[production-ready-metrics-export-newrelic]]
|
||||
==== New Relic
|
||||
New Relic registry pushes metrics to {micrometer-registry-documentation}/new-relic[New
|
||||
|
||||
Reference in New Issue
Block a user