github.com/anycable/anycable-go@v1.5.1/etc/grafana.example.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          "type": "dashboard"
    12        }
    13      ]
    14    },
    15    "editable": true,
    16    "gnetId": null,
    17    "graphTooltip": 0,
    18    "id": 1,
    19    "links": [],
    20    "panels": [
    21      {
    22        "aliasColors": {},
    23        "bars": false,
    24        "dashLength": 10,
    25        "dashes": false,
    26        "datasource": "AnyCable",
    27        "fill": 1,
    28        "gridPos": {
    29          "h": 9,
    30          "w": 12,
    31          "x": 0,
    32          "y": 0
    33        },
    34        "id": 2,
    35        "legend": {
    36          "avg": false,
    37          "current": false,
    38          "max": false,
    39          "min": false,
    40          "show": true,
    41          "total": false,
    42          "values": false
    43        },
    44        "lines": true,
    45        "linewidth": 1,
    46        "links": [],
    47        "nullPointMode": "null",
    48        "percentage": false,
    49        "pointradius": 5,
    50        "points": false,
    51        "renderer": "flot",
    52        "seriesOverrides": [],
    53        "spaceLength": 10,
    54        "stack": false,
    55        "steppedLine": false,
    56        "targets": [
    57          {
    58            "$$hashKey": "object:404",
    59            "expr": "anycable_go_clients_num",
    60            "format": "time_series",
    61            "hide": true,
    62            "interval": "",
    63            "intervalFactor": 1,
    64            "legendFormat": "",
    65            "refId": "A"
    66          },
    67          {
    68            "$$hashKey": "object:474",
    69            "expr": "anycable_go_clients_uniq_num",
    70            "format": "time_series",
    71            "intervalFactor": 1,
    72            "refId": "B"
    73          }
    74        ],
    75        "thresholds": [],
    76        "timeFrom": null,
    77        "timeShift": null,
    78        "title": "Clients",
    79        "tooltip": {
    80          "shared": true,
    81          "sort": 0,
    82          "value_type": "individual"
    83        },
    84        "type": "graph",
    85        "xaxis": {
    86          "buckets": null,
    87          "mode": "time",
    88          "name": null,
    89          "show": true,
    90          "values": []
    91        },
    92        "yaxes": [
    93          {
    94            "format": "short",
    95            "label": null,
    96            "logBase": 1,
    97            "max": null,
    98            "min": null,
    99            "show": true
   100          },
   101          {
   102            "format": "short",
   103            "label": null,
   104            "logBase": 1,
   105            "max": null,
   106            "min": null,
   107            "show": true
   108          }
   109        ]
   110      },
   111      {
   112        "aliasColors": {},
   113        "bars": false,
   114        "dashLength": 10,
   115        "dashes": false,
   116        "datasource": null,
   117        "fill": 1,
   118        "gridPos": {
   119          "h": 9,
   120          "w": 12,
   121          "x": 12,
   122          "y": 0
   123        },
   124        "id": 4,
   125        "legend": {
   126          "avg": false,
   127          "current": false,
   128          "max": false,
   129          "min": false,
   130          "show": true,
   131          "total": false,
   132          "values": false
   133        },
   134        "lines": true,
   135        "linewidth": 1,
   136        "links": [],
   137        "nullPointMode": "null",
   138        "percentage": false,
   139        "pointradius": 5,
   140        "points": false,
   141        "renderer": "flot",
   142        "seriesOverrides": [],
   143        "spaceLength": 10,
   144        "stack": false,
   145        "steppedLine": false,
   146        "targets": [
   147          {
   148            "$$hashKey": "object:749",
   149            "expr": "rate(anycable_go_client_msg_total[1m])",
   150            "format": "time_series",
   151            "intervalFactor": 1,
   152            "refId": "A"
   153          },
   154          {
   155            "$$hashKey": "object:809",
   156            "expr": "rate(anycable_go_failed_client_msg_total[1m])",
   157            "format": "time_series",
   158            "intervalFactor": 1,
   159            "refId": "B"
   160          }
   161        ],
   162        "thresholds": [],
   163        "timeFrom": null,
   164        "timeShift": null,
   165        "title": "Messages",
   166        "tooltip": {
   167          "shared": true,
   168          "sort": 0,
   169          "value_type": "individual"
   170        },
   171        "type": "graph",
   172        "xaxis": {
   173          "buckets": null,
   174          "mode": "time",
   175          "name": null,
   176          "show": true,
   177          "values": []
   178        },
   179        "yaxes": [
   180          {
   181            "format": "short",
   182            "label": null,
   183            "logBase": 1,
   184            "max": null,
   185            "min": null,
   186            "show": true
   187          },
   188          {
   189            "format": "short",
   190            "label": null,
   191            "logBase": 1,
   192            "max": null,
   193            "min": null,
   194            "show": true
   195          }
   196        ]
   197      },
   198      {
   199        "aliasColors": {},
   200        "bars": false,
   201        "dashLength": 10,
   202        "dashes": false,
   203        "datasource": null,
   204        "fill": 1,
   205        "gridPos": {
   206          "h": 9,
   207          "w": 12,
   208          "x": 0,
   209          "y": 9
   210        },
   211        "id": 6,
   212        "legend": {
   213          "avg": false,
   214          "current": false,
   215          "max": false,
   216          "min": false,
   217          "show": true,
   218          "total": false,
   219          "values": false
   220        },
   221        "lines": true,
   222        "linewidth": 1,
   223        "links": [],
   224        "nullPointMode": "null",
   225        "percentage": false,
   226        "pointradius": 5,
   227        "points": false,
   228        "renderer": "flot",
   229        "seriesOverrides": [],
   230        "spaceLength": 10,
   231        "stack": false,
   232        "steppedLine": false,
   233        "targets": [
   234          {
   235            "$$hashKey": "object:892",
   236            "expr": "rate(anycable_go_broadcast_msg_total[1m])",
   237            "format": "time_series",
   238            "intervalFactor": 1,
   239            "refId": "A"
   240          },
   241          {
   242            "$$hashKey": "object:952",
   243            "expr": "rate(anycable_go_failed_broadcast_msg_total[1m])",
   244            "format": "time_series",
   245            "intervalFactor": 1,
   246            "refId": "B"
   247          }
   248        ],
   249        "thresholds": [],
   250        "timeFrom": null,
   251        "timeShift": null,
   252        "title": "Broadcasts",
   253        "tooltip": {
   254          "shared": true,
   255          "sort": 0,
   256          "value_type": "individual"
   257        },
   258        "type": "graph",
   259        "xaxis": {
   260          "buckets": null,
   261          "mode": "time",
   262          "name": null,
   263          "show": true,
   264          "values": []
   265        },
   266        "yaxes": [
   267          {
   268            "format": "short",
   269            "label": null,
   270            "logBase": 1,
   271            "max": null,
   272            "min": null,
   273            "show": true
   274          },
   275          {
   276            "format": "short",
   277            "label": null,
   278            "logBase": 1,
   279            "max": null,
   280            "min": null,
   281            "show": true
   282          }
   283        ]
   284      },
   285      {
   286        "aliasColors": {},
   287        "bars": false,
   288        "dashLength": 10,
   289        "dashes": false,
   290        "datasource": null,
   291        "fill": 1,
   292        "gridPos": {
   293          "h": 9,
   294          "w": 12,
   295          "x": 12,
   296          "y": 9
   297        },
   298        "id": 8,
   299        "legend": {
   300          "avg": false,
   301          "current": false,
   302          "max": false,
   303          "min": false,
   304          "show": true,
   305          "total": false,
   306          "values": false
   307        },
   308        "lines": true,
   309        "linewidth": 1,
   310        "links": [],
   311        "nullPointMode": "null",
   312        "percentage": false,
   313        "pointradius": 5,
   314        "points": false,
   315        "renderer": "flot",
   316        "seriesOverrides": [],
   317        "spaceLength": 10,
   318        "stack": false,
   319        "steppedLine": false,
   320        "targets": [
   321          {
   322            "$$hashKey": "object:1015",
   323            "expr": "anycable_go_failed_auths_total",
   324            "format": "time_series",
   325            "intervalFactor": 1,
   326            "refId": "A"
   327          },
   328          {
   329            "$$hashKey": "object:1075",
   330            "expr": "anycable_go_rpc_error_total",
   331            "format": "time_series",
   332            "intervalFactor": 1,
   333            "refId": "B"
   334          }
   335        ],
   336        "thresholds": [],
   337        "timeFrom": null,
   338        "timeShift": null,
   339        "title": "Errors",
   340        "tooltip": {
   341          "shared": true,
   342          "sort": 0,
   343          "value_type": "individual"
   344        },
   345        "type": "graph",
   346        "xaxis": {
   347          "buckets": null,
   348          "mode": "time",
   349          "name": null,
   350          "show": true,
   351          "values": []
   352        },
   353        "yaxes": [
   354          {
   355            "format": "short",
   356            "label": null,
   357            "logBase": 1,
   358            "max": null,
   359            "min": null,
   360            "show": true
   361          },
   362          {
   363            "format": "short",
   364            "label": null,
   365            "logBase": 1,
   366            "max": null,
   367            "min": null,
   368            "show": true
   369          }
   370        ]
   371      },
   372      {
   373        "aliasColors": {},
   374        "bars": false,
   375        "dashLength": 10,
   376        "dashes": false,
   377        "datasource": null,
   378        "fill": 1,
   379        "gridPos": {
   380          "h": 9,
   381          "w": 12,
   382          "x": 0,
   383          "y": 18
   384        },
   385        "id": 10,
   386        "legend": {
   387          "avg": false,
   388          "current": false,
   389          "max": false,
   390          "min": false,
   391          "show": true,
   392          "total": false,
   393          "values": false
   394        },
   395        "lines": true,
   396        "linewidth": 1,
   397        "links": [],
   398        "nullPointMode": "null",
   399        "percentage": false,
   400        "pointradius": 5,
   401        "points": false,
   402        "renderer": "flot",
   403        "seriesOverrides": [],
   404        "spaceLength": 10,
   405        "stack": false,
   406        "steppedLine": false,
   407        "targets": [
   408          {
   409            "$$hashKey": "object:1136",
   410            "expr": "anycable_go_goroutines_num",
   411            "format": "time_series",
   412            "intervalFactor": 1,
   413            "refId": "A"
   414          }
   415        ],
   416        "thresholds": [],
   417        "timeFrom": null,
   418        "timeShift": null,
   419        "title": "System",
   420        "tooltip": {
   421          "shared": true,
   422          "sort": 0,
   423          "value_type": "individual"
   424        },
   425        "type": "graph",
   426        "xaxis": {
   427          "buckets": null,
   428          "mode": "time",
   429          "name": null,
   430          "show": true,
   431          "values": []
   432        },
   433        "yaxes": [
   434          {
   435            "format": "short",
   436            "label": null,
   437            "logBase": 1,
   438            "max": null,
   439            "min": null,
   440            "show": true
   441          },
   442          {
   443            "format": "short",
   444            "label": null,
   445            "logBase": 1,
   446            "max": null,
   447            "min": null,
   448            "show": true
   449          }
   450        ]
   451      }
   452    ],
   453    "refresh": "10s",
   454    "schemaVersion": 16,
   455    "style": "dark",
   456    "tags": [],
   457    "templating": {
   458      "list": []
   459    },
   460    "time": {
   461      "from": "now-5m",
   462      "to": "now"
   463    },
   464    "timepicker": {
   465      "refresh_intervals": [
   466        "5s",
   467        "10s",
   468        "30s",
   469        "1m",
   470        "5m",
   471        "15m",
   472        "30m",
   473        "1h",
   474        "2h",
   475        "1d"
   476      ],
   477      "time_options": [
   478        "5m",
   479        "15m",
   480        "1h",
   481        "6h",
   482        "12h",
   483        "24h",
   484        "2d",
   485        "7d",
   486        "30d"
   487      ]
   488    },
   489    "timezone": "",
   490    "title": "AnyCable",
   491    "uid": "apLJARRmz",
   492    "version": 8
   493  }