Skip to content

Commit 0dd080d

Browse files
authored
public StatefulMetric
All the other classes in the hierarchy are public too, this is probably just an oversight. Signed-off-by: Ondra Pelech <[email protected]>
1 parent 6be85c5 commit 0dd080d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* because in Java <i>synchronous</i> and <i>asynchronous</i> usually refers to multi-threading, but
2929
* this has nothing to do with multi-threading.
3030
*/
31-
abstract class StatefulMetric<D extends DataPoint, T extends D> extends MetricWithFixedMetadata {
31+
public abstract class StatefulMetric<D extends DataPoint, T extends D> extends MetricWithFixedMetadata {
3232

3333
/** Map label values to data points. */
3434
private final ConcurrentHashMap<List<String>, T> data = new ConcurrentHashMap<>();

0 commit comments

Comments
 (0)