|
|
|
|
@ -1435,11 +1435,12 @@ to use can be provided using:
@@ -1435,11 +1435,12 @@ to use can be provided using:
|
|
|
|
|
management.metrics.export.graphite.port=9004 |
|
|
|
|
---- |
|
|
|
|
|
|
|
|
|
Micrometer provides a default `HierarchicalNameMapper` that governs |
|
|
|
|
how a dimensional meter id is mapped to flat hierarchical names. |
|
|
|
|
Micrometer provides a default `HierarchicalNameMapper` that governs how a dimensional |
|
|
|
|
meter id is mapped to flat hierarchical names. |
|
|
|
|
|
|
|
|
|
TIP: To take control over this behaviour, define your `GraphiteMeterRegistry` and supply your |
|
|
|
|
own `HierarchicalNameMapper`. |
|
|
|
|
TIP: To take control over this behaviour, define your `GraphiteMeterRegistry` and supply |
|
|
|
|
your own `HierarchicalNameMapper`. An auto-configured `GraphiteConfig` and `Clock` beans |
|
|
|
|
are provided unless you define your own: |
|
|
|
|
|
|
|
|
|
[source,java] |
|
|
|
|
---- |
|
|
|
|
@ -1449,6 +1450,8 @@ public GraphiteMeterRegistry graphiteMeterRegistry(GraphiteConfig config, Clock
@@ -1449,6 +1450,8 @@ public GraphiteMeterRegistry graphiteMeterRegistry(GraphiteConfig config, Clock
|
|
|
|
|
} |
|
|
|
|
---- |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[production-ready-metrics-export-influx]] |
|
|
|
|
==== Influx |
|
|
|
|
By default, metrics are exported to {micrometer-registry-documentation}/influx[Influx] |
|
|
|
|
@ -1470,7 +1473,8 @@ view metrics locally. Micrometer provides a default `HierarchicalNameMapper` tha
@@ -1470,7 +1473,8 @@ view metrics locally. Micrometer provides a default `HierarchicalNameMapper` tha
|
|
|
|
|
how a dimensional meter id is mapped to flat hierarchical names. |
|
|
|
|
|
|
|
|
|
TIP: To take control over this behaviour, define your `JmxMeterRegistry` and supply your |
|
|
|
|
own `HierarchicalNameMapper`. |
|
|
|
|
own `HierarchicalNameMapper`. An auto-configured `JmxConfig` and `Clock` beans are |
|
|
|
|
provided unless you define your own: |
|
|
|
|
|
|
|
|
|
[source,java] |
|
|
|
|
---- |
|
|
|
|
@ -1480,6 +1484,8 @@ public JmxMeterRegistry jmxMeterRegistry(JmxConfig config, Clock clock) {
@@ -1480,6 +1484,8 @@ public JmxMeterRegistry jmxMeterRegistry(JmxConfig config, Clock clock) {
|
|
|
|
|
} |
|
|
|
|
---- |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[production-ready-metrics-export-newrelic]] |
|
|
|
|
==== New Relic |
|
|
|
|
New Relic registry pushes metrics to {micrometer-registry-documentation}/new-relic[New |
|
|
|
|
|