|
1720 | 1720 | "type": "prometheus", |
1721 | 1721 | "uid": "prometheus" |
1722 | 1722 | }, |
| 1723 | + "description": "", |
1723 | 1724 | "fieldConfig": { |
1724 | 1725 | "defaults": { |
1725 | 1726 | "color": { |
|
1803 | 1804 | }, |
1804 | 1805 | "disableTextWrap": false, |
1805 | 1806 | "editorMode": "code", |
1806 | | - "expr": "sum(rate(container_oom_events_total{pod=~\"(proxy|shards)-.*\"}[1m])) by (pod)", |
| 1807 | + "expr": "sum(rate(kube_pod_container_status_last_terminated_reason{pod=~\"(proxy|shards)-.*\"}[1m])) by (pod, reason)", |
1807 | 1808 | "fullMetaSearch": false, |
1808 | 1809 | "includeNullMetadata": true, |
1809 | 1810 | "instant": false, |
|
1813 | 1814 | "useBackend": false |
1814 | 1815 | } |
1815 | 1816 | ], |
1816 | | - "title": "OOM events per second", |
| 1817 | + "title": "Container termination", |
1817 | 1818 | "type": "timeseries" |
1818 | 1819 | }, |
1819 | 1820 | { |
|
2777 | 2778 | "type": "prometheus", |
2778 | 2779 | "uid": "prometheus" |
2779 | 2780 | }, |
| 2781 | + "description": "", |
2780 | 2782 | "fieldConfig": { |
2781 | 2783 | "defaults": { |
2782 | 2784 | "color": { |
|
2837 | 2839 | "x": 0, |
2838 | 2840 | "y": 116 |
2839 | 2841 | }, |
2840 | | - "id": 28, |
| 2842 | + "id": 45, |
2841 | 2843 | "options": { |
2842 | 2844 | "legend": { |
2843 | 2845 | "calcs": [], |
|
2858 | 2860 | "type": "prometheus", |
2859 | 2861 | "uid": "prometheus" |
2860 | 2862 | }, |
| 2863 | + "disableTextWrap": false, |
2861 | 2864 | "editorMode": "code", |
2862 | | - "expr": "sum(rate(container_fs_reads_total{container=\"scylla\"}[60s])) by (container)", |
| 2865 | + "expr": "sum(rate(kube_pod_container_status_last_terminated_reason{pod=~\"(scylla)-.*\"}[1m])) by (pod, reason)", |
| 2866 | + "fullMetaSearch": false, |
| 2867 | + "includeNullMetadata": true, |
2863 | 2868 | "instant": false, |
2864 | | - "legendFormat": "{{container}}", |
| 2869 | + "legendFormat": "__auto", |
2865 | 2870 | "range": true, |
2866 | | - "refId": "A" |
| 2871 | + "refId": "A", |
| 2872 | + "useBackend": false |
2867 | 2873 | } |
2868 | 2874 | ], |
2869 | | - "title": "ScyllaDB FS reads per second", |
| 2875 | + "title": "ScyllaDB Container termination", |
2870 | 2876 | "type": "timeseries" |
2871 | 2877 | }, |
2872 | 2878 | { |
|
3031 | 3037 | "x": 0, |
3032 | 3038 | "y": 124 |
3033 | 3039 | }, |
3034 | | - "id": 43, |
| 3040 | + "id": 28, |
3035 | 3041 | "options": { |
3036 | 3042 | "legend": { |
3037 | 3043 | "calcs": [], |
|
3053 | 3059 | "uid": "prometheus" |
3054 | 3060 | }, |
3055 | 3061 | "editorMode": "code", |
3056 | | - "expr": "sum(rate(container_fs_writes_total{container=\"scylla\"}[60s])) by (container)", |
| 3062 | + "expr": "sum(rate(container_fs_reads_total{container=\"scylla\"}[60s])) by (container)", |
3057 | 3063 | "instant": false, |
3058 | 3064 | "legendFormat": "{{container}}", |
3059 | 3065 | "range": true, |
3060 | 3066 | "refId": "A" |
3061 | 3067 | } |
3062 | 3068 | ], |
3063 | | - "title": "ScyllaDB FS writes per second", |
| 3069 | + "title": "ScyllaDB FS reads per second", |
3064 | 3070 | "type": "timeseries" |
3065 | 3071 | }, |
3066 | 3072 | { |
|
3225 | 3231 | "x": 0, |
3226 | 3232 | "y": 132 |
3227 | 3233 | }, |
| 3234 | + "id": 43, |
| 3235 | + "options": { |
| 3236 | + "legend": { |
| 3237 | + "calcs": [], |
| 3238 | + "displayMode": "list", |
| 3239 | + "placement": "bottom", |
| 3240 | + "showLegend": true |
| 3241 | + }, |
| 3242 | + "tooltip": { |
| 3243 | + "hideZeros": false, |
| 3244 | + "mode": "single", |
| 3245 | + "sort": "none" |
| 3246 | + } |
| 3247 | + }, |
| 3248 | + "pluginVersion": "11.6.0-83314", |
| 3249 | + "targets": [ |
| 3250 | + { |
| 3251 | + "datasource": { |
| 3252 | + "type": "prometheus", |
| 3253 | + "uid": "prometheus" |
| 3254 | + }, |
| 3255 | + "editorMode": "code", |
| 3256 | + "expr": "sum(rate(container_fs_writes_total{container=\"scylla\"}[60s])) by (container)", |
| 3257 | + "instant": false, |
| 3258 | + "legendFormat": "{{container}}", |
| 3259 | + "range": true, |
| 3260 | + "refId": "A" |
| 3261 | + } |
| 3262 | + ], |
| 3263 | + "title": "ScyllaDB FS writes per second", |
| 3264 | + "type": "timeseries" |
| 3265 | + }, |
| 3266 | + { |
| 3267 | + "datasource": { |
| 3268 | + "type": "prometheus", |
| 3269 | + "uid": "prometheus" |
| 3270 | + }, |
| 3271 | + "fieldConfig": { |
| 3272 | + "defaults": { |
| 3273 | + "color": { |
| 3274 | + "mode": "palette-classic" |
| 3275 | + }, |
| 3276 | + "custom": { |
| 3277 | + "axisCenteredZero": false, |
| 3278 | + "axisColorMode": "text", |
| 3279 | + "axisLabel": "", |
| 3280 | + "axisPlacement": "auto", |
| 3281 | + "barAlignment": 0, |
| 3282 | + "drawStyle": "line", |
| 3283 | + "fillOpacity": 0, |
| 3284 | + "gradientMode": "none", |
| 3285 | + "hideFrom": { |
| 3286 | + "legend": false, |
| 3287 | + "tooltip": false, |
| 3288 | + "viz": false |
| 3289 | + }, |
| 3290 | + "insertNulls": false, |
| 3291 | + "lineInterpolation": "smooth", |
| 3292 | + "lineWidth": 1, |
| 3293 | + "pointSize": 5, |
| 3294 | + "scaleDistribution": { |
| 3295 | + "type": "linear" |
| 3296 | + }, |
| 3297 | + "showPoints": "auto", |
| 3298 | + "spanNulls": false, |
| 3299 | + "stacking": { |
| 3300 | + "group": "A", |
| 3301 | + "mode": "none" |
| 3302 | + }, |
| 3303 | + "thresholdsStyle": { |
| 3304 | + "mode": "off" |
| 3305 | + } |
| 3306 | + }, |
| 3307 | + "mappings": [], |
| 3308 | + "thresholds": { |
| 3309 | + "mode": "absolute", |
| 3310 | + "steps": [ |
| 3311 | + { |
| 3312 | + "color": "green", |
| 3313 | + "value": null |
| 3314 | + }, |
| 3315 | + { |
| 3316 | + "color": "red", |
| 3317 | + "value": 80 |
| 3318 | + } |
| 3319 | + ] |
| 3320 | + }, |
| 3321 | + "unit": "none" |
| 3322 | + }, |
| 3323 | + "overrides": [] |
| 3324 | + }, |
| 3325 | + "gridPos": { |
| 3326 | + "h": 8, |
| 3327 | + "w": 12, |
| 3328 | + "x": 0, |
| 3329 | + "y": 140 |
| 3330 | + }, |
3228 | 3331 | "id": 38, |
3229 | 3332 | "options": { |
3230 | 3333 | "legend": { |
|
0 commit comments