github.com/verrazzano/verrazzano@v1.7.1/platform-operator/thirdparty/charts/prometheus-community/kube-prometheus-stack/templates/grafana/dashboards-1.14/prometheus.yaml (about)

     1  {{- /*
     2  Generated from 'prometheus' from https://raw.githubusercontent.com/prometheus-operator/kube-prometheus/main/manifests/grafana-dashboardDefinitions.yaml
     3  Do not change in-place! In order to change this file first read following link:
     4  https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack/hack
     5  */ -}}
     6  {{- $kubeTargetVersion := default .Capabilities.KubeVersion.GitVersion .Values.kubeTargetVersionOverride }}
     7  {{- if and (or .Values.grafana.enabled .Values.grafana.forceDeployDashboards) (semverCompare ">=1.14.0-0" $kubeTargetVersion) (semverCompare "<9.9.9-9" $kubeTargetVersion) .Values.grafana.defaultDashboardsEnabled }}
     8  apiVersion: v1
     9  kind: ConfigMap
    10  metadata:
    11    namespace: {{ template "kube-prometheus-stack-grafana.namespace" . }}
    12    name: {{ printf "%s-%s" (include "kube-prometheus-stack.fullname" $) "prometheus" | trunc 63 | trimSuffix "-" }}
    13    annotations:
    14  {{ toYaml .Values.grafana.sidecar.dashboards.annotations | indent 4 }}
    15    labels:
    16      {{- if $.Values.grafana.sidecar.dashboards.label }}
    17      {{ $.Values.grafana.sidecar.dashboards.label }}: {{ ternary $.Values.grafana.sidecar.dashboards.labelValue "1" (not (empty $.Values.grafana.sidecar.dashboards.labelValue)) | quote }}
    18      {{- end }}
    19      app: {{ template "kube-prometheus-stack.name" $ }}-grafana
    20  {{ include "kube-prometheus-stack.labels" $ | indent 4 }}
    21  data:
    22    prometheus.json: |-
    23      {
    24          "annotations": {
    25              "list": [
    26  
    27              ]
    28          },
    29          "editable": true,
    30          "gnetId": null,
    31          "graphTooltip": 0,
    32          "hideControls": false,
    33          "links": [
    34  
    35          ],
    36          "refresh": "60s",
    37          "rows": [
    38              {
    39                  "collapse": false,
    40                  "height": "250px",
    41                  "panels": [
    42                      {
    43                          "aliasColors": {
    44  
    45                          },
    46                          "bars": false,
    47                          "dashLength": 10,
    48                          "dashes": false,
    49                          "datasource": "$datasource",
    50                          "fill": 1,
    51                          "id": 1,
    52                          "legend": {
    53                              "avg": false,
    54                              "current": false,
    55                              "max": false,
    56                              "min": false,
    57                              "show": true,
    58                              "total": false,
    59                              "values": false
    60                          },
    61                          "lines": true,
    62                          "linewidth": 1,
    63                          "links": [
    64  
    65                          ],
    66                          "nullPointMode": "null as zero",
    67                          "percentage": false,
    68                          "pointradius": 5,
    69                          "points": false,
    70                          "renderer": "flot",
    71                          "seriesOverrides": [
    72  
    73                          ],
    74                          "spaceLength": 10,
    75                          "span": 12,
    76                          "stack": false,
    77                          "steppedLine": false,
    78                          "styles": [
    79                              {
    80                                  "alias": "Time",
    81                                  "dateFormat": "YYYY-MM-DD HH:mm:ss",
    82                                  "pattern": "Time",
    83                                  "type": "hidden"
    84                              },
    85                              {
    86                                  "alias": "Count",
    87                                  "colorMode": null,
    88                                  "colors": [
    89  
    90                                  ],
    91                                  "dateFormat": "YYYY-MM-DD HH:mm:ss",
    92                                  "decimals": 2,
    93                                  "link": false,
    94                                  "linkTargetBlank": false,
    95                                  "linkTooltip": "Drill down",
    96                                  "linkUrl": "",
    97                                  "pattern": "Value #A",
    98                                  "thresholds": [
    99  
   100                                  ],
   101                                  "type": "hidden",
   102                                  "unit": "short"
   103                              },
   104                              {
   105                                  "alias": "Uptime",
   106                                  "colorMode": null,
   107                                  "colors": [
   108  
   109                                  ],
   110                                  "dateFormat": "YYYY-MM-DD HH:mm:ss",
   111                                  "decimals": 2,
   112                                  "link": false,
   113                                  "linkTargetBlank": false,
   114                                  "linkTooltip": "Drill down",
   115                                  "linkUrl": "",
   116                                  "pattern": "Value #B",
   117                                  "thresholds": [
   118  
   119                                  ],
   120                                  "type": "number",
   121                                  "unit": "s"
   122                              },
   123                              {
   124                                  "alias": "Instance",
   125                                  "colorMode": null,
   126                                  "colors": [
   127  
   128                                  ],
   129                                  "dateFormat": "YYYY-MM-DD HH:mm:ss",
   130                                  "decimals": 2,
   131                                  "link": false,
   132                                  "linkTargetBlank": false,
   133                                  "linkTooltip": "Drill down",
   134                                  "linkUrl": "",
   135                                  "pattern": "instance",
   136                                  "thresholds": [
   137  
   138                                  ],
   139                                  "type": "number",
   140                                  "unit": "short"
   141                              },
   142                              {
   143                                  "alias": "Job",
   144                                  "colorMode": null,
   145                                  "colors": [
   146  
   147                                  ],
   148                                  "dateFormat": "YYYY-MM-DD HH:mm:ss",
   149                                  "decimals": 2,
   150                                  "link": false,
   151                                  "linkTargetBlank": false,
   152                                  "linkTooltip": "Drill down",
   153                                  "linkUrl": "",
   154                                  "pattern": "job",
   155                                  "thresholds": [
   156  
   157                                  ],
   158                                  "type": "number",
   159                                  "unit": "short"
   160                              },
   161                              {
   162                                  "alias": "Version",
   163                                  "colorMode": null,
   164                                  "colors": [
   165  
   166                                  ],
   167                                  "dateFormat": "YYYY-MM-DD HH:mm:ss",
   168                                  "decimals": 2,
   169                                  "link": false,
   170                                  "linkTargetBlank": false,
   171                                  "linkTooltip": "Drill down",
   172                                  "linkUrl": "",
   173                                  "pattern": "version",
   174                                  "thresholds": [
   175  
   176                                  ],
   177                                  "type": "number",
   178                                  "unit": "short"
   179                              },
   180                              {
   181                                  "alias": "",
   182                                  "colorMode": null,
   183                                  "colors": [
   184  
   185                                  ],
   186                                  "dateFormat": "YYYY-MM-DD HH:mm:ss",
   187                                  "decimals": 2,
   188                                  "pattern": "/.*/",
   189                                  "thresholds": [
   190  
   191                                  ],
   192                                  "type": "string",
   193                                  "unit": "short"
   194                              }
   195                          ],
   196                          "targets": [
   197                              {
   198                                  "expr": "count by (job, instance, version) (prometheus_build_info{job=~\"$job\", instance=~\"$instance\"})",
   199                                  "format": "table",
   200                                  "instant": true,
   201                                  "intervalFactor": 2,
   202                                  "legendFormat": "",
   203                                  "refId": "A",
   204                                  "step": 10
   205                              },
   206                              {
   207                                  "expr": "max by (job, instance) (time() - process_start_time_seconds{job=~\"$job\", instance=~\"$instance\"})",
   208                                  "format": "table",
   209                                  "instant": true,
   210                                  "intervalFactor": 2,
   211                                  "legendFormat": "",
   212                                  "refId": "B",
   213                                  "step": 10
   214                              }
   215                          ],
   216                          "thresholds": [
   217  
   218                          ],
   219                          "timeFrom": null,
   220                          "timeShift": null,
   221                          "title": "Prometheus Stats",
   222                          "tooltip": {
   223                              "shared": true,
   224                              "sort": 2,
   225                              "value_type": "individual"
   226                          },
   227                          "transform": "table",
   228                          "type": "table",
   229                          "xaxis": {
   230                              "buckets": null,
   231                              "mode": "time",
   232                              "name": null,
   233                              "show": true,
   234                              "values": [
   235  
   236                              ]
   237                          },
   238                          "yaxes": [
   239                              {
   240                                  "format": "short",
   241                                  "label": null,
   242                                  "logBase": 1,
   243                                  "max": null,
   244                                  "min": 0,
   245                                  "show": true
   246                              },
   247                              {
   248                                  "format": "short",
   249                                  "label": null,
   250                                  "logBase": 1,
   251                                  "max": null,
   252                                  "min": null,
   253                                  "show": false
   254                              }
   255                          ]
   256                      }
   257                  ],
   258                  "repeat": null,
   259                  "repeatIteration": null,
   260                  "repeatRowId": null,
   261                  "showTitle": true,
   262                  "title": "Prometheus Stats",
   263                  "titleSize": "h6"
   264              },
   265              {
   266                  "collapse": false,
   267                  "height": "250px",
   268                  "panels": [
   269                      {
   270                          "aliasColors": {
   271  
   272                          },
   273                          "bars": false,
   274                          "dashLength": 10,
   275                          "dashes": false,
   276                          "datasource": "$datasource",
   277                          "fill": 1,
   278                          "id": 2,
   279                          "legend": {
   280                              "avg": false,
   281                              "current": false,
   282                              "max": false,
   283                              "min": false,
   284                              "show": true,
   285                              "total": false,
   286                              "values": false
   287                          },
   288                          "lines": true,
   289                          "linewidth": 1,
   290                          "links": [
   291  
   292                          ],
   293                          "nullPointMode": "null as zero",
   294                          "percentage": false,
   295                          "pointradius": 5,
   296                          "points": false,
   297                          "renderer": "flot",
   298                          "seriesOverrides": [
   299  
   300                          ],
   301                          "spaceLength": 10,
   302                          "span": 6,
   303                          "stack": false,
   304                          "steppedLine": false,
   305                          "targets": [
   306                              {
   307                                  "expr": "sum(rate(prometheus_target_sync_length_seconds_sum{job=~\"$job\",instance=~\"$instance\"}[5m])) by (scrape_job) * 1e3",
   308                                  "format": "time_series",
   309                                  "intervalFactor": 2,
   310                                  "legendFormat": "{{`{{`}}scrape_job{{`}}`}}",
   311                                  "legendLink": null,
   312                                  "step": 10
   313                              }
   314                          ],
   315                          "thresholds": [
   316  
   317                          ],
   318                          "timeFrom": null,
   319                          "timeShift": null,
   320                          "title": "Target Sync",
   321                          "tooltip": {
   322                              "shared": true,
   323                              "sort": 2,
   324                              "value_type": "individual"
   325                          },
   326                          "type": "graph",
   327                          "xaxis": {
   328                              "buckets": null,
   329                              "mode": "time",
   330                              "name": null,
   331                              "show": true,
   332                              "values": [
   333  
   334                              ]
   335                          },
   336                          "yaxes": [
   337                              {
   338                                  "format": "ms",
   339                                  "label": null,
   340                                  "logBase": 1,
   341                                  "max": null,
   342                                  "min": 0,
   343                                  "show": true
   344                              },
   345                              {
   346                                  "format": "short",
   347                                  "label": null,
   348                                  "logBase": 1,
   349                                  "max": null,
   350                                  "min": null,
   351                                  "show": false
   352                              }
   353                          ]
   354                      },
   355                      {
   356                          "aliasColors": {
   357  
   358                          },
   359                          "bars": false,
   360                          "dashLength": 10,
   361                          "dashes": false,
   362                          "datasource": "$datasource",
   363                          "fill": 10,
   364                          "id": 3,
   365                          "legend": {
   366                              "avg": false,
   367                              "current": false,
   368                              "max": false,
   369                              "min": false,
   370                              "show": true,
   371                              "total": false,
   372                              "values": false
   373                          },
   374                          "lines": true,
   375                          "linewidth": 0,
   376                          "links": [
   377  
   378                          ],
   379                          "nullPointMode": "null as zero",
   380                          "percentage": false,
   381                          "pointradius": 5,
   382                          "points": false,
   383                          "renderer": "flot",
   384                          "seriesOverrides": [
   385  
   386                          ],
   387                          "spaceLength": 10,
   388                          "span": 6,
   389                          "stack": true,
   390                          "steppedLine": false,
   391                          "targets": [
   392                              {
   393                                  "expr": "sum(prometheus_sd_discovered_targets{job=~\"$job\",instance=~\"$instance\"})",
   394                                  "format": "time_series",
   395                                  "intervalFactor": 2,
   396                                  "legendFormat": "Targets",
   397                                  "legendLink": null,
   398                                  "step": 10
   399                              }
   400                          ],
   401                          "thresholds": [
   402  
   403                          ],
   404                          "timeFrom": null,
   405                          "timeShift": null,
   406                          "title": "Targets",
   407                          "tooltip": {
   408                              "shared": true,
   409                              "sort": 2,
   410                              "value_type": "individual"
   411                          },
   412                          "type": "graph",
   413                          "xaxis": {
   414                              "buckets": null,
   415                              "mode": "time",
   416                              "name": null,
   417                              "show": true,
   418                              "values": [
   419  
   420                              ]
   421                          },
   422                          "yaxes": [
   423                              {
   424                                  "format": "short",
   425                                  "label": null,
   426                                  "logBase": 1,
   427                                  "max": null,
   428                                  "min": 0,
   429                                  "show": true
   430                              },
   431                              {
   432                                  "format": "short",
   433                                  "label": null,
   434                                  "logBase": 1,
   435                                  "max": null,
   436                                  "min": null,
   437                                  "show": false
   438                              }
   439                          ]
   440                      }
   441                  ],
   442                  "repeat": null,
   443                  "repeatIteration": null,
   444                  "repeatRowId": null,
   445                  "showTitle": true,
   446                  "title": "Discovery",
   447                  "titleSize": "h6"
   448              },
   449              {
   450                  "collapse": false,
   451                  "height": "250px",
   452                  "panels": [
   453                      {
   454                          "aliasColors": {
   455  
   456                          },
   457                          "bars": false,
   458                          "dashLength": 10,
   459                          "dashes": false,
   460                          "datasource": "$datasource",
   461                          "fill": 1,
   462                          "id": 4,
   463                          "legend": {
   464                              "avg": false,
   465                              "current": false,
   466                              "max": false,
   467                              "min": false,
   468                              "show": true,
   469                              "total": false,
   470                              "values": false
   471                          },
   472                          "lines": true,
   473                          "linewidth": 1,
   474                          "links": [
   475  
   476                          ],
   477                          "nullPointMode": "null as zero",
   478                          "percentage": false,
   479                          "pointradius": 5,
   480                          "points": false,
   481                          "renderer": "flot",
   482                          "seriesOverrides": [
   483  
   484                          ],
   485                          "spaceLength": 10,
   486                          "span": 4,
   487                          "stack": false,
   488                          "steppedLine": false,
   489                          "targets": [
   490                              {
   491                                  "expr": "rate(prometheus_target_interval_length_seconds_sum{job=~\"$job\",instance=~\"$instance\"}[5m]) / rate(prometheus_target_interval_length_seconds_count{job=~\"$job\",instance=~\"$instance\"}[5m]) * 1e3",
   492                                  "format": "time_series",
   493                                  "intervalFactor": 2,
   494                                  "legendFormat": "{{`{{`}}interval{{`}}`}} configured",
   495                                  "legendLink": null,
   496                                  "step": 10
   497                              }
   498                          ],
   499                          "thresholds": [
   500  
   501                          ],
   502                          "timeFrom": null,
   503                          "timeShift": null,
   504                          "title": "Average Scrape Interval Duration",
   505                          "tooltip": {
   506                              "shared": true,
   507                              "sort": 2,
   508                              "value_type": "individual"
   509                          },
   510                          "type": "graph",
   511                          "xaxis": {
   512                              "buckets": null,
   513                              "mode": "time",
   514                              "name": null,
   515                              "show": true,
   516                              "values": [
   517  
   518                              ]
   519                          },
   520                          "yaxes": [
   521                              {
   522                                  "format": "ms",
   523                                  "label": null,
   524                                  "logBase": 1,
   525                                  "max": null,
   526                                  "min": 0,
   527                                  "show": true
   528                              },
   529                              {
   530                                  "format": "short",
   531                                  "label": null,
   532                                  "logBase": 1,
   533                                  "max": null,
   534                                  "min": null,
   535                                  "show": false
   536                              }
   537                          ]
   538                      },
   539                      {
   540                          "aliasColors": {
   541  
   542                          },
   543                          "bars": false,
   544                          "dashLength": 10,
   545                          "dashes": false,
   546                          "datasource": "$datasource",
   547                          "fill": 10,
   548                          "id": 5,
   549                          "legend": {
   550                              "avg": false,
   551                              "current": false,
   552                              "max": false,
   553                              "min": false,
   554                              "show": true,
   555                              "total": false,
   556                              "values": false
   557                          },
   558                          "lines": true,
   559                          "linewidth": 0,
   560                          "links": [
   561  
   562                          ],
   563                          "nullPointMode": "null as zero",
   564                          "percentage": false,
   565                          "pointradius": 5,
   566                          "points": false,
   567                          "renderer": "flot",
   568                          "seriesOverrides": [
   569  
   570                          ],
   571                          "spaceLength": 10,
   572                          "span": 4,
   573                          "stack": true,
   574                          "steppedLine": false,
   575                          "targets": [
   576                              {
   577                                  "expr": "sum by (job) (rate(prometheus_target_scrapes_exceeded_body_size_limit_total[1m]))",
   578                                  "format": "time_series",
   579                                  "intervalFactor": 2,
   580                                  "legendFormat": "exceeded body size limit: {{`{{`}}job{{`}}`}}",
   581                                  "legendLink": null,
   582                                  "step": 10
   583                              },
   584                              {
   585                                  "expr": "sum by (job) (rate(prometheus_target_scrapes_exceeded_sample_limit_total[1m]))",
   586                                  "format": "time_series",
   587                                  "intervalFactor": 2,
   588                                  "legendFormat": "exceeded sample limit: {{`{{`}}job{{`}}`}}",
   589                                  "legendLink": null,
   590                                  "step": 10
   591                              },
   592                              {
   593                                  "expr": "sum by (job) (rate(prometheus_target_scrapes_sample_duplicate_timestamp_total[1m]))",
   594                                  "format": "time_series",
   595                                  "intervalFactor": 2,
   596                                  "legendFormat": "duplicate timestamp: {{`{{`}}job{{`}}`}}",
   597                                  "legendLink": null,
   598                                  "step": 10
   599                              },
   600                              {
   601                                  "expr": "sum by (job) (rate(prometheus_target_scrapes_sample_out_of_bounds_total[1m]))",
   602                                  "format": "time_series",
   603                                  "intervalFactor": 2,
   604                                  "legendFormat": "out of bounds: {{`{{`}}job{{`}}`}}",
   605                                  "legendLink": null,
   606                                  "step": 10
   607                              },
   608                              {
   609                                  "expr": "sum by (job) (rate(prometheus_target_scrapes_sample_out_of_order_total[1m]))",
   610                                  "format": "time_series",
   611                                  "intervalFactor": 2,
   612                                  "legendFormat": "out of order: {{`{{`}}job{{`}}`}}",
   613                                  "legendLink": null,
   614                                  "step": 10
   615                              }
   616                          ],
   617                          "thresholds": [
   618  
   619                          ],
   620                          "timeFrom": null,
   621                          "timeShift": null,
   622                          "title": "Scrape failures",
   623                          "tooltip": {
   624                              "shared": true,
   625                              "sort": 2,
   626                              "value_type": "individual"
   627                          },
   628                          "type": "graph",
   629                          "xaxis": {
   630                              "buckets": null,
   631                              "mode": "time",
   632                              "name": null,
   633                              "show": true,
   634                              "values": [
   635  
   636                              ]
   637                          },
   638                          "yaxes": [
   639                              {
   640                                  "format": "short",
   641                                  "label": null,
   642                                  "logBase": 1,
   643                                  "max": null,
   644                                  "min": 0,
   645                                  "show": true
   646                              },
   647                              {
   648                                  "format": "short",
   649                                  "label": null,
   650                                  "logBase": 1,
   651                                  "max": null,
   652                                  "min": null,
   653                                  "show": false
   654                              }
   655                          ]
   656                      },
   657                      {
   658                          "aliasColors": {
   659  
   660                          },
   661                          "bars": false,
   662                          "dashLength": 10,
   663                          "dashes": false,
   664                          "datasource": "$datasource",
   665                          "fill": 10,
   666                          "id": 6,
   667                          "legend": {
   668                              "avg": false,
   669                              "current": false,
   670                              "max": false,
   671                              "min": false,
   672                              "show": true,
   673                              "total": false,
   674                              "values": false
   675                          },
   676                          "lines": true,
   677                          "linewidth": 0,
   678                          "links": [
   679  
   680                          ],
   681                          "nullPointMode": "null as zero",
   682                          "percentage": false,
   683                          "pointradius": 5,
   684                          "points": false,
   685                          "renderer": "flot",
   686                          "seriesOverrides": [
   687  
   688                          ],
   689                          "spaceLength": 10,
   690                          "span": 4,
   691                          "stack": true,
   692                          "steppedLine": false,
   693                          "targets": [
   694                              {
   695                                  "expr": "rate(prometheus_tsdb_head_samples_appended_total{job=~\"$job\",instance=~\"$instance\"}[5m])",
   696                                  "format": "time_series",
   697                                  "intervalFactor": 2,
   698                                  "legendFormat": "{{`{{`}}job{{`}}`}} {{`{{`}}instance{{`}}`}}",
   699                                  "legendLink": null,
   700                                  "step": 10
   701                              }
   702                          ],
   703                          "thresholds": [
   704  
   705                          ],
   706                          "timeFrom": null,
   707                          "timeShift": null,
   708                          "title": "Appended Samples",
   709                          "tooltip": {
   710                              "shared": true,
   711                              "sort": 2,
   712                              "value_type": "individual"
   713                          },
   714                          "type": "graph",
   715                          "xaxis": {
   716                              "buckets": null,
   717                              "mode": "time",
   718                              "name": null,
   719                              "show": true,
   720                              "values": [
   721  
   722                              ]
   723                          },
   724                          "yaxes": [
   725                              {
   726                                  "format": "short",
   727                                  "label": null,
   728                                  "logBase": 1,
   729                                  "max": null,
   730                                  "min": 0,
   731                                  "show": true
   732                              },
   733                              {
   734                                  "format": "short",
   735                                  "label": null,
   736                                  "logBase": 1,
   737                                  "max": null,
   738                                  "min": null,
   739                                  "show": false
   740                              }
   741                          ]
   742                      }
   743                  ],
   744                  "repeat": null,
   745                  "repeatIteration": null,
   746                  "repeatRowId": null,
   747                  "showTitle": true,
   748                  "title": "Retrieval",
   749                  "titleSize": "h6"
   750              },
   751              {
   752                  "collapse": false,
   753                  "height": "250px",
   754                  "panels": [
   755                      {
   756                          "aliasColors": {
   757  
   758                          },
   759                          "bars": false,
   760                          "dashLength": 10,
   761                          "dashes": false,
   762                          "datasource": "$datasource",
   763                          "fill": 10,
   764                          "id": 7,
   765                          "legend": {
   766                              "avg": false,
   767                              "current": false,
   768                              "max": false,
   769                              "min": false,
   770                              "show": true,
   771                              "total": false,
   772                              "values": false
   773                          },
   774                          "lines": true,
   775                          "linewidth": 0,
   776                          "links": [
   777  
   778                          ],
   779                          "nullPointMode": "null as zero",
   780                          "percentage": false,
   781                          "pointradius": 5,
   782                          "points": false,
   783                          "renderer": "flot",
   784                          "seriesOverrides": [
   785  
   786                          ],
   787                          "spaceLength": 10,
   788                          "span": 6,
   789                          "stack": true,
   790                          "steppedLine": false,
   791                          "targets": [
   792                              {
   793                                  "expr": "prometheus_tsdb_head_series{job=~\"$job\",instance=~\"$instance\"}",
   794                                  "format": "time_series",
   795                                  "intervalFactor": 2,
   796                                  "legendFormat": "{{`{{`}}job{{`}}`}} {{`{{`}}instance{{`}}`}} head series",
   797                                  "legendLink": null,
   798                                  "step": 10
   799                              }
   800                          ],
   801                          "thresholds": [
   802  
   803                          ],
   804                          "timeFrom": null,
   805                          "timeShift": null,
   806                          "title": "Head Series",
   807                          "tooltip": {
   808                              "shared": true,
   809                              "sort": 2,
   810                              "value_type": "individual"
   811                          },
   812                          "type": "graph",
   813                          "xaxis": {
   814                              "buckets": null,
   815                              "mode": "time",
   816                              "name": null,
   817                              "show": true,
   818                              "values": [
   819  
   820                              ]
   821                          },
   822                          "yaxes": [
   823                              {
   824                                  "format": "short",
   825                                  "label": null,
   826                                  "logBase": 1,
   827                                  "max": null,
   828                                  "min": 0,
   829                                  "show": true
   830                              },
   831                              {
   832                                  "format": "short",
   833                                  "label": null,
   834                                  "logBase": 1,
   835                                  "max": null,
   836                                  "min": null,
   837                                  "show": false
   838                              }
   839                          ]
   840                      },
   841                      {
   842                          "aliasColors": {
   843  
   844                          },
   845                          "bars": false,
   846                          "dashLength": 10,
   847                          "dashes": false,
   848                          "datasource": "$datasource",
   849                          "fill": 10,
   850                          "id": 8,
   851                          "legend": {
   852                              "avg": false,
   853                              "current": false,
   854                              "max": false,
   855                              "min": false,
   856                              "show": true,
   857                              "total": false,
   858                              "values": false
   859                          },
   860                          "lines": true,
   861                          "linewidth": 0,
   862                          "links": [
   863  
   864                          ],
   865                          "nullPointMode": "null as zero",
   866                          "percentage": false,
   867                          "pointradius": 5,
   868                          "points": false,
   869                          "renderer": "flot",
   870                          "seriesOverrides": [
   871  
   872                          ],
   873                          "spaceLength": 10,
   874                          "span": 6,
   875                          "stack": true,
   876                          "steppedLine": false,
   877                          "targets": [
   878                              {
   879                                  "expr": "prometheus_tsdb_head_chunks{job=~\"$job\",instance=~\"$instance\"}",
   880                                  "format": "time_series",
   881                                  "intervalFactor": 2,
   882                                  "legendFormat": "{{`{{`}}job{{`}}`}} {{`{{`}}instance{{`}}`}} head chunks",
   883                                  "legendLink": null,
   884                                  "step": 10
   885                              }
   886                          ],
   887                          "thresholds": [
   888  
   889                          ],
   890                          "timeFrom": null,
   891                          "timeShift": null,
   892                          "title": "Head Chunks",
   893                          "tooltip": {
   894                              "shared": true,
   895                              "sort": 2,
   896                              "value_type": "individual"
   897                          },
   898                          "type": "graph",
   899                          "xaxis": {
   900                              "buckets": null,
   901                              "mode": "time",
   902                              "name": null,
   903                              "show": true,
   904                              "values": [
   905  
   906                              ]
   907                          },
   908                          "yaxes": [
   909                              {
   910                                  "format": "short",
   911                                  "label": null,
   912                                  "logBase": 1,
   913                                  "max": null,
   914                                  "min": 0,
   915                                  "show": true
   916                              },
   917                              {
   918                                  "format": "short",
   919                                  "label": null,
   920                                  "logBase": 1,
   921                                  "max": null,
   922                                  "min": null,
   923                                  "show": false
   924                              }
   925                          ]
   926                      }
   927                  ],
   928                  "repeat": null,
   929                  "repeatIteration": null,
   930                  "repeatRowId": null,
   931                  "showTitle": true,
   932                  "title": "Storage",
   933                  "titleSize": "h6"
   934              },
   935              {
   936                  "collapse": false,
   937                  "height": "250px",
   938                  "panels": [
   939                      {
   940                          "aliasColors": {
   941  
   942                          },
   943                          "bars": false,
   944                          "dashLength": 10,
   945                          "dashes": false,
   946                          "datasource": "$datasource",
   947                          "fill": 10,
   948                          "id": 9,
   949                          "legend": {
   950                              "avg": false,
   951                              "current": false,
   952                              "max": false,
   953                              "min": false,
   954                              "show": true,
   955                              "total": false,
   956                              "values": false
   957                          },
   958                          "lines": true,
   959                          "linewidth": 0,
   960                          "links": [
   961  
   962                          ],
   963                          "nullPointMode": "null as zero",
   964                          "percentage": false,
   965                          "pointradius": 5,
   966                          "points": false,
   967                          "renderer": "flot",
   968                          "seriesOverrides": [
   969  
   970                          ],
   971                          "spaceLength": 10,
   972                          "span": 6,
   973                          "stack": true,
   974                          "steppedLine": false,
   975                          "targets": [
   976                              {
   977                                  "expr": "rate(prometheus_engine_query_duration_seconds_count{job=~\"$job\",instance=~\"$instance\",slice=\"inner_eval\"}[5m])",
   978                                  "format": "time_series",
   979                                  "intervalFactor": 2,
   980                                  "legendFormat": "{{`{{`}}job{{`}}`}} {{`{{`}}instance{{`}}`}}",
   981                                  "legendLink": null,
   982                                  "step": 10
   983                              }
   984                          ],
   985                          "thresholds": [
   986  
   987                          ],
   988                          "timeFrom": null,
   989                          "timeShift": null,
   990                          "title": "Query Rate",
   991                          "tooltip": {
   992                              "shared": true,
   993                              "sort": 2,
   994                              "value_type": "individual"
   995                          },
   996                          "type": "graph",
   997                          "xaxis": {
   998                              "buckets": null,
   999                              "mode": "time",
  1000                              "name": null,
  1001                              "show": true,
  1002                              "values": [
  1003  
  1004                              ]
  1005                          },
  1006                          "yaxes": [
  1007                              {
  1008                                  "format": "short",
  1009                                  "label": null,
  1010                                  "logBase": 1,
  1011                                  "max": null,
  1012                                  "min": 0,
  1013                                  "show": true
  1014                              },
  1015                              {
  1016                                  "format": "short",
  1017                                  "label": null,
  1018                                  "logBase": 1,
  1019                                  "max": null,
  1020                                  "min": null,
  1021                                  "show": false
  1022                              }
  1023                          ]
  1024                      },
  1025                      {
  1026                          "aliasColors": {
  1027  
  1028                          },
  1029                          "bars": false,
  1030                          "dashLength": 10,
  1031                          "dashes": false,
  1032                          "datasource": "$datasource",
  1033                          "fill": 10,
  1034                          "id": 10,
  1035                          "legend": {
  1036                              "avg": false,
  1037                              "current": false,
  1038                              "max": false,
  1039                              "min": false,
  1040                              "show": true,
  1041                              "total": false,
  1042                              "values": false
  1043                          },
  1044                          "lines": true,
  1045                          "linewidth": 0,
  1046                          "links": [
  1047  
  1048                          ],
  1049                          "nullPointMode": "null as zero",
  1050                          "percentage": false,
  1051                          "pointradius": 5,
  1052                          "points": false,
  1053                          "renderer": "flot",
  1054                          "seriesOverrides": [
  1055  
  1056                          ],
  1057                          "spaceLength": 10,
  1058                          "span": 6,
  1059                          "stack": true,
  1060                          "steppedLine": false,
  1061                          "targets": [
  1062                              {
  1063                                  "expr": "max by (slice) (prometheus_engine_query_duration_seconds{quantile=\"0.9\",job=~\"$job\",instance=~\"$instance\"}) * 1e3",
  1064                                  "format": "time_series",
  1065                                  "intervalFactor": 2,
  1066                                  "legendFormat": "{{`{{`}}slice{{`}}`}}",
  1067                                  "legendLink": null,
  1068                                  "step": 10
  1069                              }
  1070                          ],
  1071                          "thresholds": [
  1072  
  1073                          ],
  1074                          "timeFrom": null,
  1075                          "timeShift": null,
  1076                          "title": "Stage Duration",
  1077                          "tooltip": {
  1078                              "shared": true,
  1079                              "sort": 2,
  1080                              "value_type": "individual"
  1081                          },
  1082                          "type": "graph",
  1083                          "xaxis": {
  1084                              "buckets": null,
  1085                              "mode": "time",
  1086                              "name": null,
  1087                              "show": true,
  1088                              "values": [
  1089  
  1090                              ]
  1091                          },
  1092                          "yaxes": [
  1093                              {
  1094                                  "format": "ms",
  1095                                  "label": null,
  1096                                  "logBase": 1,
  1097                                  "max": null,
  1098                                  "min": 0,
  1099                                  "show": true
  1100                              },
  1101                              {
  1102                                  "format": "short",
  1103                                  "label": null,
  1104                                  "logBase": 1,
  1105                                  "max": null,
  1106                                  "min": null,
  1107                                  "show": false
  1108                              }
  1109                          ]
  1110                      }
  1111                  ],
  1112                  "repeat": null,
  1113                  "repeatIteration": null,
  1114                  "repeatRowId": null,
  1115                  "showTitle": true,
  1116                  "title": "Query",
  1117                  "titleSize": "h6"
  1118              }
  1119          ],
  1120          "schemaVersion": 14,
  1121          "style": "dark",
  1122          "tags": [
  1123              "prometheus-mixin"
  1124          ],
  1125          "templating": {
  1126              "list": [
  1127                  {
  1128                      "current": {
  1129                          "text": "default",
  1130                          "value": "default"
  1131                      },
  1132                      "hide": 0,
  1133                      "label": "Data Source",
  1134                      "name": "datasource",
  1135                      "options": [
  1136  
  1137                      ],
  1138                      "query": "prometheus",
  1139                      "refresh": 1,
  1140                      "regex": "",
  1141                      "type": "datasource"
  1142                  },
  1143                  {
  1144                      "allValue": ".+",
  1145                      "current": {
  1146                          "selected": true,
  1147                          "text": "All",
  1148                          "value": "$__all"
  1149                      },
  1150                      "datasource": "$datasource",
  1151                      "hide": 0,
  1152                      "includeAll": true,
  1153                      "label": "job",
  1154                      "multi": true,
  1155                      "name": "job",
  1156                      "options": [
  1157  
  1158                      ],
  1159                      "query": "label_values(prometheus_build_info{job=\"prometheus-k8s\",namespace=\"monitoring\"}, job)",
  1160                      "refresh": 1,
  1161                      "regex": "",
  1162                      "sort": 2,
  1163                      "tagValuesQuery": "",
  1164                      "tags": [
  1165  
  1166                      ],
  1167                      "tagsQuery": "",
  1168                      "type": "query",
  1169                      "useTags": false
  1170                  },
  1171                  {
  1172                      "allValue": ".+",
  1173                      "current": {
  1174                          "selected": true,
  1175                          "text": "All",
  1176                          "value": "$__all"
  1177                      },
  1178                      "datasource": "$datasource",
  1179                      "hide": 0,
  1180                      "includeAll": true,
  1181                      "label": "instance",
  1182                      "multi": true,
  1183                      "name": "instance",
  1184                      "options": [
  1185  
  1186                      ],
  1187                      "query": "label_values(prometheus_build_info{job=~\"$job\"}, instance)",
  1188                      "refresh": 1,
  1189                      "regex": "",
  1190                      "sort": 2,
  1191                      "tagValuesQuery": "",
  1192                      "tags": [
  1193  
  1194                      ],
  1195                      "tagsQuery": "",
  1196                      "type": "query",
  1197                      "useTags": false
  1198                  }
  1199              ]
  1200          },
  1201          "time": {
  1202              "from": "now-1h",
  1203              "to": "now"
  1204          },
  1205          "timepicker": {
  1206              "refresh_intervals": [
  1207                  "5s",
  1208                  "10s",
  1209                  "30s",
  1210                  "1m",
  1211                  "5m",
  1212                  "15m",
  1213                  "30m",
  1214                  "1h",
  1215                  "2h",
  1216                  "1d"
  1217              ],
  1218              "time_options": [
  1219                  "5m",
  1220                  "15m",
  1221                  "1h",
  1222                  "6h",
  1223                  "12h",
  1224                  "24h",
  1225                  "2d",
  1226                  "7d",
  1227                  "30d"
  1228              ]
  1229          },
  1230          "timezone": "{{ .Values.grafana.defaultDashboardsTimezone }}",
  1231          "title": "Prometheus / Overview",
  1232          "uid": "",
  1233          "version": 0
  1234      }
  1235  {{- end }}