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: prometheus-metrics-exporter-pushgateway/src/main/java/io/prometheus/metrics/exporter/pushgateway/PushGateway.java
Copy file name to clipboardExpand all lines: prometheus-metrics-exposition-textformats/src/main/java/io/prometheus/metrics/expositionformats/ExpositionFormats.java
+10-3
Original file line number
Diff line number
Diff line change
@@ -22,12 +22,19 @@ public static ExpositionFormats init() {
Copy file name to clipboardExpand all lines: prometheus-metrics-exposition-textformats/src/main/java/io/prometheus/metrics/expositionformats/OpenMetricsTextFormatWriter.java
* @param createdTimestampsEnabled whether to include the _created timestamp in the output - This will produce an invalid OpenMetrics output, but is kept for backwards compatibility.
83
-
* @deprecated this constructor is deprecated and will be removed in the next major version. Use
83
+
* @param createdTimestampsEnabled whether to include the _created timestamp in the output - This
84
+
* will produce an invalid OpenMetrics output, but is kept for backwards compatibility.
85
+
* @deprecated this constructor is deprecated and will be removed in the next major version -
Copy file name to clipboardExpand all lines: prometheus-metrics-exposition-textformats/src/main/java/io/prometheus/metrics/expositionformats/PrometheusTextFormatWriter.java
+48-2
Original file line number
Diff line number
Diff line change
@@ -36,9 +36,55 @@ public class PrometheusTextFormatWriter implements ExpositionFormatWriter {
0 commit comments