docs: Update ingester/src/stream_handler/sink_instrumentation.rs

Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
pull/24376/head
Dom 2022-04-07 12:18:14 +01:00 committed by GitHub
parent 24eeddce8a
commit 998a66fd98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -464,7 +464,7 @@ mod tests {
}
);
// Validate the success histogram was hit
// Validate the histogram was hit even on error
let hist = get_metric::<U64Histogram>(&metrics, "ingester_op_apply_duration_ms", &{
let mut attrs = DEFAULT_ATTRS.clone();
attrs.insert("result", "error");