Skip to content

Commit

Permalink
Add main_thread metrics added in 6.2 (#619)
Browse files Browse the repository at this point in the history
  • Loading branch information
artificial-aidan authored Mar 11, 2022
1 parent a8f5b9c commit 2ae48e9
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions exporter/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,10 +266,12 @@ func NewRedisExporter(redisURI string, opts Options) (*Exporter, error) {
"keyspace_hits": "keyspace_hits_total",
"keyspace_misses": "keyspace_misses_total",

"used_cpu_sys": "cpu_sys_seconds_total",
"used_cpu_user": "cpu_user_seconds_total",
"used_cpu_sys_children": "cpu_sys_children_seconds_total",
"used_cpu_user_children": "cpu_user_children_seconds_total",
"used_cpu_sys": "cpu_sys_seconds_total",
"used_cpu_user": "cpu_user_seconds_total",
"used_cpu_sys_children": "cpu_sys_children_seconds_total",
"used_cpu_user_children": "cpu_user_children_seconds_total",
"used_cpu_sys_main_thread": "cpu_sys_main_thread_seconds_total",
"used_cpu_user_main_thread": "cpu_user_main_thread_seconds_total",
},
}

Expand Down

0 comments on commit 2ae48e9

Please sign in to comment.