File tree Expand file tree Collapse file tree 2 files changed +128
-7
lines changed 
docker-compose/technical/grafana/dashboards Expand file tree Collapse file tree 2 files changed +128
-7
lines changed Original file line number Diff line number Diff line change 801801          "disableTextWrap" : false ,
802802          "editorMode" : " code" 
803803          "exemplar" : false ,
804-           "expr" : " kube_pod_created{pod!~ \" .*cronjob.* \" }  * 1000" 
804+           "expr" : " kube_pod_created * 1000" 
805805          "format" : " table" 
806806          "fullMetaSearch" : false ,
807807          "hide" : false ,
883883              ]
884884            }
885885          }
886+         },
887+         {
888+           "id" : " filterByValue" 
889+           "options" : {
890+             "filters" : [
891+               {
892+                 "config" : {
893+                   "id" : " isNull" 
894+                   "options" : {}
895+                 },
896+                 "fieldName" : " Value #CPU Usage" 
897+               }
898+             ],
899+             "match" : " any" 
900+             "type" : " exclude" 
901+           }
886902        }
887903      ],
888904      "type" : " table" 
11171133                  }
11181134                },
11191135                "fieldName" : " last termination reason" 
1136+               },
1137+               {
1138+                 "config" : {
1139+                   "id" : " isNotNull" 
1140+                   "options" : {}
1141+                 },
1142+                 "fieldName" : " last termination reason" 
11201143              }
11211144            ],
11221145            "match" : " all" 
11831206                "mode" : " absolute" 
11841207                "steps" : [
11851208                  {
1186-                     "color" : " green" 
1209+                     "color" : " green" 
1210+                     "value" : null 
11871211                  },
11881212                  {
11891213                    "color" : " red" 
12771301                "mode" : " absolute" 
12781302                "steps" : [
12791303                  {
1280-                     "color" : " green" 
1304+                     "color" : " green" 
1305+                     "value" : null 
12811306                  },
12821307                  {
12831308                    "color" : " red" 
13711396                "mode" : " absolute" 
13721397                "steps" : [
13731398                  {
1374-                     "color" : " green" 
1399+                     "color" : " green" 
1400+                     "value" : null 
13751401                  },
13761402                  {
13771403                    "color" : " red" 
13941420              "calcs" : [],
13951421              "displayMode" : " list" 
13961422              "placement" : " bottom" 
1397-               "showLegend" : true 
1423+               "showLegend" : false 
13981424            },
13991425            "tooltip" : {
14001426              "mode" : " single" 
14171443          ],
14181444          "title" : " OOMKilled events" 
14191445          "type" : " timeseries" 
1446+         },
1447+         {
1448+           "datasource" : {
1449+             "type" : " prometheus" 
1450+             "uid" : " $datasource" 
1451+           },
1452+           "fieldConfig" : {
1453+             "defaults" : {
1454+               "color" : {
1455+                 "mode" : " palette-classic" 
1456+               },
1457+               "custom" : {
1458+                 "axisBorderShow" : false ,
1459+                 "axisCenteredZero" : false ,
1460+                 "axisColorMode" : " text" 
1461+                 "axisLabel" : " " 
1462+                 "axisPlacement" : " auto" 
1463+                 "barAlignment" : 0 ,
1464+                 "drawStyle" : " line" 
1465+                 "fillOpacity" : 0 ,
1466+                 "gradientMode" : " none" 
1467+                 "hideFrom" : {
1468+                   "legend" : false ,
1469+                   "tooltip" : false ,
1470+                   "viz" : false 
1471+                 },
1472+                 "insertNulls" : false ,
1473+                 "lineInterpolation" : " linear" 
1474+                 "lineWidth" : 1 ,
1475+                 "pointSize" : 5 ,
1476+                 "scaleDistribution" : {
1477+                   "type" : " linear" 
1478+                 },
1479+                 "showPoints" : " auto" 
1480+                 "spanNulls" : false ,
1481+                 "stacking" : {
1482+                   "group" : " A" 
1483+                   "mode" : " none" 
1484+                 },
1485+                 "thresholdsStyle" : {
1486+                   "mode" : " off" 
1487+                 }
1488+               },
1489+               "mappings" : [],
1490+               "thresholds" : {
1491+                 "mode" : " absolute" 
1492+                 "steps" : [
1493+                   {
1494+                     "color" : " green" 
1495+                     "value" : null 
1496+                   },
1497+                   {
1498+                     "color" : " red" 
1499+                     "value" : 80 
1500+                   }
1501+                 ]
1502+               }
1503+             },
1504+             "overrides" : []
1505+           },
1506+           "gridPos" : {
1507+             "h" : 8 ,
1508+             "w" : 12 ,
1509+             "x" : 12 ,
1510+             "y" : 33 
1511+           },
1512+           "id" : 53 ,
1513+           "options" : {
1514+             "legend" : {
1515+               "calcs" : [],
1516+               "displayMode" : " list" 
1517+               "placement" : " bottom" 
1518+               "showLegend" : false 
1519+             },
1520+             "tooltip" : {
1521+               "mode" : " single" 
1522+               "sort" : " none" 
1523+             }
1524+           },
1525+           "targets" : [
1526+             {
1527+               "datasource" : {
1528+                 "type" : " prometheus" 
1529+                 "uid" : " ${datasource}" 
1530+               },
1531+               "editorMode" : " code" 
1532+               "expr" : " (kube_pod_container_status_restarts_total - kube_pod_container_status_restarts_total offset 10m >= 1) and ignoring (reason) min_over_time(kube_pod_container_status_last_terminated_reason{reason=\" Error\" }[10m]) == 1" 
1533+               "instant" : false ,
1534+               "legendFormat" : " {{pod}}" 
1535+               "range" : true ,
1536+               "refId" : " A" 
1537+             }
1538+           ],
1539+           "title" : " Error events" 
1540+           "type" : " timeseries" 
14201541        }
14211542      ],
14221543      "title" : " Detailed infos" 
Original file line number Diff line number Diff line change 160160          },
161161          "editorMode" : " code" 
162162          "exemplar" : true ,
163-           "expr" : " count(count by (user) (app_users))" 
163+           "expr" : " count(count by (user) (app_users)) OR on() vector(0) " 
164164          "interval" : " " 
165165          "legendFormat" : " " 
166166          "range" : true ,
256256          },
257257          "editorMode" : " code" 
258258          "exemplar" : true ,
259-           "expr" : " sum(app_users)" 
259+           "expr" : " sum(app_users) OR on() vector(0) " 
260260          "interval" : " " 
261261          "legendFormat" : " " 
262262          "range" : true ,
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments