-
Notifications
You must be signed in to change notification settings - Fork 875
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Add redis search module metrics #953
base: master
Are you sure you want to change the base?
Feature: Add redis search module metrics #953
Conversation
"commands_total": {txt: `Total number of calls per command`, lbls: []string{"cmd"}}, | ||
"commands_latencies_usec": {txt: `A histogram of latencies per command`, lbls: []string{"cmd"}}, | ||
"latency_percentiles_usec": {txt: `A summary of latency percentile distribution per command`, lbls: []string{"cmd"}}, | ||
"config_client_output_buffer_limit_bytes": {txt: `The configured buffer limits per class`, lbls: []string{"class", "limit"}}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't changed this part, but looks like go fmt
wasn't run in for config_client_output_buffer_limit_overcome_seconds
in #933
I think it's worth to add linter check for formatting in CI.
b6959b0
to
3f02f94
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #953 +/- ##
==========================================
+ Coverage 80.19% 80.40% +0.21%
==========================================
Files 17 18 +1
Lines 1974 2021 +47
==========================================
+ Hits 1583 1625 +42
- Misses 306 310 +4
- Partials 85 86 +1 ☔ View full report in Codecov by Sentry. |
Pull Request Test Coverage Report for Build 10814531479Details
💛 - Coveralls |
f75fe7b
to
fc94ed9
Compare
402bacd
to
7c51e0c
Compare
7c51e0c
to
081482b
Compare
fixes: #942
Found that redis returns all related information to modules with
info modules
and added collection of all metrics that looks useful so far.Parsing of
module:name=RedisCompat,ver=1,api=1,filters=0,usedby=[],using=[],options=[]
is not ideal, but works fine with current Redis 7.4 / Redis search module 2.10