|
137 | 137 | "pluginVersion": "10.0.13",
|
138 | 138 | "targets": [
|
139 | 139 | {
|
140 |
| - "expr": "sum(coherence_cache_size{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',name=\"$CacheName\"})", |
| 140 | + "expr": "sum(coherence_cache_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',name=\"$CacheName\"})", |
141 | 141 | "format": "time_series",
|
142 | 142 | "intervalFactor": 1,
|
143 | 143 | "legendFormat": "",
|
|
210 | 210 | "pluginVersion": "10.0.13",
|
211 | 211 | "targets": [
|
212 | 212 | {
|
213 |
| - "expr": "sum(coherence_cache_queue_size{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',name=\"$CacheName\"}) ", |
| 213 | + "expr": "sum(coherence_cache_queue_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',name=\"$CacheName\"}) ", |
214 | 214 | "format": "time_series",
|
215 | 215 | "interval": "",
|
216 | 216 | "intervalFactor": 1,
|
|
283 | 283 | "pluginVersion": "10.0.13",
|
284 | 284 | "targets": [
|
285 | 285 | {
|
286 |
| - "expr": "sum(coherence_cache_store_writes{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',name=\"$CacheName\"})", |
| 286 | + "expr": "sum(coherence_cache_store_writes{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',name=\"$CacheName\"})", |
287 | 287 | "format": "time_series",
|
288 | 288 | "interval": "",
|
289 | 289 | "intervalFactor": 1,
|
|
356 | 356 | "pluginVersion": "10.0.13",
|
357 | 357 | "targets": [
|
358 | 358 | {
|
359 |
| - "expr": "avg(coherence_cache_store_average_batch_size{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',name=\"$CacheName\"})", |
| 359 | + "expr": "avg(coherence_cache_store_average_batch_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',name=\"$CacheName\"})", |
360 | 360 | "format": "time_series",
|
361 | 361 | "interval": "",
|
362 | 362 | "intervalFactor": 1,
|
|
429 | 429 | "pluginVersion": "10.0.13",
|
430 | 430 | "targets": [
|
431 | 431 | {
|
432 |
| - "expr": "sum(coherence_cache_store_failures{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',cache=\"$CacheName\"})", |
| 432 | + "expr": "sum(coherence_cache_store_failures{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',cache=\"$CacheName\"})", |
433 | 433 | "format": "time_series",
|
434 | 434 | "interval": "",
|
435 | 435 | "intervalFactor": 1,
|
|
502 | 502 | "pluginVersion": "10.0.13",
|
503 | 503 | "targets": [
|
504 | 504 | {
|
505 |
| - "expr": "sum(coherence_cache_store_reads{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',name=\"$CacheName\"})", |
| 505 | + "expr": "sum(coherence_cache_store_reads{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName',name=\"$CacheName\"})", |
506 | 506 | "format": "time_series",
|
507 | 507 | "interval": "",
|
508 | 508 | "intervalFactor": 1,
|
|
594 | 594 | "pluginVersion": "8.5.27",
|
595 | 595 | "targets": [
|
596 | 596 | {
|
597 |
| - "expr": "sum(coherence_cache_store_writes{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\"}) - \nsum(coherence_cache_store_writes{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\"} offset $__interval) > 0", |
| 597 | + "expr": "sum(coherence_cache_store_writes{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\"}) - \nsum(coherence_cache_store_writes{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\"} offset $__interval) > 0", |
598 | 598 | "format": "time_series",
|
599 | 599 | "instant": false,
|
600 | 600 | "interval": "",
|
|
683 | 683 | "pluginVersion": "8.5.27",
|
684 | 684 | "targets": [
|
685 | 685 | {
|
686 |
| - "expr": "sum(coherence_cache_store_reads{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\"}) - \nsum(coherence_cache_store_reads{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\"} offset $__interval) > 0", |
| 686 | + "expr": "sum(coherence_cache_store_reads{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\"}) - \nsum(coherence_cache_store_reads{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\"} offset $__interval) > 0", |
687 | 687 | "format": "time_series",
|
688 | 688 | "instant": false,
|
689 | 689 | "interval": "",
|
|
1024 | 1024 | {
|
1025 | 1025 | "datasource": "prometheus",
|
1026 | 1026 | "editorMode": "code",
|
1027 |
| - "expr": "avg(coherence_cache_queue_size{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", |
| 1027 | + "expr": "avg(coherence_cache_queue_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", |
1028 | 1028 | "format": "table",
|
1029 | 1029 | "instant": true,
|
1030 | 1030 | "intervalFactor": 1,
|
|
1034 | 1034 | {
|
1035 | 1035 | "datasource": "prometheus",
|
1036 | 1036 | "editorMode": "code",
|
1037 |
| - "expr": "avg(coherence_cache_store_writes{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", |
| 1037 | + "expr": "avg(coherence_cache_store_writes{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", |
1038 | 1038 | "format": "table",
|
1039 | 1039 | "hide": false,
|
1040 | 1040 | "instant": true,
|
|
1045 | 1045 | {
|
1046 | 1046 | "datasource": "prometheus",
|
1047 | 1047 | "editorMode": "code",
|
1048 |
| - "expr": "avg(coherence_cache_store_average_batch_size{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", |
| 1048 | + "expr": "avg(coherence_cache_store_average_batch_size{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", |
1049 | 1049 | "format": "table",
|
1050 | 1050 | "hide": false,
|
1051 | 1051 | "instant": true,
|
|
1056 | 1056 | {
|
1057 | 1057 | "datasource": "prometheus",
|
1058 | 1058 | "editorMode": "code",
|
1059 |
| - "expr": "avg(coherence_cache_store_write_millis{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", |
| 1059 | + "expr": "avg(coherence_cache_store_write_millis{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", |
1060 | 1060 | "format": "table",
|
1061 | 1061 | "hide": false,
|
1062 | 1062 | "instant": true,
|
|
1067 | 1067 | {
|
1068 | 1068 | "datasource": "prometheus",
|
1069 | 1069 | "editorMode": "code",
|
1070 |
| - "expr": "avg(coherence_cache_store_write_millis{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"} / \n coherence_cache_store_writes{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", |
| 1070 | + "expr": "avg(coherence_cache_store_write_millis{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"} / \n coherence_cache_store_writes{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", |
1071 | 1071 | "format": "table",
|
1072 | 1072 | "hide": false,
|
1073 | 1073 | "instant": true,
|
|
1078 | 1078 | {
|
1079 | 1079 | "datasource": "prometheus",
|
1080 | 1080 | "editorMode": "code",
|
1081 |
| - "expr": "avg(coherence_cache_store_reads{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", |
| 1081 | + "expr": "avg(coherence_cache_store_reads{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", |
1082 | 1082 | "format": "table",
|
1083 | 1083 | "hide": false,
|
1084 | 1084 | "instant": true,
|
|
1089 | 1089 | {
|
1090 | 1090 | "datasource": "prometheus",
|
1091 | 1091 | "editorMode": "code",
|
1092 |
| - "expr": "avg(coherence_cache_store_read_millis{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", |
| 1092 | + "expr": "avg(coherence_cache_store_read_millis{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", |
1093 | 1093 | "format": "table",
|
1094 | 1094 | "hide": false,
|
1095 | 1095 | "instant": true,
|
|
1100 | 1100 | {
|
1101 | 1101 | "datasource": "prometheus",
|
1102 | 1102 | "editorMode": "code",
|
1103 |
| - "expr": "avg(coherence_cache_store_read_millis{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"} / \n coherence_cache_store_reads{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", |
| 1103 | + "expr": "avg(coherence_cache_store_read_millis{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"} / \n coherence_cache_store_reads{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName', name=\"$CacheName\", tier=\"back\"}) by (member)", |
1104 | 1104 | "format": "table",
|
1105 | 1105 | "hide": false,
|
1106 | 1106 | "instant": true,
|
|
1131 | 1131 | "list": [
|
1132 | 1132 | {
|
1133 | 1133 | "current": {
|
1134 |
| - "selected": false, |
1135 |
| - "text": "cache-store", |
1136 |
| - "value": "cache-store" |
| 1134 | + }, |
| 1135 | + "datasource": "prometheus", |
| 1136 | + "definition": "label_values(coherence_cluster_size,namespace)", |
| 1137 | + "hide": 0, |
| 1138 | + "includeAll": false, |
| 1139 | + "label": "Namespace", |
| 1140 | + "multi": false, |
| 1141 | + "name": "Namespace", |
| 1142 | + "options": [], |
| 1143 | + "query": { |
| 1144 | + "query": "label_values(coherence_cluster_size,namespace)", |
| 1145 | + "refId": "prometheus-Namespace-Variable-Query" |
| 1146 | + }, |
| 1147 | + "refresh": 1, |
| 1148 | + "regex": "", |
| 1149 | + "skipUrlSync": false, |
| 1150 | + "sort": 0, |
| 1151 | + "type": "query" |
| 1152 | + }, |
| 1153 | + { |
| 1154 | + "current": { |
| 1155 | + "selected": false |
1137 | 1156 | },
|
1138 | 1157 | "datasource": "prometheus",
|
1139 | 1158 | "definition": "",
|
|
1144 | 1163 | "name": "ClusterName",
|
1145 | 1164 | "options": [],
|
1146 | 1165 | "query": {
|
1147 |
| - "query": "label_values(coherence_cluster_size, cluster)", |
| 1166 | + "query": "label_values(coherence_cluster_size{namespace=~\"${Namespace:.*}\"}, cluster)", |
1148 | 1167 | "refId": "prometheus-ClusterName-Variable-Query"
|
1149 | 1168 | },
|
1150 | 1169 | "refresh": 1,
|
|
1158 | 1177 | },
|
1159 | 1178 | {
|
1160 | 1179 | "current": {
|
1161 |
| - "selected": true, |
1162 |
| - "text": "DistributedCache", |
1163 |
| - "value": "DistributedCache" |
| 1180 | + "selected": true |
1164 | 1181 | },
|
1165 | 1182 | "datasource": "prometheus",
|
1166 | 1183 | "definition": "",
|
|
1171 | 1188 | "name": "ServiceName",
|
1172 | 1189 | "options": [],
|
1173 | 1190 | "query": {
|
1174 |
| - "query": "label_values(coherence_service_member_count{cluster=\"${ClusterName:raw}\"}, name)", |
| 1191 | + "query": "label_values(coherence_service_member_count{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\"}, name)", |
1175 | 1192 | "refId": "prometheus-ServiceName-Variable-Query"
|
1176 | 1193 | },
|
1177 | 1194 | "refresh": 1,
|
|
1185 | 1202 | },
|
1186 | 1203 | {
|
1187 | 1204 | "current": {
|
1188 |
| - "selected": false, |
1189 |
| - "text": "test", |
1190 |
| - "value": "test" |
| 1205 | + "selected": false |
1191 | 1206 | },
|
1192 | 1207 | "datasource": "prometheus",
|
1193 | 1208 | "definition": "",
|
|
1198 | 1213 | "name": "CacheName",
|
1199 | 1214 | "options": [],
|
1200 | 1215 | "query": {
|
1201 |
| - "query": "label_values(coherence_cache_units_bytes{cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName'}, name)", |
| 1216 | + "query": "label_values(coherence_cache_units_bytes{namespace=~\"${Namespace:.*}\",cluster=\"${ClusterName:raw}\",coherence_service='$ServiceName'}, name)", |
1202 | 1217 | "refId": "prometheus-CacheName-Variable-Query"
|
1203 | 1218 | },
|
1204 | 1219 | "refresh": 1,
|
|
0 commit comments