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/prometheus/PrometheusMetricsExportAutoConfiguration.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
+26Lines changed: 26 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -101,6 +101,16 @@ public static class Pushgateway {
101
101
*/
102
102
privateStringbaseUrl = "http://localhost:9091";
103
103
104
+
/**
105
+
* Login user of the Prometheus Pushgateway.
106
+
*/
107
+
privateStringusername;
108
+
109
+
/**
110
+
* Login password of the Prometheus Pushgateway.
111
+
*/
112
+
privateStringpassword;
113
+
104
114
/**
105
115
* Frequency with which to push metrics.
106
116
*/
@@ -137,6 +147,22 @@ public void setBaseUrl(String baseUrl) {
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/metrics/export/prometheus/PrometheusMetricsExportAutoConfigurationTests.java
0 commit comments