@@ -15,7 +15,7 @@ function(this) {
1515 nodeUp: {
1616 name: 'Node up' ,
1717 nameShort: 'Node up' ,
18- type: 'raw ' ,
18+ type: 'gauge ' ,
1919 description: 'Up/down status for each node in the cluster' ,
2020 unit: 'none' ,
2121 sources: {
@@ -29,7 +29,7 @@ function(this) {
2929 databaseUp: {
3030 name: 'Database up' ,
3131 nameShort: 'Database up' ,
32- type: 'raw ' ,
32+ type: 'gauge ' ,
3333 description: 'Up/down status for each database in the cluster' ,
3434 unit: 'none' ,
3535 sources: {
@@ -43,7 +43,7 @@ function(this) {
4343 shardUp: {
4444 name: 'Shard up' ,
4545 nameShort: 'Shard up' ,
46- type: 'raw ' ,
46+ type: 'gauge ' ,
4747 description: 'Up/down status for each shard in the cluster' ,
4848 unit: 'none' ,
4949 sources: {
@@ -128,7 +128,7 @@ function(this) {
128128 clusterEvictedObjects: {
129129 name: 'Cluster evicted objects' ,
130130 nameShort: 'Evicted objects' ,
131- type: 'raw ' ,
131+ type: 'gauge ' ,
132132 description: 'Sum of key evictions in the cluster by database' ,
133133 unit: 'ops' ,
134134 sources: {
@@ -142,7 +142,7 @@ function(this) {
142142 clusterExpiredObjects: {
143143 name: 'Cluster expired objects' ,
144144 nameShort: 'Expired objects' ,
145- type: 'raw ' ,
145+ type: 'gauge ' ,
146146 description: 'Sum of key expirations in the cluster by database' ,
147147 unit: 'ops' ,
148148 sources: {
@@ -157,12 +157,12 @@ function(this) {
157157 nodeRequests: {
158158 name: 'Node requests' ,
159159 nameShort: 'Requests' ,
160- type: 'raw ' ,
160+ type: 'counter ' ,
161161 description: 'Endpoint request rate for each node in the cluster' ,
162162 unit: 'reqps' ,
163163 sources: {
164164 prometheus: {
165- expr: 'rate( node_total_req{%(queriesSelector)s}[$__rate_interval]) ' ,
165+ expr: 'node_total_req{%(queriesSelector)s}' ,
166166 legendCustomTemplate: '{{ redis_cluster }} - node: {{ node }}' ,
167167 },
168168 },
@@ -171,7 +171,7 @@ function(this) {
171171 nodeAverageLatency: {
172172 name: 'Node average latency' ,
173173 nameShort: 'Avg latency' ,
174- type: 'raw ' ,
174+ type: 'gauge ' ,
175175 description: 'Average latency for each node in the cluster' ,
176176 unit: 's' ,
177177 sources: {
@@ -199,7 +199,7 @@ function(this) {
199199 nodeCPUSystem: {
200200 name: 'Node CPU system' ,
201201 nameShort: 'CPU system' ,
202- type: 'raw ' ,
202+ type: 'gauge ' ,
203203 description: 'System CPU utilization for each node in the cluster' ,
204204 unit: 'percent' ,
205205 sources: {
@@ -213,7 +213,7 @@ function(this) {
213213 nodeCPUUser: {
214214 name: 'Node CPU user' ,
215215 nameShort: 'CPU user' ,
216- type: 'raw ' ,
216+ type: 'gauge ' ,
217217 description: 'User CPU utilization for each node in the cluster' ,
218218 unit: 'percent' ,
219219 sources: {
0 commit comments