Path: blob/main/operations/observability/mixins/cross-teams/dashboards/gitpod-applications.json
2500 views
{1"annotations": {2"list": [3{4"builtIn": 1,5"datasource": {6"type": "grafana",7"uid": "-- Grafana --"8},9"enable": true,10"hide": true,11"iconColor": "rgba(0, 211, 255, 1)",12"name": "Annotations & Alerts",13"target": {14"limit": 100,15"matchAny": false,16"tags": [],17"type": "dashboard"18},19"type": "dashboard"20}21]22},23"description": "Aggregate information about applications in k8s",24"editable": true,25"fiscalYearStartMonth": 0,26"graphTooltip": 1,27"id": 87,28"links": [],29"liveNow": false,30"panels": [31{32"collapsed": false,33"gridPos": {34"h": 1,35"w": 24,36"x": 0,37"y": 038},39"id": 2,40"panels": [],41"title": "Application resources",42"type": "row"43},44{45"datasource": {46"type": "prometheus",47"uid": "P4169E866C3094E38"48},49"fieldConfig": {50"defaults": {51"color": {52"mode": "palette-classic"53},54"custom": {55"axisCenteredZero": false,56"axisColorMode": "text",57"axisLabel": "",58"axisPlacement": "auto",59"barAlignment": 0,60"drawStyle": "line",61"fillOpacity": 0,62"gradientMode": "none",63"hideFrom": {64"legend": false,65"tooltip": false,66"viz": false67},68"lineInterpolation": "linear",69"lineWidth": 1,70"pointSize": 5,71"scaleDistribution": {72"type": "linear"73},74"showPoints": "auto",75"spanNulls": false,76"stacking": {77"group": "A",78"mode": "none"79},80"thresholdsStyle": {81"mode": "off"82}83},84"mappings": [],85"thresholds": {86"mode": "absolute",87"steps": [88{89"color": "green",90"value": null91},92{93"color": "red",94"value": 8095}96]97},98"unit": "decbytes"99},100"overrides": []101},102"gridPos": {103"h": 9,104"w": 24,105"x": 0,106"y": 1107},108"id": 4,109"options": {110"legend": {111"calcs": [],112"displayMode": "list",113"placement": "bottom",114"showLegend": true115},116"tooltip": {117"mode": "single",118"sort": "none"119}120},121"targets": [122{123"datasource": {124"type": "prometheus",125"uid": "P4169E866C3094E38"126},127"editorMode": "code",128"expr": "sum(process_resident_memory_bytes{cluster=~\"$cluster\", job=~\"$job\", pod=~\"$pod\"}) by (job)",129"legendFormat": "__auto",130"range": true,131"refId": "A"132}133],134"title": "Total memory usage",135"type": "timeseries"136},137{138"datasource": {139"type": "prometheus",140"uid": "P4169E866C3094E38"141},142"fieldConfig": {143"defaults": {144"color": {145"mode": "palette-classic"146},147"custom": {148"axisCenteredZero": false,149"axisColorMode": "text",150"axisLabel": "",151"axisPlacement": "auto",152"barAlignment": 0,153"drawStyle": "line",154"fillOpacity": 0,155"gradientMode": "none",156"hideFrom": {157"legend": false,158"tooltip": false,159"viz": false160},161"lineInterpolation": "linear",162"lineWidth": 1,163"pointSize": 5,164"scaleDistribution": {165"type": "linear"166},167"showPoints": "auto",168"spanNulls": false,169"stacking": {170"group": "A",171"mode": "none"172},173"thresholdsStyle": {174"mode": "off"175}176},177"mappings": [],178"thresholds": {179"mode": "absolute",180"steps": [181{182"color": "green",183"value": null184},185{186"color": "red",187"value": 80188}189]190},191"unit": "none"192},193"overrides": []194},195"gridPos": {196"h": 9,197"w": 24,198"x": 0,199"y": 10200},201"id": 5,202"options": {203"legend": {204"calcs": [],205"displayMode": "list",206"placement": "bottom",207"showLegend": true208},209"tooltip": {210"mode": "single",211"sort": "none"212}213},214"targets": [215{216"datasource": {217"type": "prometheus",218"uid": "P4169E866C3094E38"219},220"editorMode": "code",221"expr": "sum(rate(process_cpu_seconds_total{cluster=~\"$cluster\", job=~\"$job\", pod=~\"$pod\"}[5m])) by (job)",222"hide": false,223"legendFormat": "__auto",224"range": true,225"refId": "B"226}227],228"title": "Total CPU usage (vCPUs) [5m]",229"type": "timeseries"230},231{232"collapsed": false,233"gridPos": {234"h": 1,235"w": 24,236"x": 0,237"y": 19238},239"id": 7,240"panels": [],241"title": "Horizontal Scaling",242"type": "row"243},244{245"datasource": {246"type": "prometheus",247"uid": "P4169E866C3094E38"248},249"fieldConfig": {250"defaults": {251"color": {252"mode": "palette-classic"253},254"custom": {255"axisCenteredZero": false,256"axisColorMode": "text",257"axisLabel": "",258"axisPlacement": "auto",259"barAlignment": 0,260"drawStyle": "line",261"fillOpacity": 0,262"gradientMode": "none",263"hideFrom": {264"legend": false,265"tooltip": false,266"viz": false267},268"lineInterpolation": "linear",269"lineWidth": 1,270"pointSize": 5,271"scaleDistribution": {272"type": "linear"273},274"showPoints": "auto",275"spanNulls": false,276"stacking": {277"group": "A",278"mode": "none"279},280"thresholdsStyle": {281"mode": "off"282}283},284"mappings": [],285"thresholds": {286"mode": "absolute",287"steps": [288{289"color": "green",290"value": null291},292{293"color": "red",294"value": 80295}296]297},298"unit": "none"299},300"overrides": []301},302"gridPos": {303"h": 9,304"w": 24,305"x": 0,306"y": 20307},308"id": 8,309"options": {310"legend": {311"calcs": [],312"displayMode": "list",313"placement": "bottom",314"showLegend": true315},316"tooltip": {317"mode": "single",318"sort": "none"319}320},321"targets": [322{323"datasource": {324"type": "prometheus",325"uid": "P4169E866C3094E38"326},327"editorMode": "code",328"expr": "count(up{cluster=~\"$cluster\", job=~\"$job\", pod=~\"$pod\"}[1m]) by (job)",329"hide": false,330"legendFormat": "__auto",331"range": true,332"refId": "B"333}334],335"title": "Replica count [1m]",336"type": "timeseries"337}338],339"schemaVersion": 37,340"style": "dark",341"tags": [342"kubernetes",343"application"344],345"templating": {346"list": [347{348"allValue": ".*",349"current": {350"selected": true,351"text": [352"All"353],354"value": [355"$__all"356]357},358"datasource": {359"type": "prometheus",360"uid": "P4169E866C3094E38"361},362"definition": "label_values(up, cluster)",363"hide": 0,364"includeAll": true,365"multi": true,366"name": "cluster",367"options": [],368"query": {369"query": "label_values(up, cluster)",370"refId": "StandardVariableQuery"371},372"refresh": 1,373"regex": "",374"skipUrlSync": false,375"sort": 0,376"type": "query"377},378{379"allValue": ".*",380"current": {381"selected": true,382"text": [383"All"384],385"value": [386"$__all"387]388},389"datasource": {390"type": "prometheus",391"uid": "P4169E866C3094E38"392},393"definition": "label_values(up, job)",394"hide": 0,395"includeAll": true,396"multi": true,397"name": "job",398"options": [],399"query": {400"query": "label_values(up, job)",401"refId": "StandardVariableQuery"402},403"refresh": 1,404"regex": "",405"skipUrlSync": false,406"sort": 0,407"type": "query"408},409{410"allValue": ".*",411"current": {412"selected": false,413"text": [414"All"415],416"value": [417"$__all"418]419},420"datasource": {421"type": "prometheus",422"uid": "P4169E866C3094E38"423},424"definition": "label_values(up, pod)",425"hide": 0,426"includeAll": true,427"multi": true,428"name": "pod",429"options": [],430"query": {431"query": "label_values(up, pod)",432"refId": "StandardVariableQuery"433},434"refresh": 1,435"regex": "",436"skipUrlSync": false,437"sort": 0,438"type": "query"439}440]441},442"time": {443"from": "now-6h",444"to": "now"445},446"timepicker": {447"refresh_intervals": [448"30s",449"1m",450"5m",451"15m",452"30m",453"1h",454"2h",455"1d"456]457},458"timezone": "utc",459"title": "Kubernetes / Applications",460"uid": "AJKH-pJ4k",461"version": 8,462"weekStart": "monday"463}464465466