File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
opentelemetry-sdk/src/metrics Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -130,12 +130,12 @@ impl Aggregation {
130130 Aggregation :: Base2ExponentialHistogram { max_scale, .. } => {
131131 if * max_scale > EXPO_MAX_SCALE {
132132 return Err ( MetricError :: Config ( format ! (
133- "aggregation: exponential histogram: max scale ({max_scale}) is greater than 20" ,
133+ "aggregation: exponential histogram: max scale ({max_scale}) is greater than {}" , EXPO_MAX_SCALE
134134 ) ) ) ;
135135 }
136136 if * max_scale < EXPO_MIN_SCALE {
137137 return Err ( MetricError :: Config ( format ! (
138- "aggregation: exponential histogram: max scale ({max_scale}) is less than -10" ,
138+ "aggregation: exponential histogram: max scale ({max_scale}) is less than {}" , EXPO_MIN_SCALE
139139 ) ) ) ;
140140 }
141141
You can’t perform that action at this time.
0 commit comments