diff --git a/prometheus-metrics-exposition-textformats/src/main/java/io/prometheus/metrics/expositionformats/TextFormatUtil.java b/prometheus-metrics-exposition-textformats/src/main/java/io/prometheus/metrics/expositionformats/TextFormatUtil.java index 2891d544c..5f5f05e8b 100644 --- a/prometheus-metrics-exposition-textformats/src/main/java/io/prometheus/metrics/expositionformats/TextFormatUtil.java +++ b/prometheus-metrics-exposition-textformats/src/main/java/io/prometheus/metrics/expositionformats/TextFormatUtil.java @@ -241,11 +241,6 @@ private static MetricSnapshot mergeSnapshots(List snapshots) { first.getMetadata().getPrometheusName(), snapshot.getMetadata().getPrometheusName())) { throw new IllegalArgumentException("Cannot merge snapshots: inconsistent metric name"); } - if (!Objects.equals(first.getMetadata().getHelp(), snapshot.getMetadata().getHelp())) { - throw new IllegalArgumentException( - "Cannot merge snapshots: conflicting help for metric " - + first.getMetadata().getPrometheusName()); - } if (!Objects.equals(first.getMetadata().getUnit(), snapshot.getMetadata().getUnit())) { throw new IllegalArgumentException( "Cannot merge snapshots: conflicting unit for metric "