Skip to content

Commit 38e92cc

Browse files
committed
Fix JavaDoc
1 parent 32028c5 commit 38e92cc

File tree

2 files changed

+11
-3
lines changed
  • prometheus-metrics-core/src/main/java/io/prometheus/metrics/core/metrics
  • protobuf-shaded

2 files changed

+11
-3
lines changed

prometheus-metrics-core/src/main/java/io/prometheus/metrics/core/metrics/Histogram.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -799,15 +799,16 @@ public Builder withClassicExponentialBuckets(double start, double factor, int co
799799
* <li>factor: The growth factor for bucket boundaries, i.e. next bucket boundary = growth factor * previous bucket boundary.
800800
* <li>max quantile error: The maximum error for quantiles calculated using the Prometheus histogram_quantile() function, relative to the observed value, assuming harmonic mean.
801801
* </ul>
802-
* <table border>
802+
* <table border="1">
803+
* <caption>max quantile errors for different growth factors</caption>
803804
* <tr>
804805
* <td>schema</td><td>factor</td><td>max quantile error</td>
805806
* </tr>
806807
* <tr>
807-
* <td>-4</td><td>65.536</td>99%<td></td>
808+
* <td>-4</td><td>65.536</td><td>99%</td>
808809
* </tr>
809810
* <tr>
810-
* <td>-3</td><td>256</td>99%<td></td>
811+
* <td>-3</td><td>256</td><td>99%</td>
811812
* </tr>
812813
* <tr>
813814
* <td>-2</td><td>16</td><td>88%</td>

protobuf-shaded/pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,13 @@
155155
</excludes>
156156
</configuration>
157157
</plugin>
158+
<plugin>
159+
<artifactId>maven-javadoc-plugin</artifactId>
160+
<configuration>
161+
<!-- The upstream protobuf classes have JavaDoc errors. Ignore them. -->
162+
<excludePackageNames>com.google.protobuf</excludePackageNames>
163+
</configuration>
164+
</plugin>
158165
</plugins>
159166
</build>
160167
</project>

0 commit comments

Comments
 (0)