Skip to content
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

Hotfix: Change type of search_total_cycles/search_total_ms_run metrics #962

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions exporter/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -299,8 +299,6 @@ func NewRedisExporter(uri string, opts Options) (*Exporter, error) {
"search_global_idle": "search_global_idle",
"search_global_total": "search_global_total",
"search_bytes_collected": "search_collected_bytes",
"search_total_cycles": "search_total_cycles",
"search_total_ms_run": "search_total_run_ms",
"search_dialect_1": "search_dialect_1",
"search_dialect_2": "search_dialect_2",
"search_dialect_3": "search_dialect_3",
Expand Down Expand Up @@ -359,6 +357,8 @@ func NewRedisExporter(uri string, opts Options) (*Exporter, error) {

// Redis Modules metrics, RediSearch module
"search_total_indexing_time": "search_indexing_time_ms_total",
"search_total_cycles": "search_cycles_total",
"search_total_ms_run": "search_run_ms_total",
},
}

Expand Down
4 changes: 2 additions & 2 deletions exporter/modules_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ func TestModules(t *testing.T) {
"search_global_idle": false,
"search_global_total": false,
"search_collected_bytes": false,
"search_total_cycles": false,
"search_total_run_ms": false,
"search_cycles_total": false,
"search_run_ms_total": false,
"search_dialect_1": false,
"search_dialect_2": false,
"search_dialect_3": false,
Expand Down
Loading