fix: improve ttbr histogram metric description (#5909)

Co-authored-by: Dom <dom@itsallbroken.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
pull/24376/head
Andrew Lamb 2022-10-20 05:03:58 -04:00 committed by GitHub
parent 99808ca52e
commit 83e3a96c19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -101,8 +101,9 @@ impl<I, O> SequencedStreamHandler<I, O> {
let time_to_be_readable = metrics
.register_metric::<DurationHistogram>(
"ingester_ttbr",
"distribution of duration between producer writing \
to consumer putting into queryable cache",
"distribution of duration of Time To Become Readable (TTBR), the \
time between write to a router and becoming readable \
for query in the ingester",
)
.recorder(metric_attrs(shard_index, &topic_name, None, false));