...

Text file src/github.com/linkerd/linkerd2/grafana/dashboards/namespace.json

Documentation: github.com/linkerd/linkerd2/grafana/dashboards

     1{
     2  "__inputs": [
     3    {
     4      "name": "datasource",
     5      "label": "prometheus",
     6      "description": "",
     7      "type": "datasource",
     8      "pluginId": "prometheus",
     9      "pluginName": "Prometheus"
    10    }
    11  ],
    12  "__elements": [],
    13  "__requires": [
    14    {
    15      "type": "panel",
    16      "id": "gauge",
    17      "name": "Gauge",
    18      "version": ""
    19    },
    20    {
    21      "type": "grafana",
    22      "id": "grafana",
    23      "name": "Grafana",
    24      "version": "8.3.3"
    25    },
    26    {
    27      "type": "panel",
    28      "id": "graph",
    29      "name": "Graph (old)",
    30      "version": ""
    31    },
    32    {
    33      "type": "panel",
    34      "id": "heatmap",
    35      "name": "Heatmap",
    36      "version": ""
    37    },
    38    {
    39      "type": "datasource",
    40      "id": "prometheus",
    41      "name": "Prometheus",
    42      "version": "1.0.0"
    43    },
    44    {
    45      "type": "panel",
    46      "id": "stat",
    47      "name": "Stat",
    48      "version": ""
    49    },
    50    {
    51      "type": "panel",
    52      "id": "text",
    53      "name": "Text",
    54      "version": ""
    55    }
    56  ],
    57  "annotations": {
    58    "list": [
    59      {
    60        "builtIn": 1,
    61        "datasource": "-- Grafana --",
    62        "enable": true,
    63        "hide": true,
    64        "iconColor": "rgba(0, 211, 255, 1)",
    65        "name": "Annotations & Alerts",
    66        "type": "dashboard"
    67      }
    68    ]
    69  },
    70  "editable": true,
    71  "gnetId": null,
    72  "graphTooltip": 1,
    73  "id": null,
    74  "iteration": 1566417010901,
    75  "links": [],
    76  "panels": [
    77    {
    78      "content": "<div>\n  <div style=\"position: absolute; top: 0, left: 0\">\n    <a href=\"https://linkerd.io\" target=\"_blank\"><img src=\"https://linkerd.io/images/identity/svg/linkerd_primary_color_white.svg\" style=\"height: 30px;\"></a>\n  </div>\n  <div id=\"version\" style=\"position: absolute; top: 0; right: 0; font-size: 15px\">\n  </div>\n</div>\n<div style=\"display:none\">\n<script type=\"text/javascript\">\nvar localReqURL =\n  window.location.href.substring(\n    0,\n    window.location.href.indexOf(\n    \"/grafana/\"\n    )\n  )+'/overview';\n\nfetch(localReqURL, {\n  credentials: 'include',\n  headers: {\n    \"Content-Type\": \"text/html; charset=utf-8\",\n  },\n})\n.then(response => response.text())\n.then(text => (new window.DOMParser()).parseFromString(text, \"text/html\"))\n.then(html => {\n  var main = html.getElementById('main');\n  var localVersion = main.getAttribute(\"data-release-version\");\n  var versionElem = document.getElementById('version');\n\n  var channel;\n  var parts = localVersion.split(\"-\", 2);\n  if (parts.length === 2) {\n    channel = parts[0];\n    versionElem.innerHTML += 'Running Linkerd ' + parts[1] + ' (' + parts[0] + ')' + '.<br>';\n  } else {\n    versionElem.innerHTML += 'Running Linkerd ' + localVersion + '.<br>';\n  }\n  var uuid = main.getAttribute(\"data-uuid\");\n\n  fetch('https://versioncheck.linkerd.io/version.json?version='+localVersion+'&uuid='+uuid+'&source=grafana', {\n    credentials: 'include',\n    headers: {\n      \"Content-Type\": \"application/json; charset=utf-8\",\n    },\n  })\n  .then(response => response.json())\n  .then(json => {\n    if (!channel || !json[channel]) {\n      versionElem.innerHTML += 'Version check failed.'\n    } else if (json[channel] === localVersion) {\n      versionElem.innerHTML += 'Linkerd is up to date.';\n    } else {\n      parts = json[channel].split(\"-\", 2);\n      if (parts.length === 2) {\n        versionElem.innerHTML += \"A new \"+parts[0]+\" version (\"+parts[1]+\") is available.\"\n      } else {\n        versionElem.innerHTML += \"A new version (\"+json[channel]+\") is available.\"\n      }\n      versionElem.innerHTML += \" <a href='https://versioncheck.linkerd.io/update' target='_blank'>Update now</a>.\";\n    }\n  });\n});\n</script>\n</div>",
    79      "gridPos": {
    80        "h": 3,
    81        "w": 24,
    82        "x": 0,
    83        "y": 0
    84      },
    85      "height": "1px",
    86      "id": 14,
    87      "links": [],
    88      "mode": "html",
    89      "options": {},
    90      "title": "",
    91      "transparent": true,
    92      "type": "text"
    93    },
    94    {
    95      "cacheTimeout": null,
    96      "colorBackground": false,
    97      "colorValue": true,
    98      "colors": [
    99        "#d44a3a",
   100        "rgba(237, 129, 40, 0.89)",
   101        "#299c46"
   102      ],
   103      "datasource": {
   104        "type": "prometheus",
   105        "uid": "${datasource}"
   106      },
   107      "format": "percentunit",
   108      "gauge": {
   109        "maxValue": 1,
   110        "minValue": 0,
   111        "show": true,
   112        "thresholdLabels": false,
   113        "thresholdMarkers": true
   114      },
   115      "gridPos": {
   116        "h": 4,
   117        "w": 8,
   118        "x": 0,
   119        "y": 3
   120      },
   121      "height": "",
   122      "id": 28,
   123      "interval": null,
   124      "links": [],
   125      "mappingType": 1,
   126      "mappingTypes": [
   127        {
   128          "name": "value to text",
   129          "value": 1
   130        },
   131        {
   132          "name": "range to text",
   133          "value": 2
   134        }
   135      ],
   136      "maxDataPoints": 100,
   137      "nullPointMode": "connected",
   138      "nullText": null,
   139      "options": {},
   140      "postfix": "",
   141      "postfixFontSize": "50%",
   142      "prefix": "",
   143      "prefixFontSize": "50%",
   144      "rangeMaps": [
   145        {
   146          "from": "null",
   147          "text": "N/A",
   148          "to": "null"
   149        }
   150      ],
   151      "sparkline": {
   152        "fillColor": "rgba(31, 118, 189, 0.18)",
   153        "full": true,
   154        "lineColor": "rgb(31, 120, 193)",
   155        "show": true
   156      },
   157      "tableColumn": "",
   158      "targets": [
   159        {
   160          "expr": "sum(irate(response_total{classification=\"success\", namespace=~\"$namespace\", deployment=~\"$deployment\"}[$__rate_interval])) / sum(irate(response_total{namespace=~\"$namespace\", deployment=~\"$deployment\"}[$__rate_interval]))",
   161          "format": "time_series",
   162          "intervalFactor": 1,
   163          "legendFormat": "",
   164          "refId": "A"
   165        }
   166      ],
   167      "thresholds": ".9,.99",
   168      "title": "GLOBAL SUCCESS RATE",
   169      "type": "singlestat",
   170      "valueFontSize": "80%",
   171      "valueMaps": [
   172        {
   173          "op": "=",
   174          "text": "N/A",
   175          "value": "null"
   176        }
   177      ],
   178      "valueName": "current"
   179    },
   180    {
   181      "cacheTimeout": null,
   182      "colorBackground": false,
   183      "colorValue": false,
   184      "colors": [
   185        "#d44a3a",
   186        "rgba(237, 129, 40, 0.89)",
   187        "#299c46"
   188      ],
   189      "datasource": {
   190        "type": "prometheus",
   191        "uid": "${datasource}"
   192      },
   193      "format": "rps",
   194      "gauge": {
   195        "maxValue": 1,
   196        "minValue": 0,
   197        "show": false,
   198        "thresholdLabels": false,
   199        "thresholdMarkers": true
   200      },
   201      "gridPos": {
   202        "h": 4,
   203        "w": 8,
   204        "x": 8,
   205        "y": 3
   206      },
   207      "height": "",
   208      "id": 29,
   209      "interval": null,
   210      "links": [],
   211      "mappingType": 1,
   212      "mappingTypes": [
   213        {
   214          "name": "value to text",
   215          "value": 1
   216        },
   217        {
   218          "name": "range to text",
   219          "value": 2
   220        }
   221      ],
   222      "maxDataPoints": 100,
   223      "nullPointMode": "connected",
   224      "nullText": null,
   225      "options": {},
   226      "postfix": "",
   227      "postfixFontSize": "50%",
   228      "prefix": "",
   229      "prefixFontSize": "50%",
   230      "rangeMaps": [
   231        {
   232          "from": "null",
   233          "text": "N/A",
   234          "to": "null"
   235        }
   236      ],
   237      "sparkline": {
   238        "fillColor": "rgba(31, 118, 189, 0.18)",
   239        "full": true,
   240        "lineColor": "rgb(31, 120, 193)",
   241        "show": true
   242      },
   243      "tableColumn": "",
   244      "targets": [
   245        {
   246          "expr": "sum(irate(request_total{namespace=~\"$namespace\", deployment=~\"$deployment\"}[$__rate_interval]))",
   247          "format": "time_series",
   248          "intervalFactor": 2,
   249          "legendFormat": "",
   250          "refId": "A"
   251        }
   252      ],
   253      "thresholds": "",
   254      "title": "GLOBAL REQUEST VOLUME",
   255      "type": "singlestat",
   256      "valueFontSize": "80%",
   257      "valueMaps": [
   258        {
   259          "op": "=",
   260          "text": "N/A",
   261          "value": "null"
   262        }
   263      ],
   264      "valueName": "current"
   265    },
   266    {
   267      "cacheTimeout": null,
   268      "colorBackground": false,
   269      "colorValue": false,
   270      "colors": [
   271        "#d44a3a",
   272        "rgba(237, 129, 40, 0.89)",
   273        "#299c46"
   274      ],
   275      "datasource": {
   276        "type": "prometheus",
   277        "uid": "${datasource}"
   278      },
   279      "format": "none",
   280      "gauge": {
   281        "maxValue": 1,
   282        "minValue": 0,
   283        "show": false,
   284        "thresholdLabels": false,
   285        "thresholdMarkers": true
   286      },
   287      "gridPos": {
   288        "h": 4,
   289        "w": 8,
   290        "x": 16,
   291        "y": 3
   292      },
   293      "height": "",
   294      "id": 86,
   295      "interval": null,
   296      "links": [],
   297      "mappingType": 1,
   298      "mappingTypes": [
   299        {
   300          "name": "value to text",
   301          "value": 1
   302        },
   303        {
   304          "name": "range to text",
   305          "value": 2
   306        }
   307      ],
   308      "maxDataPoints": 100,
   309      "nullPointMode": "connected",
   310      "nullText": null,
   311      "options": {},
   312      "postfix": "",
   313      "postfixFontSize": "50%",
   314      "prefix": "",
   315      "prefixFontSize": "50%",
   316      "rangeMaps": [
   317        {
   318          "from": "null",
   319          "text": "N/A",
   320          "to": "null"
   321        }
   322      ],
   323      "sparkline": {
   324        "fillColor": "rgba(31, 118, 189, 0.18)",
   325        "full": true,
   326        "lineColor": "rgb(31, 120, 193)",
   327        "show": false
   328      },
   329      "tableColumn": "",
   330      "targets": [
   331        {
   332          "expr": "count(count(request_total{namespace=~\"$namespace\", deployment=~\"$deployment\"}) by (namespace, deployment))",
   333          "format": "time_series",
   334          "intervalFactor": 1,
   335          "legendFormat": "",
   336          "refId": "A"
   337        }
   338      ],
   339      "thresholds": "",
   340      "title": "DEPLOYMENTS MONITORED",
   341      "type": "singlestat",
   342      "valueFontSize": "200%",
   343      "valueMaps": [
   344        {
   345          "op": "=",
   346          "text": "N/A",
   347          "value": "null"
   348        }
   349      ],
   350      "valueName": "current"
   351    },
   352    {
   353      "content": "<div class=\"text-center dashboard-header\">\n  <span>TOP LINE</span>\n</div>",
   354      "gridPos": {
   355        "h": 2,
   356        "w": 24,
   357        "x": 0,
   358        "y": 7
   359      },
   360      "height": "1px",
   361      "id": 20,
   362      "links": [],
   363      "mode": "html",
   364      "options": {},
   365      "title": "",
   366      "transparent": true,
   367      "type": "text"
   368    },
   369    {
   370      "aliasColors": {},
   371      "bars": false,
   372      "dashLength": 10,
   373      "dashes": false,
   374      "datasource": {
   375        "type": "prometheus",
   376        "uid": "${datasource}"
   377      },
   378      "fill": 1,
   379      "gridPos": {
   380        "h": 7,
   381        "w": 8,
   382        "x": 0,
   383        "y": 9
   384      },
   385      "id": 21,
   386      "legend": {
   387        "avg": false,
   388        "current": false,
   389        "max": false,
   390        "min": false,
   391        "show": false,
   392        "total": false,
   393        "values": false
   394      },
   395      "lines": true,
   396      "linewidth": 2,
   397      "links": [],
   398      "nullPointMode": "null",
   399      "options": {},
   400      "percentage": false,
   401      "pointradius": 5,
   402      "points": false,
   403      "renderer": "flot",
   404      "seriesOverrides": [],
   405      "spaceLength": 10,
   406      "stack": false,
   407      "steppedLine": false,
   408      "targets": [
   409        {
   410          "expr": "sum(irate(response_total{classification=\"success\", namespace=~\"$namespace\", deployment=~\"$deployment\", direction=\"inbound\"}[$__rate_interval])) by (deployment) / sum(irate(response_total{namespace=~\"$namespace\", deployment=~\"$deployment\", direction=\"inbound\"}[$__rate_interval])) by (deployment)",
   411          "format": "time_series",
   412          "intervalFactor": 1,
   413          "legendFormat": "deploy/{{deployment}}",
   414          "refId": "A"
   415        }
   416      ],
   417      "thresholds": [],
   418      "timeFrom": null,
   419      "timeRegions": [],
   420      "timeShift": null,
   421      "title": "SUCCESS RATE",
   422      "tooltip": {
   423        "shared": true,
   424        "sort": 2,
   425        "value_type": "individual"
   426      },
   427      "type": "graph",
   428      "xaxis": {
   429        "buckets": null,
   430        "mode": "time",
   431        "name": null,
   432        "show": true,
   433        "values": []
   434      },
   435      "yaxes": [
   436        {
   437          "format": "percentunit",
   438          "label": null,
   439          "logBase": 1,
   440          "max": 1,
   441          "min": null,
   442          "show": true
   443        },
   444        {
   445          "format": "short",
   446          "label": null,
   447          "logBase": 1,
   448          "max": null,
   449          "min": null,
   450          "show": true
   451        }
   452      ],
   453      "yaxis": {
   454        "align": false,
   455        "alignLevel": null
   456      }
   457    },
   458    {
   459      "aliasColors": {},
   460      "bars": false,
   461      "dashLength": 10,
   462      "dashes": false,
   463      "datasource": {
   464        "type": "prometheus",
   465        "uid": "${datasource}"
   466      },
   467      "fill": 0,
   468      "gridPos": {
   469        "h": 7,
   470        "w": 8,
   471        "x": 8,
   472        "y": 9
   473      },
   474      "id": 22,
   475      "legend": {
   476        "avg": false,
   477        "current": false,
   478        "max": false,
   479        "min": false,
   480        "show": false,
   481        "total": false,
   482        "values": false
   483      },
   484      "lines": true,
   485      "linewidth": 2,
   486      "links": [],
   487      "nullPointMode": "null",
   488      "options": {},
   489      "percentage": false,
   490      "pointradius": 5,
   491      "points": false,
   492      "renderer": "flot",
   493      "seriesOverrides": [],
   494      "spaceLength": 10,
   495      "stack": false,
   496      "steppedLine": false,
   497      "targets": [
   498        {
   499          "expr": "sum(irate(request_total{namespace=~\"$namespace\", deployment=~\"$deployment\", direction=\"inbound\", tls=\"true\"}[$__rate_interval])) by (deployment)",
   500          "format": "time_series",
   501          "intervalFactor": 1,
   502          "legendFormat": "🔒deploy/{{deployment}}",
   503          "refId": "A"
   504        },
   505        {
   506          "expr": "sum(irate(request_total{namespace=~\"$namespace\", deployment=~\"$deployment\", direction=\"inbound\", tls!=\"true\"}[$__rate_interval])) by (deployment)",
   507          "format": "time_series",
   508          "intervalFactor": 1,
   509          "legendFormat": "deploy/{{deployment}}",
   510          "refId": "B"
   511        }
   512      ],
   513      "thresholds": [],
   514      "timeFrom": null,
   515      "timeRegions": [],
   516      "timeShift": null,
   517      "title": "REQUEST VOLUME",
   518      "tooltip": {
   519        "shared": true,
   520        "sort": 2,
   521        "value_type": "individual"
   522      },
   523      "type": "graph",
   524      "xaxis": {
   525        "buckets": null,
   526        "mode": "time",
   527        "name": null,
   528        "show": true,
   529        "values": []
   530      },
   531      "yaxes": [
   532        {
   533          "format": "rps",
   534          "label": null,
   535          "logBase": 1,
   536          "max": null,
   537          "min": 0,
   538          "show": true
   539        },
   540        {
   541          "format": "short",
   542          "label": null,
   543          "logBase": 1,
   544          "max": null,
   545          "min": null,
   546          "show": true
   547        }
   548      ],
   549      "yaxis": {
   550        "align": false,
   551        "alignLevel": null
   552      }
   553    },
   554    {
   555      "aliasColors": {},
   556      "bars": false,
   557      "dashLength": 10,
   558      "dashes": false,
   559      "datasource": {
   560        "type": "prometheus",
   561        "uid": "${datasource}"
   562      },
   563      "fill": 1,
   564      "gridPos": {
   565        "h": 7,
   566        "w": 8,
   567        "x": 16,
   568        "y": 9
   569      },
   570      "id": 23,
   571      "legend": {
   572        "avg": false,
   573        "current": false,
   574        "max": false,
   575        "min": false,
   576        "show": false,
   577        "total": false,
   578        "values": false
   579      },
   580      "lines": true,
   581      "linewidth": 2,
   582      "links": [],
   583      "nullPointMode": "null",
   584      "options": {},
   585      "percentage": false,
   586      "pointradius": 5,
   587      "points": false,
   588      "renderer": "flot",
   589      "seriesOverrides": [],
   590      "spaceLength": 10,
   591      "stack": false,
   592      "steppedLine": false,
   593      "targets": [
   594        {
   595          "expr": "histogram_quantile(0.95, sum(irate(response_latency_ms_bucket{namespace=~\"$namespace\", deployment=~\"$deployment\", direction=\"inbound\"}[$__rate_interval])) by (le, deployment))",
   596          "format": "time_series",
   597          "intervalFactor": 1,
   598          "legendFormat": "p95 deploy/{{deployment}}",
   599          "refId": "A"
   600        }
   601      ],
   602      "thresholds": [],
   603      "timeFrom": null,
   604      "timeRegions": [],
   605      "timeShift": null,
   606      "title": "P95 LATENCY",
   607      "tooltip": {
   608        "shared": true,
   609        "sort": 2,
   610        "value_type": "individual"
   611      },
   612      "type": "graph",
   613      "xaxis": {
   614        "buckets": null,
   615        "mode": "time",
   616        "name": null,
   617        "show": true,
   618        "values": []
   619      },
   620      "yaxes": [
   621        {
   622          "format": "ms",
   623          "label": null,
   624          "logBase": 1,
   625          "max": null,
   626          "min": null,
   627          "show": true
   628        },
   629        {
   630          "format": "short",
   631          "label": null,
   632          "logBase": 1,
   633          "max": null,
   634          "min": null,
   635          "show": true
   636        }
   637      ],
   638      "yaxis": {
   639        "align": false,
   640        "alignLevel": null
   641      }
   642    },
   643    {
   644      "content": "<div class=\"text-center dashboard-header\">\n  <span>DEPLOYMENTS</span>\n</div>",
   645      "gridPos": {
   646        "h": 2,
   647        "w": 24,
   648        "x": 0,
   649        "y": 16
   650      },
   651      "height": "1px",
   652      "id": 19,
   653      "links": [],
   654      "mode": "html",
   655      "options": {},
   656      "title": "",
   657      "transparent": true,
   658      "type": "text"
   659    },
   660    {
   661      "collapsed": false,
   662      "gridPos": {
   663        "h": 1,
   664        "w": 24,
   665        "x": 0,
   666        "y": 18
   667      },
   668      "id": 40,
   669      "panels": [],
   670      "repeat": "deployment",
   671      "title": "",
   672      "type": "row"
   673    },
   674    {
   675      "content": "<div>\n  <img src=\"https://linkerd.io/images/identity/favicon/linkerd-favicon.png\" style=\"baseline; height:30px;\"/>&nbsp;\n  <a href=\"./dashboard/db/linkerd-deployment?var-namespace=$namespace&var-deployment=$deployment\">\n    <span style=\"font-size: 15px; border-image:none\">deploy/$deployment</span>\n  </a>\n</div>",
   676      "gridPos": {
   677        "h": 2,
   678        "w": 24,
   679        "x": 0,
   680        "y": 19
   681      },
   682      "height": "1px",
   683      "id": 13,
   684      "links": [],
   685      "mode": "html",
   686      "options": {},
   687      "title": "",
   688      "transparent": true,
   689      "type": "text"
   690    },
   691    {
   692      "aliasColors": {},
   693      "bars": false,
   694      "dashLength": 10,
   695      "dashes": false,
   696      "datasource": {
   697        "type": "prometheus",
   698        "uid": "${datasource}"
   699      },
   700      "fill": 1,
   701      "gridPos": {
   702        "h": 7,
   703        "w": 8,
   704        "x": 0,
   705        "y": 21
   706      },
   707      "id": 6,
   708      "legend": {
   709        "avg": false,
   710        "current": false,
   711        "max": false,
   712        "min": false,
   713        "show": false,
   714        "total": false,
   715        "values": false
   716      },
   717      "lines": true,
   718      "linewidth": 2,
   719      "links": [],
   720      "nullPointMode": "null",
   721      "options": {},
   722      "percentage": false,
   723      "pointradius": 5,
   724      "points": false,
   725      "renderer": "flot",
   726      "seriesOverrides": [],
   727      "spaceLength": 10,
   728      "stack": false,
   729      "steppedLine": false,
   730      "targets": [
   731        {
   732          "expr": "sum(irate(response_total{classification=\"success\", namespace=\"$namespace\", deployment=\"$deployment\", direction=\"inbound\"}[$__rate_interval])) by (deployment) / sum(irate(response_total{namespace=\"$namespace\", deployment=\"$deployment\", direction=\"inbound\"}[$__rate_interval])) by (deployment)",
   733          "format": "time_series",
   734          "intervalFactor": 1,
   735          "legendFormat": "deploy/{{deployment}}",
   736          "refId": "A"
   737        }
   738      ],
   739      "thresholds": [],
   740      "timeFrom": null,
   741      "timeRegions": [],
   742      "timeShift": null,
   743      "title": "SUCCESS RATE",
   744      "tooltip": {
   745        "shared": true,
   746        "sort": 2,
   747        "value_type": "individual"
   748      },
   749      "type": "graph",
   750      "xaxis": {
   751        "buckets": null,
   752        "mode": "time",
   753        "name": null,
   754        "show": true,
   755        "values": []
   756      },
   757      "yaxes": [
   758        {
   759          "format": "percentunit",
   760          "label": null,
   761          "logBase": 1,
   762          "max": 1,
   763          "min": null,
   764          "show": true
   765        },
   766        {
   767          "format": "short",
   768          "label": null,
   769          "logBase": 1,
   770          "max": null,
   771          "min": null,
   772          "show": true
   773        }
   774      ],
   775      "yaxis": {
   776        "align": false,
   777        "alignLevel": null
   778      }
   779    },
   780    {
   781      "aliasColors": {},
   782      "bars": false,
   783      "dashLength": 10,
   784      "dashes": false,
   785      "datasource": {
   786        "type": "prometheus",
   787        "uid": "${datasource}"
   788      },
   789      "fill": 0,
   790      "gridPos": {
   791        "h": 7,
   792        "w": 8,
   793        "x": 8,
   794        "y": 21
   795      },
   796      "id": 8,
   797      "legend": {
   798        "avg": false,
   799        "current": false,
   800        "max": false,
   801        "min": false,
   802        "show": false,
   803        "total": false,
   804        "values": false
   805      },
   806      "lines": true,
   807      "linewidth": 2,
   808      "links": [],
   809      "nullPointMode": "null",
   810      "options": {},
   811      "percentage": false,
   812      "pointradius": 5,
   813      "points": false,
   814      "renderer": "flot",
   815      "seriesOverrides": [],
   816      "spaceLength": 10,
   817      "stack": false,
   818      "steppedLine": false,
   819      "targets": [
   820        {
   821          "expr": "sum(irate(request_total{namespace=\"$namespace\", deployment=\"$deployment\", direction=\"inbound\", tls=\"true\"}[$__rate_interval])) by (deployment)",
   822          "format": "time_series",
   823          "hide": false,
   824          "intervalFactor": 1,
   825          "legendFormat": "🔒deploy/{{deployment}}",
   826          "refId": "A"
   827        },
   828        {
   829          "expr": "sum(irate(request_total{namespace=\"$namespace\", deployment=\"$deployment\", direction=\"inbound\", tls!=\"true\"}[$__rate_interval])) by (deployment)",
   830          "format": "time_series",
   831          "hide": false,
   832          "intervalFactor": 1,
   833          "legendFormat": "deploy/{{deployment}}",
   834          "refId": "B"
   835        }
   836      ],
   837      "thresholds": [],
   838      "timeFrom": null,
   839      "timeRegions": [],
   840      "timeShift": null,
   841      "title": "REQUEST VOLUME",
   842      "tooltip": {
   843        "shared": true,
   844        "sort": 2,
   845        "value_type": "individual"
   846      },
   847      "type": "graph",
   848      "xaxis": {
   849        "buckets": null,
   850        "mode": "time",
   851        "name": null,
   852        "show": true,
   853        "values": []
   854      },
   855      "yaxes": [
   856        {
   857          "format": "rps",
   858          "label": null,
   859          "logBase": 1,
   860          "max": null,
   861          "min": 0,
   862          "show": true
   863        },
   864        {
   865          "format": "short",
   866          "label": null,
   867          "logBase": 1,
   868          "max": null,
   869          "min": null,
   870          "show": true
   871        }
   872      ],
   873      "yaxis": {
   874        "align": false,
   875        "alignLevel": null
   876      }
   877    },
   878    {
   879      "aliasColors": {},
   880      "bars": false,
   881      "dashLength": 10,
   882      "dashes": false,
   883      "datasource": {
   884        "type": "prometheus",
   885        "uid": "${datasource}"
   886      },
   887      "fill": 1,
   888      "gridPos": {
   889        "h": 7,
   890        "w": 8,
   891        "x": 16,
   892        "y": 21
   893      },
   894      "id": 9,
   895      "legend": {
   896        "avg": false,
   897        "current": false,
   898        "max": false,
   899        "min": false,
   900        "show": false,
   901        "total": false,
   902        "values": false
   903      },
   904      "lines": true,
   905      "linewidth": 2,
   906      "links": [],
   907      "nullPointMode": "null",
   908      "options": {},
   909      "percentage": false,
   910      "pointradius": 5,
   911      "points": false,
   912      "renderer": "flot",
   913      "seriesOverrides": [],
   914      "spaceLength": 10,
   915      "stack": false,
   916      "steppedLine": false,
   917      "targets": [
   918        {
   919          "expr": "histogram_quantile(0.95, sum(irate(response_latency_ms_bucket{namespace=\"$namespace\", deployment=\"$deployment\", direction=\"inbound\"}[$__rate_interval])) by (le, deployment))",
   920          "format": "time_series",
   921          "hide": false,
   922          "intervalFactor": 1,
   923          "legendFormat": "p95 deploy/{{deployment}}",
   924          "refId": "A"
   925        }
   926      ],
   927      "thresholds": [],
   928      "timeFrom": null,
   929      "timeRegions": [],
   930      "timeShift": null,
   931      "title": "P95 LATENCY",
   932      "tooltip": {
   933        "shared": true,
   934        "sort": 2,
   935        "value_type": "individual"
   936      },
   937      "type": "graph",
   938      "xaxis": {
   939        "buckets": null,
   940        "mode": "time",
   941        "name": null,
   942        "show": true,
   943        "values": []
   944      },
   945      "yaxes": [
   946        {
   947          "format": "ms",
   948          "label": null,
   949          "logBase": 1,
   950          "max": null,
   951          "min": null,
   952          "show": true
   953        },
   954        {
   955          "format": "short",
   956          "label": null,
   957          "logBase": 1,
   958          "max": null,
   959          "min": null,
   960          "show": true
   961        }
   962      ],
   963      "yaxis": {
   964        "align": false,
   965        "alignLevel": null
   966      }
   967    }
   968  ],
   969  "refresh": "1m",
   970  "schemaVersion": 18,
   971  "style": "dark",
   972  "tags": [
   973    "linkerd"
   974  ],
   975  "templating": {
   976    "list": [
   977      {
   978        "current": {
   979          "text": "default",
   980          "value": "default"
   981        },
   982        "hide": 0,
   983        "label": "Data Source",
   984        "name": "datasource",
   985        "options": [],
   986        "query": "prometheus",
   987        "refresh": 1,
   988        "regex": "",
   989        "type": "datasource"
   990      },
   991      {
   992        "allValue": ".*",
   993        "current": {},
   994        "datasource": {
   995          "type": "prometheus",
   996          "uid": "${datasource}"
   997        },
   998        "definition": "label_values(process_start_time_seconds{deployment!=\"\"}, namespace)",
   999        "hide": 0,
  1000        "includeAll": false,
  1001        "label": "Namespace",
  1002        "multi": false,
  1003        "name": "namespace",
  1004        "options": [],
  1005        "query": "label_values(process_start_time_seconds{deployment!=\"\"}, namespace)",
  1006        "refresh": 2,
  1007        "regex": "",
  1008        "skipUrlSync": false,
  1009        "sort": 1,
  1010        "tagValuesQuery": "",
  1011        "tags": [],
  1012        "tagsQuery": "",
  1013        "type": "query",
  1014        "useTags": false
  1015      },
  1016      {
  1017        "allValue": ".*",
  1018        "current": {},
  1019        "datasource": {
  1020          "type": "prometheus",
  1021          "uid": "${datasource}"
  1022        },
  1023        "definition": "label_values(process_start_time_seconds{namespace=\"$namespace\"}, deployment)",
  1024        "hide": 0,
  1025        "includeAll": true,
  1026        "label": "Deployments",
  1027        "multi": true,
  1028        "name": "deployment",
  1029        "options": [],
  1030        "query": "label_values(process_start_time_seconds{namespace=\"$namespace\"}, deployment)",
  1031        "refresh": 2,
  1032        "regex": "",
  1033        "skipUrlSync": false,
  1034        "sort": 1,
  1035        "tagValuesQuery": "",
  1036        "tags": [],
  1037        "tagsQuery": "",
  1038        "type": "query",
  1039        "useTags": false
  1040      }
  1041    ]
  1042  },
  1043  "time": {
  1044    "from": "now-5m",
  1045    "to": "now"
  1046  },
  1047  "timepicker": {
  1048    "refresh_intervals": [
  1049      "5s",
  1050      "10s",
  1051      "30s",
  1052      "1m",
  1053      "5m",
  1054      "15m",
  1055      "30m",
  1056      "1h",
  1057      "2h",
  1058      "1d"
  1059    ],
  1060    "time_options": [
  1061      "5m",
  1062      "15m",
  1063      "1h",
  1064      "6h",
  1065      "12h",
  1066      "24h",
  1067      "2d",
  1068      "7d",
  1069      "30d"
  1070    ]
  1071  },
  1072  "timezone": "",
  1073  "title": "Linkerd Namespace",
  1074  "uid": "linkerd-namespace",
  1075  "version": 15
  1076}

View as plain text