Skip to content

Commit e5827ad

Browse files
committed
leave todos
1 parent 28ed7eb commit e5827ad

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

opentelemetry-sdk/src/metrics/meter.rs

+3
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,9 @@ impl SdkMeter {
397397
if let Some(ref boundaries) = builder.boundaries {
398398
let validation_result = validate_buckets(boundaries);
399399
if let Err(err) = validation_result {
400+
// TODO: Include the buckets too in the error message.
401+
// TODO: This validation is not done when Views are used to
402+
// provide boundaries, and that should be fixed.
400403
otel_error!(
401404
name: "InstrumentCreationFailed",
402405
meter_name = self.scope.name(),

0 commit comments

Comments
 (0)