Skip to content

Commit fe13573

Browse files
Deprecate AggregationTemporality#toOtlpAggregationTemporality (#5733)
It was not intended to be public, users should not use it.
1 parent 88685ef commit fe13573

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

implementations/micrometer-registry-otlp/src/main/java/io/micrometer/registry/otlp/AggregationTemporality.java

+4
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ public enum AggregationTemporality {
3636
*/
3737
CUMULATIVE;
3838

39+
/**
40+
* @deprecated This method was not intended to be public, users should not use it.
41+
*/
42+
@Deprecated
3943
public static io.opentelemetry.proto.metrics.v1.AggregationTemporality toOtlpAggregationTemporality(
4044
AggregationTemporality aggregationTemporality) {
4145
switch (aggregationTemporality) {

0 commit comments

Comments
 (0)