metrics: Show the latency needed to handle a msg per op#1011
Merged
Conversation
kkourt
approved these changes
May 25, 2023
Example:
tetragon_handling_latency_bucket{op="23",le="50"} 3613
tetragon_handling_latency_bucket{op="23",le="100"} 4126
tetragon_handling_latency_bucket{op="23",le="500"} 4130
tetragon_handling_latency_bucket{op="23",le="1000"} 4130
tetragon_handling_latency_bucket{op="23",le="+Inf"} 4131
tetragon_handling_latency_sum{op="23"} 106430
tetragon_handling_latency_count{op="23"} 4131
tetragon_handling_latency_bucket{op="24",le="50"} 3572
tetragon_handling_latency_bucket{op="24",le="100"} 3608
tetragon_handling_latency_bucket{op="24",le="500"} 3610
tetragon_handling_latency_bucket{op="24",le="1000"} 3610
tetragon_handling_latency_bucket{op="24",le="+Inf"} 3610
tetragon_handling_latency_sum{op="24"} 56959
tetragon_handling_latency_count{op="24"} 3610
tetragon_handling_latency_bucket{op="5",le="50"} 1390
tetragon_handling_latency_bucket{op="5",le="100"} 3473
tetragon_handling_latency_bucket{op="5",le="500"} 3610
tetragon_handling_latency_bucket{op="5",le="1000"} 3610
tetragon_handling_latency_bucket{op="5",le="+Inf"} 3610
tetragon_handling_latency_sum{op="5"} 216082
tetragon_handling_latency_count{op="5"} 3610
tetragon_handling_latency_bucket{op="7",le="50"} 2895
tetragon_handling_latency_bucket{op="7",le="100"} 4106
tetragon_handling_latency_bucket{op="7",le="500"} 4124
tetragon_handling_latency_bucket{op="7",le="1000"} 4124
tetragon_handling_latency_bucket{op="7",le="+Inf"} 4124
tetragon_handling_latency_sum{op="7"} 162039
tetragon_handling_latency_count{op="7"} 4124
Signed-off-by: Anastasios Papagiannis <tasos.papagiannnis@gmail.com>
tpapagian
force-pushed
the
pr/apapag/latency
branch
from
May 26, 2023 12:58
a428ed7 to
41ee791
Compare
We add a flag to enable monitoring the latency of handling messages. Disabled by default. Signed-off-by: Anastasios Papagiannis <tasos.papagiannnis@gmail.com>
tpapagian
force-pushed
the
pr/apapag/latency
branch
from
May 26, 2023 12:59
41ee791 to
8aeee6f
Compare
Member
Author
I have added |
willfindlay
approved these changes
May 26, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Example: