Skip to main content

for_each_encoded_time

Function for_each_encoded_time 

Source
fn for_each_encoded_time(
    resource: &ResourceMetrics,
    metric_ctx: &OtlpMetricCtx,
    visit: impl FnMut(i64),
)
Expand description

Visits the times of the data points the encoder writes rows for, so a resource is described exactly where it is measured rather than wherever its request happens to reach.