Skip to content

Commit e33b04b

Browse files
committed
todo
1 parent 243232f commit e33b04b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

opentelemetry-sdk/src/metrics/pipeline.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,9 @@ where
363363
kind: InstrumentKind,
364364
mut stream: Stream,
365365
) -> MetricResult<Option<Arc<dyn internal::Measure<T>>>> {
366+
// TODO: Create a separate pub (crate) Stream struct for the pipeline,
367+
// as Stream will not have any Optional fields as None at this point and
368+
// new struct can better reflect this.
366369
let mut agg = stream
367370
.aggregation
368371
.take()

0 commit comments

Comments
 (0)