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-instrumentation-dropwizard/src/test/java/io/prometheus/metrics/instrumentation/dropwizard/DropwizardExportsTest.java
+ "# HELP boolean_gauge Generated from Dropwizard metric import (metric=boolean.gauge, type=io.prometheus.metrics.instrumentation.dropwizard.DropwizardExportsTest$5)\n"
108
-
+ "boolean_gauge 1.0\n"
109
-
+ "# TYPE double_gauge gauge\n"
110
-
+ "# HELP double_gauge Generated from Dropwizard metric import (metric=double.gauge, type=io.prometheus.metrics.instrumentation.dropwizard.DropwizardExportsTest$2)\n"
111
-
+ "double_gauge 1.234\n"
112
-
+ "# TYPE float_gauge gauge\n"
113
-
+ "# HELP float_gauge Generated from Dropwizard metric import (metric=float.gauge, type=io.prometheus.metrics.instrumentation.dropwizard.DropwizardExportsTest$4)\n"
114
-
+ "float_gauge 0.1234000027179718\n"
115
-
+ "# TYPE integer_gauge gauge\n"
116
-
+ "# HELP integer_gauge Generated from Dropwizard metric import (metric=integer.gauge, type=io.prometheus.metrics.instrumentation.dropwizard.DropwizardExportsTest$1)\n"
117
-
+ "integer_gauge 1234.0\n"
118
-
+ "# TYPE long_gauge gauge\n"
119
-
+ "# HELP long_gauge Generated from Dropwizard metric import (metric=long.gauge, type=io.prometheus.metrics.instrumentation.dropwizard.DropwizardExportsTest$3)\n"
120
-
+ "long_gauge 1234.0\n"
121
-
+ "# EOF\n";
106
+
"""
107
+
# TYPE boolean_gauge gauge
108
+
# HELP boolean_gauge Generated from Dropwizard metric import (metric=boolean.gauge, type=io.prometheus.metrics.instrumentation.dropwizard.DropwizardExportsTest$5)
109
+
boolean_gauge 1.0
110
+
# TYPE double_gauge gauge
111
+
# HELP double_gauge Generated from Dropwizard metric import (metric=double.gauge, type=io.prometheus.metrics.instrumentation.dropwizard.DropwizardExportsTest$2)
112
+
double_gauge 1.234
113
+
# TYPE float_gauge gauge
114
+
# HELP float_gauge Generated from Dropwizard metric import (metric=float.gauge, type=io.prometheus.metrics.instrumentation.dropwizard.DropwizardExportsTest$4)
115
+
float_gauge 0.1234000027179718
116
+
# TYPE integer_gauge gauge
117
+
# HELP integer_gauge Generated from Dropwizard metric import (metric=integer.gauge, type=io.prometheus.metrics.instrumentation.dropwizard.DropwizardExportsTest$1)
118
+
integer_gauge 1234.0
119
+
# TYPE long_gauge gauge
120
+
# HELP long_gauge Generated from Dropwizard metric import (metric=long.gauge, type=io.prometheus.metrics.instrumentation.dropwizard.DropwizardExportsTest$3)
# HELP my_application_namedCounter1 Generated from Dropwizard metric import (metric=my.application.namedCounter1, type=com.codahale.metrics.Counter)
251
+
my_application_namedCounter1_total 0.0
252
+
# TYPE my_application_namedGauge1 gauge
253
+
# HELP my_application_namedGauge1 Generated from Dropwizard metric import (metric=my.application.namedGauge1, type=io.prometheus.metrics.instrumentation.dropwizard.DropwizardExportsTest$ExampleDoubleGauge)
254
+
my_application_namedGauge1 0.0
255
+
# TYPE my_application_namedHistogram1 summary
256
+
# HELP my_application_namedHistogram1 Generated from Dropwizard metric import (metric=my.application.namedHistogram1, type=com.codahale.metrics.Histogram)
0 commit comments