github.com/yankunsam/loki/v2@v2.6.3-0.20220817130409-389df5235c27/production/loki-mixin-compiled/dashboards/loki-deletion.json (about)

     1  {
     2        "annotations": {
     3           "list": [ ]
     4        },
     5        "editable": true,
     6        "gnetId": null,
     7        "graphTooltip": 0,
     8        "hideControls": false,
     9        "links": [
    10           {
    11              "asDropdown": true,
    12              "icon": "external link",
    13              "includeVars": true,
    14              "keepTime": true,
    15              "tags": [
    16                 "loki"
    17              ],
    18              "targetBlank": false,
    19              "title": "Loki Dashboards",
    20              "type": "dashboards"
    21           }
    22        ],
    23        "refresh": "10s",
    24        "rows": [
    25           {
    26              "collapse": false,
    27              "height": "100px",
    28              "panels": [
    29                 {
    30                    "aliasColors": { },
    31                    "bars": false,
    32                    "dashLength": 10,
    33                    "dashes": false,
    34                    "datasource": "$datasource",
    35                    "fill": 1,
    36                    "format": "none",
    37                    "id": 1,
    38                    "legend": {
    39                       "avg": false,
    40                       "current": false,
    41                       "max": false,
    42                       "min": false,
    43                       "show": true,
    44                       "total": false,
    45                       "values": false
    46                    },
    47                    "lines": true,
    48                    "linewidth": 1,
    49                    "links": [ ],
    50                    "nullPointMode": "null as zero",
    51                    "percentage": false,
    52                    "pointradius": 5,
    53                    "points": false,
    54                    "renderer": "flot",
    55                    "seriesOverrides": [ ],
    56                    "spaceLength": 10,
    57                    "span": 6,
    58                    "stack": false,
    59                    "steppedLine": false,
    60                    "targets": [
    61                       {
    62                          "expr": "sum(loki_compactor_pending_delete_requests_count{cluster=~\"$cluster\", namespace=~\"$namespace\"})",
    63                          "format": "time_series",
    64                          "instant": true,
    65                          "intervalFactor": 2,
    66                          "refId": "A"
    67                       }
    68                    ],
    69                    "thresholds": "70,80",
    70                    "timeFrom": null,
    71                    "timeShift": null,
    72                    "title": "Number of Pending Requests",
    73                    "tooltip": {
    74                       "shared": true,
    75                       "sort": 2,
    76                       "value_type": "individual"
    77                    },
    78                    "type": "singlestat",
    79                    "xaxis": {
    80                       "buckets": null,
    81                       "mode": "time",
    82                       "name": null,
    83                       "show": true,
    84                       "values": [ ]
    85                    },
    86                    "yaxes": [
    87                       {
    88                          "format": "short",
    89                          "label": null,
    90                          "logBase": 1,
    91                          "max": null,
    92                          "min": 0,
    93                          "show": true
    94                       },
    95                       {
    96                          "format": "short",
    97                          "label": null,
    98                          "logBase": 1,
    99                          "max": null,
   100                          "min": null,
   101                          "show": false
   102                       }
   103                    ]
   104                 },
   105                 {
   106                    "aliasColors": { },
   107                    "bars": false,
   108                    "dashLength": 10,
   109                    "dashes": false,
   110                    "datasource": "$datasource",
   111                    "fill": 1,
   112                    "format": "dtdurations",
   113                    "id": 2,
   114                    "legend": {
   115                       "avg": false,
   116                       "current": false,
   117                       "max": false,
   118                       "min": false,
   119                       "show": true,
   120                       "total": false,
   121                       "values": false
   122                    },
   123                    "lines": true,
   124                    "linewidth": 1,
   125                    "links": [ ],
   126                    "nullPointMode": "null as zero",
   127                    "percentage": false,
   128                    "pointradius": 5,
   129                    "points": false,
   130                    "renderer": "flot",
   131                    "seriesOverrides": [ ],
   132                    "spaceLength": 10,
   133                    "span": 6,
   134                    "stack": false,
   135                    "steppedLine": false,
   136                    "targets": [
   137                       {
   138                          "expr": "max(loki_compactor_oldest_pending_delete_request_age_seconds{cluster=~\"$cluster\", namespace=~\"$namespace\"})",
   139                          "format": "time_series",
   140                          "instant": true,
   141                          "intervalFactor": 2,
   142                          "refId": "A"
   143                       }
   144                    ],
   145                    "thresholds": "70,80",
   146                    "timeFrom": null,
   147                    "timeShift": null,
   148                    "title": "Oldest Pending Request Age",
   149                    "tooltip": {
   150                       "shared": true,
   151                       "sort": 2,
   152                       "value_type": "individual"
   153                    },
   154                    "type": "singlestat",
   155                    "xaxis": {
   156                       "buckets": null,
   157                       "mode": "time",
   158                       "name": null,
   159                       "show": true,
   160                       "values": [ ]
   161                    },
   162                    "yaxes": [
   163                       {
   164                          "format": "short",
   165                          "label": null,
   166                          "logBase": 1,
   167                          "max": null,
   168                          "min": 0,
   169                          "show": true
   170                       },
   171                       {
   172                          "format": "short",
   173                          "label": null,
   174                          "logBase": 1,
   175                          "max": null,
   176                          "min": null,
   177                          "show": false
   178                       }
   179                    ]
   180                 }
   181              ],
   182              "repeat": null,
   183              "repeatIteration": null,
   184              "repeatRowId": null,
   185              "showTitle": false,
   186              "title": "Headlines",
   187              "titleSize": "h6"
   188           },
   189           {
   190              "collapse": false,
   191              "height": "250px",
   192              "panels": [
   193                 {
   194                    "aliasColors": { },
   195                    "bars": false,
   196                    "dashLength": 10,
   197                    "dashes": false,
   198                    "datasource": "$datasource",
   199                    "fill": 1,
   200                    "id": 3,
   201                    "legend": {
   202                       "avg": false,
   203                       "current": false,
   204                       "max": false,
   205                       "min": false,
   206                       "show": true,
   207                       "total": false,
   208                       "values": false
   209                    },
   210                    "lines": true,
   211                    "linewidth": 1,
   212                    "links": [ ],
   213                    "nullPointMode": "null as zero",
   214                    "percentage": false,
   215                    "pointradius": 5,
   216                    "points": false,
   217                    "renderer": "flot",
   218                    "seriesOverrides": [ ],
   219                    "spaceLength": 10,
   220                    "span": 6,
   221                    "stack": false,
   222                    "steppedLine": false,
   223                    "targets": [
   224                       {
   225                          "expr": "sum(increase(loki_compactor_delete_requests_received_total{cluster=~\"$cluster\", namespace=~\"$namespace\"}[1d]))",
   226                          "format": "time_series",
   227                          "intervalFactor": 2,
   228                          "legendFormat": "received",
   229                          "legendLink": null,
   230                          "step": 10
   231                       }
   232                    ],
   233                    "thresholds": [ ],
   234                    "timeFrom": null,
   235                    "timeShift": null,
   236                    "title": "Delete Requests Received / Day",
   237                    "tooltip": {
   238                       "shared": true,
   239                       "sort": 2,
   240                       "value_type": "individual"
   241                    },
   242                    "type": "graph",
   243                    "xaxis": {
   244                       "buckets": null,
   245                       "mode": "time",
   246                       "name": null,
   247                       "show": true,
   248                       "values": [ ]
   249                    },
   250                    "yaxes": [
   251                       {
   252                          "format": "short",
   253                          "label": null,
   254                          "logBase": 1,
   255                          "max": null,
   256                          "min": 0,
   257                          "show": true
   258                       },
   259                       {
   260                          "format": "short",
   261                          "label": null,
   262                          "logBase": 1,
   263                          "max": null,
   264                          "min": null,
   265                          "show": false
   266                       }
   267                    ]
   268                 },
   269                 {
   270                    "aliasColors": { },
   271                    "bars": false,
   272                    "dashLength": 10,
   273                    "dashes": false,
   274                    "datasource": "$datasource",
   275                    "fill": 1,
   276                    "id": 4,
   277                    "legend": {
   278                       "avg": false,
   279                       "current": false,
   280                       "max": false,
   281                       "min": false,
   282                       "show": true,
   283                       "total": false,
   284                       "values": false
   285                    },
   286                    "lines": true,
   287                    "linewidth": 1,
   288                    "links": [ ],
   289                    "nullPointMode": "null as zero",
   290                    "percentage": false,
   291                    "pointradius": 5,
   292                    "points": false,
   293                    "renderer": "flot",
   294                    "seriesOverrides": [ ],
   295                    "spaceLength": 10,
   296                    "span": 6,
   297                    "stack": false,
   298                    "steppedLine": false,
   299                    "targets": [
   300                       {
   301                          "expr": "sum(increase(loki_compactor_delete_requests_processed_total{cluster=~\"$cluster\", namespace=~\"$namespace\"}[1d]))",
   302                          "format": "time_series",
   303                          "intervalFactor": 2,
   304                          "legendFormat": "processed",
   305                          "legendLink": null,
   306                          "step": 10
   307                       }
   308                    ],
   309                    "thresholds": [ ],
   310                    "timeFrom": null,
   311                    "timeShift": null,
   312                    "title": "Delete Requests Processed / Day",
   313                    "tooltip": {
   314                       "shared": true,
   315                       "sort": 2,
   316                       "value_type": "individual"
   317                    },
   318                    "type": "graph",
   319                    "xaxis": {
   320                       "buckets": null,
   321                       "mode": "time",
   322                       "name": null,
   323                       "show": true,
   324                       "values": [ ]
   325                    },
   326                    "yaxes": [
   327                       {
   328                          "format": "short",
   329                          "label": null,
   330                          "logBase": 1,
   331                          "max": null,
   332                          "min": 0,
   333                          "show": true
   334                       },
   335                       {
   336                          "format": "short",
   337                          "label": null,
   338                          "logBase": 1,
   339                          "max": null,
   340                          "min": null,
   341                          "show": false
   342                       }
   343                    ]
   344                 }
   345              ],
   346              "repeat": null,
   347              "repeatIteration": null,
   348              "repeatRowId": null,
   349              "showTitle": true,
   350              "title": "Churn",
   351              "titleSize": "h6"
   352           },
   353           {
   354              "collapse": false,
   355              "height": "250px",
   356              "panels": [
   357                 {
   358                    "aliasColors": { },
   359                    "bars": false,
   360                    "dashLength": 10,
   361                    "dashes": false,
   362                    "datasource": "$datasource",
   363                    "fill": 1,
   364                    "id": 5,
   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": 1,
   376                    "links": [ ],
   377                    "nullPointMode": "null as zero",
   378                    "percentage": false,
   379                    "pointradius": 5,
   380                    "points": false,
   381                    "renderer": "flot",
   382                    "seriesOverrides": [ ],
   383                    "spaceLength": 10,
   384                    "span": 12,
   385                    "stack": false,
   386                    "steppedLine": false,
   387                    "targets": [
   388                       {
   389                          "expr": "sum(increase(loki_compactor_load_pending_requests_attempts_total{status=\"fail\", cluster=~\"$cluster\", namespace=~\"$namespace\"}[1h]))",
   390                          "format": "time_series",
   391                          "intervalFactor": 2,
   392                          "legendFormat": "failures",
   393                          "legendLink": null,
   394                          "step": 10
   395                       }
   396                    ],
   397                    "thresholds": [ ],
   398                    "timeFrom": null,
   399                    "timeShift": null,
   400                    "title": "Failures in Loading Delete Requests / Hour",
   401                    "tooltip": {
   402                       "shared": true,
   403                       "sort": 2,
   404                       "value_type": "individual"
   405                    },
   406                    "type": "graph",
   407                    "xaxis": {
   408                       "buckets": null,
   409                       "mode": "time",
   410                       "name": null,
   411                       "show": true,
   412                       "values": [ ]
   413                    },
   414                    "yaxes": [
   415                       {
   416                          "format": "short",
   417                          "label": null,
   418                          "logBase": 1,
   419                          "max": null,
   420                          "min": 0,
   421                          "show": true
   422                       },
   423                       {
   424                          "format": "short",
   425                          "label": null,
   426                          "logBase": 1,
   427                          "max": null,
   428                          "min": null,
   429                          "show": false
   430                       }
   431                    ]
   432                 }
   433              ],
   434              "repeat": null,
   435              "repeatIteration": null,
   436              "repeatRowId": null,
   437              "showTitle": true,
   438              "title": "Failures",
   439              "titleSize": "h6"
   440           },
   441           {
   442              "collapse": false,
   443              "height": "250px",
   444              "panels": [
   445                 {
   446                    "aliasColors": { },
   447                    "bars": false,
   448                    "dashLength": 10,
   449                    "dashes": false,
   450                    "datasource": "$datasource",
   451                    "fill": 1,
   452                    "id": 6,
   453                    "legend": {
   454                       "avg": false,
   455                       "current": false,
   456                       "max": false,
   457                       "min": false,
   458                       "show": true,
   459                       "total": false,
   460                       "values": false
   461                    },
   462                    "lines": true,
   463                    "linewidth": 1,
   464                    "links": [ ],
   465                    "nullPointMode": "null as zero",
   466                    "percentage": false,
   467                    "pointradius": 5,
   468                    "points": false,
   469                    "renderer": "flot",
   470                    "seriesOverrides": [ ],
   471                    "spaceLength": 10,
   472                    "span": 12,
   473                    "stack": false,
   474                    "steppedLine": false,
   475                    "targets": [
   476                       {
   477                          "expr": "sum(rate(loki_compactor_deleted_lines{cluster=~\"$cluster\",job=~\"$namespace/compactor\"}[$__rate_interval])) by (user)",
   478                          "format": "time_series",
   479                          "intervalFactor": 2,
   480                          "legendFormat": "{{user}}",
   481                          "legendLink": null,
   482                          "step": 10
   483                       }
   484                    ],
   485                    "thresholds": [ ],
   486                    "timeFrom": null,
   487                    "timeShift": null,
   488                    "title": "Lines Deleted / Sec",
   489                    "tooltip": {
   490                       "shared": true,
   491                       "sort": 2,
   492                       "value_type": "individual"
   493                    },
   494                    "type": "graph",
   495                    "xaxis": {
   496                       "buckets": null,
   497                       "mode": "time",
   498                       "name": null,
   499                       "show": true,
   500                       "values": [ ]
   501                    },
   502                    "yaxes": [
   503                       {
   504                          "format": "short",
   505                          "label": null,
   506                          "logBase": 1,
   507                          "max": null,
   508                          "min": 0,
   509                          "show": true
   510                       },
   511                       {
   512                          "format": "short",
   513                          "label": null,
   514                          "logBase": 1,
   515                          "max": null,
   516                          "min": null,
   517                          "show": false
   518                       }
   519                    ]
   520                 }
   521              ],
   522              "repeat": null,
   523              "repeatIteration": null,
   524              "repeatRowId": null,
   525              "showTitle": true,
   526              "title": "Deleted lines",
   527              "titleSize": "h6"
   528           }
   529        ],
   530        "schemaVersion": 14,
   531        "style": "dark",
   532        "tags": [
   533           "loki"
   534        ],
   535        "templating": {
   536           "list": [
   537              {
   538                 "current": {
   539                    "text": "default",
   540                    "value": "default"
   541                 },
   542                 "hide": 0,
   543                 "label": "Data Source",
   544                 "name": "datasource",
   545                 "options": [ ],
   546                 "query": "prometheus",
   547                 "refresh": 1,
   548                 "regex": "",
   549                 "type": "datasource"
   550              },
   551              {
   552                 "allValue": null,
   553                 "current": {
   554                    "text": "prod",
   555                    "value": "prod"
   556                 },
   557                 "datasource": "$datasource",
   558                 "hide": 0,
   559                 "includeAll": false,
   560                 "label": "cluster",
   561                 "multi": false,
   562                 "name": "cluster",
   563                 "options": [ ],
   564                 "query": "label_values(loki_build_info, cluster)",
   565                 "refresh": 1,
   566                 "regex": "",
   567                 "sort": 2,
   568                 "tagValuesQuery": "",
   569                 "tags": [ ],
   570                 "tagsQuery": "",
   571                 "type": "query",
   572                 "useTags": false
   573              },
   574              {
   575                 "allValue": null,
   576                 "current": {
   577                    "text": "prod",
   578                    "value": "prod"
   579                 },
   580                 "datasource": "$datasource",
   581                 "hide": 0,
   582                 "includeAll": false,
   583                 "label": "namespace",
   584                 "multi": false,
   585                 "name": "namespace",
   586                 "options": [ ],
   587                 "query": "label_values(loki_build_info{cluster=~\"$cluster\"}, namespace)",
   588                 "refresh": 1,
   589                 "regex": "",
   590                 "sort": 2,
   591                 "tagValuesQuery": "",
   592                 "tags": [ ],
   593                 "tagsQuery": "",
   594                 "type": "query",
   595                 "useTags": false
   596              }
   597           ]
   598        },
   599        "time": {
   600           "from": "now-1h",
   601           "to": "now"
   602        },
   603        "timepicker": {
   604           "refresh_intervals": [
   605              "5s",
   606              "10s",
   607              "30s",
   608              "1m",
   609              "5m",
   610              "15m",
   611              "30m",
   612              "1h",
   613              "2h",
   614              "1d"
   615           ],
   616           "time_options": [
   617              "5m",
   618              "15m",
   619              "1h",
   620              "6h",
   621              "12h",
   622              "24h",
   623              "2d",
   624              "7d",
   625              "30d"
   626           ]
   627        },
   628        "timezone": "utc",
   629        "title": "Loki / Deletion",
   630        "uid": "deletion",
   631        "version": 0
   632     }