github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/examples/metrics-export/grafana/provisioning/dashboards/home.json (about)

     1  {
     2    "annotations": {
     3      "list": [
     4        {
     5          "builtIn": 1,
     6          "datasource": "-- Grafana --",
     7          "enable": true,
     8          "hide": true,
     9          "iconColor": "rgba(0, 211, 255, 1)",
    10          "name": "Annotations & Alerts",
    11          "target": {
    12            "limit": 100,
    13            "matchAny": false,
    14            "tags": [],
    15            "type": "dashboard"
    16          },
    17          "type": "dashboard"
    18        }
    19      ]
    20    },
    21    "editable": true,
    22    "gnetId": null,
    23    "graphTooltip": 0,
    24    "id": 3,
    25    "links": [],
    26    "panels": [
    27      {
    28        "datasource": "Prometheus",
    29        "fieldConfig": {
    30          "defaults": {
    31            "color": {
    32              "mode": "continuous-BlYlRd"
    33            },
    34            "custom": {
    35              "axisLabel": "",
    36              "axisPlacement": "auto",
    37              "barAlignment": 0,
    38              "drawStyle": "line",
    39              "fillOpacity": 20,
    40              "gradientMode": "hue",
    41              "hideFrom": {
    42                "legend": false,
    43                "tooltip": false,
    44                "viz": false
    45              },
    46              "lineInterpolation": "smooth",
    47              "lineWidth": 1,
    48              "pointSize": 5,
    49              "scaleDistribution": {
    50                "type": "linear"
    51              },
    52              "showPoints": "auto",
    53              "spanNulls": false,
    54              "stacking": {
    55                "group": "A",
    56                "mode": "normal"
    57              },
    58              "thresholdsStyle": {
    59                "mode": "off"
    60              }
    61            },
    62            "mappings": [],
    63            "thresholds": {
    64              "mode": "absolute",
    65              "steps": [
    66                {
    67                  "color": "green",
    68                  "value": null
    69                },
    70                {
    71                  "color": "red",
    72                  "value": 80
    73                }
    74              ]
    75            },
    76            "unit": "s"
    77          },
    78          "overrides": [
    79            {
    80              "matcher": {
    81                "id": "byName",
    82                "options": "prod"
    83              },
    84              "properties": [
    85                {
    86                  "id": "color",
    87                  "value": {
    88                    "fixedColor": "semi-dark-red",
    89                    "mode": "fixed"
    90                  }
    91                }
    92              ]
    93            },
    94            {
    95              "matcher": {
    96                "id": "byName",
    97                "options": "staging"
    98              },
    99              "properties": [
   100                {
   101                  "id": "color",
   102                  "value": {
   103                    "fixedColor": "orange",
   104                    "mode": "fixed"
   105                  }
   106                }
   107              ]
   108            }
   109          ]
   110        },
   111        "gridPos": {
   112          "h": 7,
   113          "w": 12,
   114          "x": 0,
   115          "y": 0
   116        },
   117        "id": 123130,
   118        "options": {
   119          "legend": {
   120            "calcs": [],
   121            "displayMode": "list",
   122            "placement": "bottom"
   123          },
   124          "tooltip": {
   125            "mode": "single"
   126          }
   127        },
   128        "targets": [
   129          {
   130            "exemplar": true,
   131            "expr": "increase(app_slow_function_env_cpu_seconds_total{}[5m])",
   132            "interval": "",
   133            "legendFormat": "{{env}}",
   134            "queryType": "randomWalk",
   135            "refId": "A"
   136          }
   137        ],
   138        "title": "App Slow function CPU time (Total, 5m)",
   139        "transparent": true,
   140        "type": "timeseries"
   141      },
   142      {
   143        "datasource": "Prometheus",
   144        "fieldConfig": {
   145          "defaults": {
   146            "color": {
   147              "mode": "continuous-BlYlRd"
   148            },
   149            "custom": {
   150              "axisLabel": "",
   151              "axisPlacement": "auto",
   152              "barAlignment": 0,
   153              "drawStyle": "line",
   154              "fillOpacity": 20,
   155              "gradientMode": "hue",
   156              "hideFrom": {
   157                "legend": false,
   158                "tooltip": false,
   159                "viz": false
   160              },
   161              "lineInterpolation": "smooth",
   162              "lineStyle": {
   163                "fill": "solid"
   164              },
   165              "lineWidth": 1,
   166              "pointSize": 5,
   167              "scaleDistribution": {
   168                "type": "linear"
   169              },
   170              "showPoints": "auto",
   171              "spanNulls": false,
   172              "stacking": {
   173                "group": "A",
   174                "mode": "normal"
   175              },
   176              "thresholdsStyle": {
   177                "mode": "off"
   178              }
   179            },
   180            "mappings": [],
   181            "thresholds": {
   182              "mode": "absolute",
   183              "steps": [
   184                {
   185                  "color": "green",
   186                  "value": null
   187                },
   188                {
   189                  "color": "red",
   190                  "value": 80
   191                }
   192              ]
   193            },
   194            "unit": "percentunit"
   195          },
   196          "overrides": [
   197            {
   198              "matcher": {
   199                "id": "byName",
   200                "options": "staging"
   201              },
   202              "properties": [
   203                {
   204                  "id": "color",
   205                  "value": {
   206                    "fixedColor": "orange",
   207                    "mode": "fixed"
   208                  }
   209                }
   210              ]
   211            },
   212            {
   213              "matcher": {
   214                "id": "byName",
   215                "options": "prod"
   216              },
   217              "properties": [
   218                {
   219                  "id": "color",
   220                  "value": {
   221                    "fixedColor": "semi-dark-red",
   222                    "mode": "fixed"
   223                  }
   224                }
   225              ]
   226            }
   227          ]
   228        },
   229        "gridPos": {
   230          "h": 7,
   231          "w": 12,
   232          "x": 12,
   233          "y": 0
   234        },
   235        "id": 123126,
   236        "options": {
   237          "legend": {
   238            "calcs": [],
   239            "displayMode": "list",
   240            "placement": "bottom"
   241          },
   242          "tooltip": {
   243            "mode": "single"
   244          }
   245        },
   246        "targets": [
   247          {
   248            "exemplar": true,
   249            "expr": "increase(app_slow_function_env_cpu_seconds_total{}[1m])/60",
   250            "interval": "",
   251            "legendFormat": "{{env}}",
   252            "queryType": "randomWalk",
   253            "refId": "A"
   254          }
   255        ],
   256        "title": "App Slow function CPU time (Percent, 1m)",
   257        "transparent": true,
   258        "type": "timeseries"
   259      },
   260      {
   261        "datasource": "Prometheus",
   262        "fieldConfig": {
   263          "defaults": {
   264            "color": {
   265              "mode": "palette-classic"
   266            },
   267            "custom": {
   268              "axisLabel": "",
   269              "axisPlacement": "auto",
   270              "barAlignment": 0,
   271              "drawStyle": "line",
   272              "fillOpacity": 20,
   273              "gradientMode": "opacity",
   274              "hideFrom": {
   275                "legend": false,
   276                "tooltip": false,
   277                "viz": false
   278              },
   279              "lineInterpolation": "smooth",
   280              "lineWidth": 1,
   281              "pointSize": 5,
   282              "scaleDistribution": {
   283                "type": "linear"
   284              },
   285              "showPoints": "auto",
   286              "spanNulls": false,
   287              "stacking": {
   288                "group": "A",
   289                "mode": "none"
   290              },
   291              "thresholdsStyle": {
   292                "mode": "off"
   293              }
   294            },
   295            "mappings": [],
   296            "thresholds": {
   297              "mode": "absolute",
   298              "steps": [
   299                {
   300                  "color": "green",
   301                  "value": null
   302                },
   303                {
   304                  "color": "red",
   305                  "value": 80
   306                }
   307              ]
   308            },
   309            "unit": "short"
   310          },
   311          "overrides": [
   312            {
   313              "matcher": {
   314                "id": "byName",
   315                "options": "alloc objects"
   316              },
   317              "properties": [
   318                {
   319                  "id": "color",
   320                  "value": {
   321                    "fixedColor": "blue",
   322                    "mode": "fixed"
   323                  }
   324                }
   325              ]
   326            }
   327          ]
   328        },
   329        "gridPos": {
   330          "h": 6,
   331          "w": 12,
   332          "x": 0,
   333          "y": 7
   334        },
   335        "id": 123128,
   336        "options": {
   337          "legend": {
   338            "calcs": [],
   339            "displayMode": "list",
   340            "placement": "bottom"
   341          },
   342          "tooltip": {
   343            "mode": "single"
   344          }
   345        },
   346        "targets": [
   347          {
   348            "exemplar": true,
   349            "expr": "increase(app_alloc_objects_total{}[5m])",
   350            "hide": false,
   351            "interval": "",
   352            "legendFormat": "alloc objects",
   353            "queryType": "randomWalk",
   354            "refId": "A"
   355          }
   356        ],
   357        "title": "App Alloc Objects (Total, 5m)",
   358        "transparent": true,
   359        "type": "timeseries"
   360      },
   361      {
   362        "datasource": "Prometheus",
   363        "fieldConfig": {
   364          "defaults": {
   365            "color": {
   366              "mode": "palette-classic"
   367            },
   368            "custom": {
   369              "axisLabel": "",
   370              "axisPlacement": "auto",
   371              "axisSoftMin": 0,
   372              "barAlignment": 0,
   373              "drawStyle": "line",
   374              "fillOpacity": 20,
   375              "gradientMode": "opacity",
   376              "hideFrom": {
   377                "legend": false,
   378                "tooltip": false,
   379                "viz": false
   380              },
   381              "lineInterpolation": "smooth",
   382              "lineWidth": 1,
   383              "pointSize": 5,
   384              "scaleDistribution": {
   385                "type": "linear"
   386              },
   387              "showPoints": "auto",
   388              "spanNulls": false,
   389              "stacking": {
   390                "group": "A",
   391                "mode": "none"
   392              },
   393              "thresholdsStyle": {
   394                "mode": "off"
   395              }
   396            },
   397            "mappings": [],
   398            "thresholds": {
   399              "mode": "absolute",
   400              "steps": [
   401                {
   402                  "color": "green",
   403                  "value": null
   404                },
   405                {
   406                  "color": "red",
   407                  "value": 80
   408                }
   409              ]
   410            },
   411            "unit": "bytes"
   412          },
   413          "overrides": [
   414            {
   415              "matcher": {
   416                "id": "byName",
   417                "options": "alloc space"
   418              },
   419              "properties": [
   420                {
   421                  "id": "color",
   422                  "value": {
   423                    "fixedColor": "blue",
   424                    "mode": "fixed"
   425                  }
   426                }
   427              ]
   428            }
   429          ]
   430        },
   431        "gridPos": {
   432          "h": 6,
   433          "w": 12,
   434          "x": 12,
   435          "y": 7
   436        },
   437        "id": 123131,
   438        "options": {
   439          "legend": {
   440            "calcs": [],
   441            "displayMode": "list",
   442            "placement": "bottom"
   443          },
   444          "tooltip": {
   445            "mode": "single"
   446          }
   447        },
   448        "targets": [
   449          {
   450            "exemplar": true,
   451            "expr": "increase(app_alloc_space_bytes{}[5m])",
   452            "hide": false,
   453            "interval": "",
   454            "legendFormat": "alloc space",
   455            "queryType": "randomWalk",
   456            "refId": "A"
   457          }
   458        ],
   459        "title": "App Alloc Space (Total, 5m)",
   460        "transparent": true,
   461        "type": "timeseries"
   462      },
   463      {
   464        "datasource": "Prometheus",
   465        "fieldConfig": {
   466          "defaults": {
   467            "color": {
   468              "mode": "palette-classic"
   469            },
   470            "custom": {
   471              "axisLabel": "",
   472              "axisPlacement": "auto",
   473              "barAlignment": 0,
   474              "drawStyle": "line",
   475              "fillOpacity": 20,
   476              "gradientMode": "opacity",
   477              "hideFrom": {
   478                "legend": false,
   479                "tooltip": false,
   480                "viz": false
   481              },
   482              "lineInterpolation": "smooth",
   483              "lineWidth": 1,
   484              "pointSize": 5,
   485              "scaleDistribution": {
   486                "type": "linear"
   487              },
   488              "showPoints": "auto",
   489              "spanNulls": false,
   490              "stacking": {
   491                "group": "A",
   492                "mode": "none"
   493              },
   494              "thresholdsStyle": {
   495                "mode": "off"
   496              }
   497            },
   498            "mappings": [],
   499            "thresholds": {
   500              "mode": "absolute",
   501              "steps": [
   502                {
   503                  "color": "green",
   504                  "value": null
   505                },
   506                {
   507                  "color": "red",
   508                  "value": 80
   509                }
   510              ]
   511            },
   512            "unit": "short"
   513          },
   514          "overrides": []
   515        },
   516        "gridPos": {
   517          "h": 6,
   518          "w": 12,
   519          "x": 0,
   520          "y": 13
   521        },
   522        "id": 123129,
   523        "options": {
   524          "legend": {
   525            "calcs": [],
   526            "displayMode": "list",
   527            "placement": "bottom"
   528          },
   529          "tooltip": {
   530            "mode": "single"
   531          }
   532        },
   533        "targets": [
   534          {
   535            "exemplar": true,
   536            "expr": "increase(app_inuse_objects_total{}[5m])/30",
   537            "hide": false,
   538            "interval": "",
   539            "legendFormat": "inuse objects",
   540            "queryType": "randomWalk",
   541            "refId": "A"
   542          }
   543        ],
   544        "title": "App Inuse Objects (Avg, 5m)",
   545        "transparent": true,
   546        "type": "timeseries"
   547      },
   548      {
   549        "datasource": "Prometheus",
   550        "fieldConfig": {
   551          "defaults": {
   552            "color": {
   553              "mode": "palette-classic"
   554            },
   555            "custom": {
   556              "axisLabel": "",
   557              "axisPlacement": "auto",
   558              "axisSoftMin": 0,
   559              "barAlignment": 0,
   560              "drawStyle": "line",
   561              "fillOpacity": 20,
   562              "gradientMode": "opacity",
   563              "hideFrom": {
   564                "legend": false,
   565                "tooltip": false,
   566                "viz": false
   567              },
   568              "lineInterpolation": "smooth",
   569              "lineWidth": 1,
   570              "pointSize": 5,
   571              "scaleDistribution": {
   572                "type": "linear"
   573              },
   574              "showPoints": "auto",
   575              "spanNulls": false,
   576              "stacking": {
   577                "group": "A",
   578                "mode": "none"
   579              },
   580              "thresholdsStyle": {
   581                "mode": "off"
   582              }
   583            },
   584            "mappings": [],
   585            "thresholds": {
   586              "mode": "absolute",
   587              "steps": [
   588                {
   589                  "color": "green",
   590                  "value": null
   591                },
   592                {
   593                  "color": "red",
   594                  "value": 80
   595                }
   596              ]
   597            },
   598            "unit": "bytes"
   599          },
   600          "overrides": []
   601        },
   602        "gridPos": {
   603          "h": 6,
   604          "w": 12,
   605          "x": 12,
   606          "y": 13
   607        },
   608        "id": 123132,
   609        "options": {
   610          "legend": {
   611            "calcs": [],
   612            "displayMode": "list",
   613            "placement": "bottom"
   614          },
   615          "tooltip": {
   616            "mode": "single"
   617          }
   618        },
   619        "targets": [
   620          {
   621            "exemplar": true,
   622            "expr": "increase(app_inuse_space_bytes{}[5m])/30",
   623            "hide": false,
   624            "interval": "",
   625            "legendFormat": "inuse space",
   626            "queryType": "randomWalk",
   627            "refId": "A"
   628          }
   629        ],
   630        "title": "App Inuse Space (Total, 5m)",
   631        "transparent": true,
   632        "type": "timeseries"
   633      }
   634    ],
   635    "schemaVersion": 30,
   636    "style": "dark",
   637    "tags": [],
   638    "templating": {
   639      "list": []
   640    },
   641    "time": {
   642      "from": "now-30m",
   643      "to": "now"
   644    },
   645    "timepicker": {},
   646    "timezone": "",
   647    "title": "Simple Go App",
   648    "uid": "hQhZ7md7k",
   649    "version": 3
   650  }