You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/export/StepRegistryProperties.java
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@
29
29
publicabstractclassStepRegistryProperties {
30
30
31
31
/**
32
-
* The step size (reporting frequency) to use.
32
+
* Step size (i.e. reporting frequency) to use.
33
33
*/
34
34
privateDurationstep = Duration.ofMinutes(1);
35
35
@@ -39,22 +39,22 @@ public abstract class StepRegistryProperties {
39
39
privateBooleanenabled;
40
40
41
41
/**
42
-
* The connection timeout for requests to the backend.
42
+
* Connection timeout for requests to the backend.
43
43
*/
44
44
privateDurationconnectTimeout;
45
45
46
46
/**
47
-
* The read timeout for requests to the backend.
47
+
* Read timeout for requests to the backend.
48
48
*/
49
49
privateDurationreadTimeout;
50
50
51
51
/**
52
-
* The number of threads to use with the metrics publishing scheduler.
52
+
* Number of threads to use with the metrics publishing scheduler.
53
53
*/
54
54
privateIntegernumThreads;
55
55
56
56
/**
57
-
* The number of measurements per request to use for the backend. If more measurements
57
+
* Number of measurements per request to use for the backend. If more measurements
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/export/atlas/AtlasProperties.java
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/export/datadog/DatadogProperties.java
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/export/ganglia/GangliaProperties.java
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -33,22 +33,22 @@
33
33
publicclassGangliaProperties {
34
34
35
35
/**
36
-
* Enable publishing to the backend.
36
+
* Enable publishing to Ganglia.
37
37
*/
38
38
privateBooleanenabled;
39
39
40
40
/**
41
-
* The step size (reporting frequency) to use.
41
+
* Step size (i.e. reporting frequency) to use.
42
42
*/
43
43
privateDurationstep;
44
44
45
45
/**
46
-
* The base time unit used to report rates.
46
+
* Base time unit used to report rates.
47
47
*/
48
48
privateTimeUnitrateUnits;
49
49
50
50
/**
51
-
* The base time unit used to report durations.
51
+
* Base time unit used to report durations.
52
52
*/
53
53
privateTimeUnitdurationUnits;
54
54
@@ -58,22 +58,22 @@ public class GangliaProperties {
58
58
privateStringprotocolVersion;
59
59
60
60
/**
61
-
* The UDP addressing mode, either unicast or multicast.
61
+
* UDP addressing mode, either unicast or multicast.
62
62
*/
63
63
privateGMetric.UDPAddressingModeaddressingMode;
64
64
65
65
/**
66
-
* The TTL for metrics on Ganglia.
66
+
* Time to live for metrics on Ganglia.
67
67
*/
68
68
privateIntegertimeToLive;
69
69
70
70
/**
71
-
* Ganglia host used for publishing.
71
+
* Host of the Ganglia server to receive exported metrics.
72
72
*/
73
73
privateStringhost;
74
74
75
75
/**
76
-
* Ganglia port used for publishing.
76
+
* Port of the Ganglia server to receive exported metrics.
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/export/graphite/GraphiteProperties.java
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -33,32 +33,32 @@
33
33
publicclassGraphiteProperties {
34
34
35
35
/**
36
-
* Enable publishing to the backend.
36
+
* Enable publishing to Graphite.
37
37
*/
38
38
privateBooleanenabled;
39
39
40
40
/**
41
-
* The step size (reporting frequency) to use.
41
+
* Step size (i.e. reporting frequency) to use.
42
42
*/
43
43
privateDurationstep;
44
44
45
45
/**
46
-
* The base time unit used to report rates.
46
+
* Base time unit used to report rates.
47
47
*/
48
48
privateTimeUnitrateUnits;
49
49
50
50
/**
51
-
* The base time unit used to report durations.
51
+
* Base time unit used to report durations.
52
52
*/
53
53
privateTimeUnitdurationUnits;
54
54
55
55
/**
56
-
* Graphite host used for publishing.
56
+
* Host of the Graphite server to receive exported metrics.
57
57
*/
58
58
privateStringhost;
59
59
60
60
/**
61
-
* Graphite port used for publishing.
61
+
* Port of the Graphite server to receive exported metrics.
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/export/influx/InfluxProperties.java
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/export/prometheus/PrometheusProperties.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ public class PrometheusProperties {
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/export/simple/SimpleProperties.java
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/export/statsd/StatsdProperties.java
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -26,28 +26,29 @@
26
26
* {@link ConfigurationProperties} for configuring StatsD metrics export.
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc
+64-9Lines changed: 64 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1295,19 +1295,74 @@ content into your application; rather pick only the properties that you need.
1295
1295
management.trace.include=request-headers,response-headers,cookies,errors # Items to be included in the trace.
1296
1296
1297
1297
# METRICS
1298
-
spring.metrics.use-global-registry=true # Whether or not auto-configured MeterRegistry implementations should be bound to the global static registry on Metrics
1299
-
spring.metrics.export.atlas.enabled=true # Whether not exporting of metrics to Atlas is enabled.
1300
-
spring.metrics.export.ganglia.enabled=true # Whether not exporting of metrics to Ganglia is enabled.
1301
-
spring.metrics.export.graphite.enabled=true # Whether not exporting of metrics to Graphite is enabled.
1302
-
spring.metrics.export.influx.enabled=true # Whether not exporting of metrics to InfluxDB is enabled.
1303
-
spring.metrics.export.jmx.enabled=true # Whether not exporting of metrics to JMX is enabled.
1304
-
spring.metrics.export.prometheus.enabled=true # Whether not exporting of metrics to Prometheus is enabled.
1305
-
spring.metrics.export.simple.enabled=true # Whether not exporting of metrics to a simple in-memory store is enabled.
1298
+
spring.metrics.use-global-registry=true # Whether or not auto-configured MeterRegistry implementations should be bound to the global static registry on Metrics.
1299
+
spring.metrics.export.atlas.batch-size= # Number of measurements per request to use for the backend. If more measurements are found, then multiple requests will be made.
1300
+
spring.metrics.export.atlas.config-refresh-frequency= # Frequency for refreshing config settings from the LWC service.
1301
+
spring.metrics.export.atlas.config-time-to-live= # Time to live for subscriptions from the LWC service.
1302
+
spring.metrics.export.atlas.config-uri= # URI for the Atlas LWC endpoint to retrieve current subscriptions.
1303
+
spring.metrics.export.atlas.connect-timeout= # Connection timeout for requests to the backend.
1304
+
spring.metrics.export.atlas.enabled= # Enable publishing to the backend.
1305
+
spring.metrics.export.atlas.eval-uri= # URI for the Atlas LWC endpoint to evaluate the data for a subscription.
1306
+
spring.metrics.export.atlas.lwc-enabled= # Enable streaming to Atlas LWC.
1307
+
spring.metrics.export.atlas.meter-time-to-live= # Time to love for meters that do not have any activity. After this period the meter will be considered expired and will not get reported.
1308
+
spring.metrics.export.atlas.num-threads= # Number of threads to use with the metrics publishing scheduler.
1309
+
spring.metrics.export.atlas.read-timeout= # Read timeout for requests to the backend.
1310
+
spring.metrics.export.atlas.step=1 # Step size (i.e. reporting frequency) to use.
1311
+
spring.metrics.export.atlas.uri= # URI of the Atlas server.
1312
+
spring.metrics.export.datadog.api-key= # Datadog API key.
1313
+
spring.metrics.export.datadog.batch-size= # Number of measurements per request to use for the backend. If more measurements are found, then multiple requests will be made.
1314
+
spring.metrics.export.datadog.connect-timeout= # Connection timeout for requests to the backend.
1315
+
spring.metrics.export.datadog.enabled= # Enable publishing to the backend.
1316
+
spring.metrics.export.datadog.num-threads= # Number of threads to use with the metrics publishing scheduler.
1317
+
spring.metrics.export.datadog.read-timeout= # Read timeout for requests to the backend.
1318
+
spring.metrics.export.datadog.step=1 # Step size (i.e. reporting frequency) to use.
1319
+
spring.metrics.export.datadog.uri= # URI to ship metrics to. If you need to publish metrics to an internal proxy en-route to Datadog, you can define the location of the proxy with this.
1320
+
spring.metrics.export.ganglia.addressing-mode= # UDP addressing mode, either unicast or multicast.
1321
+
spring.metrics.export.ganglia.duration-units= # Base time unit used to report durations.
1322
+
spring.metrics.export.ganglia.enabled= # Enable publishing to Ganglia.
1323
+
spring.metrics.export.ganglia.host= # Host of the Ganglia server to receive exported metrics.
1324
+
spring.metrics.export.ganglia.port= # Port of the Ganglia server to receive exported metrics.
1325
+
spring.metrics.export.ganglia.protocol-version= # Ganglia protocol version. Must be either 3.1 or 3.0.
1326
+
spring.metrics.export.ganglia.rate-units= # Base time unit used to report rates.
1327
+
spring.metrics.export.ganglia.step= # Step size (i.e. reporting frequency) to use.
1328
+
spring.metrics.export.ganglia.time-to-live= # Time to live for metrics on Ganglia.
1329
+
spring.metrics.export.graphite.duration-units= # Base time unit used to report durations.
1330
+
spring.metrics.export.graphite.enabled= # Enable publishing to Graphite.
1331
+
spring.metrics.export.graphite.host= # Host of the Graphite server to receive exported metrics.
1332
+
spring.metrics.export.graphite.port= # Port of the Graphite server to receive exported metrics.
1333
+
spring.metrics.export.graphite.protocol= # Protocol to use while shipping data to Graphite.
1334
+
spring.metrics.export.graphite.rate-units= # Base time unit used to report rates.
1335
+
spring.metrics.export.graphite.step= # Step size (i.e. reporting frequency) to use.
1336
+
spring.metrics.export.influx.batch-size= # Number of measurements per request to use for the backend. If more measurements are found, then multiple requests will be made.
1337
+
spring.metrics.export.influx.compressed= # Enable GZIP compression of metrics batches published to Influx.
1338
+
spring.metrics.export.influx.connect-timeout= # Connection timeout for requests to the backend.
1339
+
spring.metrics.export.influx.consistency= # Write consistency for each point.
1340
+
spring.metrics.export.influx.db= # Tag that will be mapped to "host" when shipping metrics to Influx. Can be omitted of host should be omitted on publishing.
1341
+
spring.metrics.export.influx.enabled= # Enable publishing to the backend.
1342
+
spring.metrics.export.influx.num-threads= # Number of threads to use with the metrics publishing scheduler.
1343
+
spring.metrics.export.influx.password= # Login password of the Influx server.
1344
+
spring.metrics.export.influx.read-timeout= # Read timeout for requests to the backend.
1345
+
spring.metrics.export.influx.retention-policy= # Retention policy to use (Influx writes to the DEFAULT retention policy if one is not specified).
1346
+
spring.metrics.export.influx.step=1 # Step size (i.e. reporting frequency) to use.
1347
+
spring.metrics.export.influx.uri= # URI of the Influx server.
1348
+
spring.metrics.export.influx.user-name= # Login user of the Influx server.
1349
+
spring.metrics.export.prometheus.descriptions= # Enable publishing descriptions as part of the scrape payload to Prometheus. Turn this off to minimize the amount of data sent on each scrape.
1350
+
spring.metrics.export.prometheus.enabled= # Enable publishing to Prometheus.
1351
+
spring.metrics.export.prometheus.step= # Step size (i.e. reporting frequency) to use.
1352
+
spring.metrics.export.simple.enabled=false # Enable publishing to the backend.
1353
+
spring.metrics.export.simple.step=10 # Step size (i.e. reporting frequency) to use.
1354
+
spring.metrics.export.statsd.enabled= # Export metrics to StatsD.
1355
+
spring.metrics.export.statsd.flavor= # StatsD line protocol to use.
1356
+
spring.metrics.export.statsd.host=localhost # Host of the StatsD server to receive exported metrics.
1357
+
spring.metrics.export.statsd.max-packet-length=1400 # Total length of a single payload should be kept within your network's MTU.
1358
+
spring.metrics.export.statsd.polling-frequency=10 # How often gauges will be polled. When a gauge is polled, its value is recalculated and if the value has changed, it is sent to the StatsD server.
1359
+
spring.metrics.export.statsd.port=8125 # Port of the StatsD server to receive exported metrics.
1360
+
spring.metrics.export.statsd.queue-size= # Maximum size of the queue of items waiting to be sent to the StatsD server.
1306
1361
spring.metrics.jdbc.datasource-metric-name=data.source # Name of the metric for data source usage.
1307
1362
spring.metrics.jdbc.instrument-datasource=true # Instrument all available data sources.
1308
1363
spring.metrics.web.client.record-request-percentiles=false # Whether or not instrumented requests record percentiles histogram buckets by default.
1309
1364
spring.metrics.web.client.requests-metric-name=http.client.requests # Name of the metric for sent requests.
1310
-
spring.metrics.web.server.auto-time-requests=true Whether or not requests handled by Spring MVC or WebFlux should be automatically timed.
1365
+
spring.metrics.web.server.auto-time-requests=true # Whether or not requests handled by Spring MVC or WebFlux should be automatically timed.
1311
1366
spring.metrics.web.server.record-request-percentiles=false # Whether or not instrumented requests record percentiles histogram buckets by default.
1312
1367
spring.metrics.web.server.requests-metric-name=http.server.requests # Name of the metric for received requests.
0 commit comments