Skip to content

Commit 392bc67

Browse files
committed
format
Signed-off-by: Gregor Zeitlinger <[email protected]>
1 parent 75124ab commit 392bc67

File tree

2 files changed

+4
-2
lines changed
  • prometheus-metrics-instrumentation-dropwizard/src/main/java/io/prometheus/metrics/instrumentation/dropwizard
  • prometheus-metrics-instrumentation-dropwizard5/src/main/java/io/prometheus/metrics/instrumentation/dropwizard5

2 files changed

+4
-2
lines changed

prometheus-metrics-instrumentation-dropwizard/src/main/java/io/prometheus/metrics/instrumentation/dropwizard/DropwizardExports.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,8 @@ MetricSnapshot fromSnapshotAndCount(
169169
.quantile(0.999, snapshot.get999thPercentile() * factor)
170170
.build();
171171

172-
String name = labelMapper.isPresent() ? labelMapper.get().getName(dropwizardName) : dropwizardName;
172+
String name =
173+
labelMapper.isPresent() ? labelMapper.get().getName(dropwizardName) : dropwizardName;
173174
MetricMetadata metadata =
174175
new MetricMetadata(PrometheusNaming.sanitizeMetricName(name), helpMessage);
175176
SummarySnapshot.SummaryDataPointSnapshot.Builder dataPointBuilder =

prometheus-metrics-instrumentation-dropwizard5/src/main/java/io/prometheus/metrics/instrumentation/dropwizard5/DropwizardExports.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,8 @@ MetricSnapshot fromSnapshotAndCount(
169169
.quantile(0.999, snapshot.get999thPercentile() * factor)
170170
.build();
171171

172-
String name = labelMapper.isPresent() ? labelMapper.get().getName(dropwizardName) : dropwizardName;
172+
String name =
173+
labelMapper.isPresent() ? labelMapper.get().getName(dropwizardName) : dropwizardName;
173174
MetricMetadata metadata =
174175
new MetricMetadata(PrometheusNaming.sanitizeMetricName(name), helpMessage);
175176
SummarySnapshot.SummaryDataPointSnapshot.Builder dataPointBuilder =

0 commit comments

Comments
 (0)