- 
      
- 
        Save jamiew/6019cd244ee780fd578b0ef917e8f340 to your computer and use it in GitHub Desktop. 
    Grafana dashboard configuration for the IPFS Prometheus endpoint
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | { | |
| "annotations": { | |
| "list": [ | |
| { | |
| "builtIn": 1, | |
| "datasource": "-- Grafana --", | |
| "enable": true, | |
| "hide": true, | |
| "iconColor": "rgba(0, 211, 255, 1)", | |
| "name": "Annotations & Alerts", | |
| "type": "dashboard" | |
| } | |
| ] | |
| }, | |
| "editable": true, | |
| "gnetId": null, | |
| "graphTooltip": 1, | |
| "id": 20, | |
| "iteration": 1542776560864, | |
| "links": [], | |
| "panels": [ | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "prometheus.dwebops.pub", | |
| "editable": true, | |
| "error": false, | |
| "fill": 0, | |
| "grid": {}, | |
| "gridPos": { | |
| "h": 9, | |
| "w": 8, | |
| "x": 0, | |
| "y": 0 | |
| }, | |
| "id": 6, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": false, | |
| "current": true, | |
| "max": true, | |
| "min": false, | |
| "show": true, | |
| "sort": "current", | |
| "sortDesc": false, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "connected", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "expr": "time() - process_start_time_seconds{job=~\"ipfs\",instance=~\".*($service).*\",instance=~\"$instance\"}", | |
| "format": "time_series", | |
| "interval": "", | |
| "intervalFactor": 2, | |
| "legendFormat": "{{instance}}", | |
| "metric": "process_start_time_seconds", | |
| "refId": "A", | |
| "step": 10 | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Uptime", | |
| "tooltip": { | |
| "msResolution": false, | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "cumulative" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "s", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "prometheus.dwebops.pub", | |
| "editable": true, | |
| "error": false, | |
| "fill": 0, | |
| "grid": {}, | |
| "gridPos": { | |
| "h": 9, | |
| "w": 8, | |
| "x": 8, | |
| "y": 0 | |
| }, | |
| "id": 5, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": true, | |
| "max": true, | |
| "min": false, | |
| "show": true, | |
| "sort": "current", | |
| "sortDesc": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "calculatedInterval": "1s", | |
| "datasourceErrors": {}, | |
| "errors": {}, | |
| "expr": "sum(ipfs_p2p_peers_total{job=~\"ipfs\",instance=~\".*($service).*\",instance=~\"$instance\"}) by (instance)", | |
| "format": "time_series", | |
| "interval": "", | |
| "intervalFactor": 1, | |
| "legendFormat": "{{instance}}", | |
| "metric": "", | |
| "prometheusLink": "/prometheus/graph#%5B%7B%22expr%22%3A%22ipfs_p2p_peers_total%22%2C%22range_input%22%3A%22900s%22%2C%22end_input%22%3A%222015-12-11%200%3A46%22%2C%22step_input%22%3A%22%22%2C%22stacked%22%3Atrue%2C%22tab%22%3A0%7D%5D", | |
| "refId": "A", | |
| "step": 5 | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Number of peers", | |
| "tooltip": { | |
| "msResolution": false, | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "transparent": false, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "short", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "prometheus.dwebops.pub", | |
| "editable": true, | |
| "error": false, | |
| "fill": 0, | |
| "grid": {}, | |
| "gridPos": { | |
| "h": 9, | |
| "w": 8, | |
| "x": 16, | |
| "y": 0 | |
| }, | |
| "id": 10, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": true, | |
| "max": true, | |
| "min": false, | |
| "rightSide": false, | |
| "show": true, | |
| "sort": "current", | |
| "sortDesc": false, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null as zero", | |
| "percentage": true, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "expr": "sum(ipfs_p2p_peers_total{instance=~\".*($service).*\",instance=~\"$instance\"}) by (transport)", | |
| "format": "time_series", | |
| "intervalFactor": 1, | |
| "legendFormat": "{{transport}}", | |
| "refId": "A", | |
| "step": 5 | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Number of peerings", | |
| "tooltip": { | |
| "msResolution": false, | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "none", | |
| "logBase": 1, | |
| "max": null, | |
| "min": 0, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "alert": { | |
| "conditions": [ | |
| { | |
| "evaluator": { | |
| "params": [ | |
| 50000 | |
| ], | |
| "type": "gt" | |
| }, | |
| "operator": { | |
| "type": "and" | |
| }, | |
| "query": { | |
| "datasourceId": 1, | |
| "model": { | |
| "calculatedInterval": "10m", | |
| "datasourceErrors": {}, | |
| "errors": {}, | |
| "expr": "go_goroutines{job=~\"gateway|storage|bootstrap\",network=\"v04x\"}", | |
| "interval": "", | |
| "intervalFactor": 1, | |
| "legendFormat": "{{host}} ({{network}} {{job}})", | |
| "metric": "", | |
| "prometheusLink": "/prometheus/graph#%5B%7B%22expr%22%3A%22go_goroutines%7Bjob%3D~%5C%22gateway%7Cstorage%5C%22%7D%22%2C%22range_input%22%3A%22604801s%22%2C%22end_input%22%3A%222015-11-26%204%3A11%22%2C%22step_input%22%3A%22%22%2C%22stacked%22%3Atrue%2C%22tab%22%3A0%7D%5D", | |
| "refId": "A", | |
| "step": 10 | |
| }, | |
| "params": [ | |
| "A", | |
| "1h", | |
| "now" | |
| ] | |
| }, | |
| "reducer": { | |
| "params": [], | |
| "type": "avg" | |
| }, | |
| "type": "query" | |
| } | |
| ], | |
| "executionErrorState": "keep_state", | |
| "frequency": "30s", | |
| "handler": 1, | |
| "name": "Goroutines alert", | |
| "noDataState": "no_data", | |
| "notifications": [ | |
| { | |
| "id": 1 | |
| } | |
| ] | |
| }, | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "prometheus.dwebops.pub", | |
| "editable": true, | |
| "error": false, | |
| "fill": 0, | |
| "grid": {}, | |
| "gridPos": { | |
| "h": 9, | |
| "w": 8, | |
| "x": 0, | |
| "y": 9 | |
| }, | |
| "id": 1, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": true, | |
| "max": true, | |
| "min": false, | |
| "show": true, | |
| "sort": "current", | |
| "sortDesc": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "calculatedInterval": "10m", | |
| "datasourceErrors": {}, | |
| "errors": {}, | |
| "expr": "go_goroutines{job=~\"ipfs\",instance=~\".*($service).*\",instance=~\"$instance\"}", | |
| "format": "time_series", | |
| "interval": "", | |
| "intervalFactor": 1, | |
| "legendFormat": "{{instance}}", | |
| "metric": "", | |
| "prometheusLink": "/prometheus/graph#%5B%7B%22expr%22%3A%22go_goroutines%7Bjob%3D~%5C%22gateway%7Cstorage%5C%22%7D%22%2C%22range_input%22%3A%22604801s%22%2C%22end_input%22%3A%222015-11-26%204%3A11%22%2C%22step_input%22%3A%22%22%2C%22stacked%22%3Atrue%2C%22tab%22%3A0%7D%5D", | |
| "refId": "A", | |
| "step": 5 | |
| } | |
| ], | |
| "thresholds": [ | |
| { | |
| "colorMode": "critical", | |
| "fill": true, | |
| "line": true, | |
| "op": "gt", | |
| "value": 50000 | |
| } | |
| ], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Goroutines", | |
| "tooltip": { | |
| "msResolution": false, | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "short", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "prometheus.dwebops.pub", | |
| "decimals": null, | |
| "editable": true, | |
| "error": false, | |
| "fill": 0, | |
| "grid": {}, | |
| "gridPos": { | |
| "h": 9, | |
| "w": 8, | |
| "x": 8, | |
| "y": 9 | |
| }, | |
| "id": 2, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": true, | |
| "max": true, | |
| "min": false, | |
| "show": true, | |
| "sort": "current", | |
| "sortDesc": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "percentage": false, | |
| "pointradius": 1, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "calculatedInterval": "10m", | |
| "datasourceErrors": {}, | |
| "errors": {}, | |
| "expr": "irate(process_cpu_seconds_total{job=~\"ipfs\",instance=~\".*($service).*\",instance=~\"$instance\"}[5m]) * 1000", | |
| "format": "time_series", | |
| "interval": "", | |
| "intervalFactor": 1, | |
| "legendFormat": "{{instance}}", | |
| "metric": "", | |
| "prometheusLink": "/prometheus/graph#%5B%7B%22expr%22%3A%22rate(process_cpu_seconds_total%7Bjob%3D~%5C%22gateway%7Cstorage%5C%22%7D%5B1m%5D)%20*%201000%22%2C%22range_input%22%3A%22604800s%22%2C%22end_input%22%3A%222015-11-26%204%3A11%22%2C%22step_input%22%3A%22%22%2C%22stacked%22%3Atrue%2C%22tab%22%3A0%7D%5D", | |
| "refId": "A", | |
| "step": 5 | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "CPU seconds", | |
| "tooltip": { | |
| "msResolution": false, | |
| "shared": true, | |
| "sort": 2, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "ms", | |
| "label": "", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": "", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "prometheus.dwebops.pub", | |
| "editable": true, | |
| "error": false, | |
| "fill": 0, | |
| "grid": {}, | |
| "gridPos": { | |
| "h": 9, | |
| "w": 8, | |
| "x": 16, | |
| "y": 9 | |
| }, | |
| "id": 4, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": true, | |
| "max": true, | |
| "min": false, | |
| "show": true, | |
| "sort": "current", | |
| "sortDesc": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "calculatedInterval": "10m", | |
| "datasourceErrors": {}, | |
| "errors": {}, | |
| "expr": "go_memstats_alloc_bytes{job=~\"ipfs\",instance=~\".*($service).*\",instance=~\"$instance\"} / 1024 / 1024", | |
| "format": "time_series", | |
| "interval": "", | |
| "intervalFactor": 1, | |
| "legendFormat": "{{instance}}", | |
| "metric": "", | |
| "prometheusLink": "/prometheus/graph#%5B%7B%22expr%22%3A%22process_resident_memory_bytes%7Bjob%3D~%5C%22gateway%7Cstorage%5C%22%7D%20%2F%201024%20%2F%201024%22%2C%22range_input%22%3A%22604800s%22%2C%22end_input%22%3A%222015-11-26%204%3A11%22%2C%22step_input%22%3A%22%22%2C%22stacked%22%3Atrue%2C%22tab%22%3A0%7D%5D", | |
| "refId": "A", | |
| "step": 5 | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Allocated memory", | |
| "tooltip": { | |
| "msResolution": false, | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "mbytes", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "prometheus.dwebops.pub", | |
| "editable": true, | |
| "error": false, | |
| "fill": 0, | |
| "grid": {}, | |
| "gridPos": { | |
| "h": 9, | |
| "w": 8, | |
| "x": 0, | |
| "y": 18 | |
| }, | |
| "id": 7, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": false, | |
| "current": true, | |
| "max": true, | |
| "min": false, | |
| "show": true, | |
| "sort": "current", | |
| "sortDesc": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "calculatedInterval": "10m", | |
| "datasourceErrors": {}, | |
| "errors": {}, | |
| "expr": "process_open_fds{job=~\"ipfs\",instance=~\".*($service).*\",instance=~\"$instance\"}", | |
| "format": "time_series", | |
| "interval": "", | |
| "intervalFactor": 1, | |
| "legendFormat": "{{instance}}", | |
| "metric": "", | |
| "prometheusLink": "/prometheus/graph#%5B%7B%22expr%22%3A%22go_goroutines%7Bjob%3D~%5C%22gateway%7Cstorage%5C%22%7D%22%2C%22range_input%22%3A%22604801s%22%2C%22end_input%22%3A%222015-11-26%204%3A11%22%2C%22step_input%22%3A%22%22%2C%22stacked%22%3Atrue%2C%22tab%22%3A0%7D%5D", | |
| "refId": "A", | |
| "step": 5 | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Open FDs", | |
| "tooltip": { | |
| "msResolution": false, | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "short", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "prometheus.dwebops.pub", | |
| "editable": true, | |
| "error": false, | |
| "fill": 0, | |
| "grid": {}, | |
| "gridPos": { | |
| "h": 9, | |
| "w": 8, | |
| "x": 8, | |
| "y": 18 | |
| }, | |
| "id": 3, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": true, | |
| "max": true, | |
| "min": false, | |
| "show": true, | |
| "sort": "current", | |
| "sortDesc": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "calculatedInterval": "10m", | |
| "datasourceErrors": {}, | |
| "errors": {}, | |
| "expr": "irate(go_gc_duration_seconds_sum{job=~\"ipfs\",instance=~\".*($service).*\",instance=~\"$instance\"}[1m])", | |
| "format": "time_series", | |
| "interval": "", | |
| "intervalFactor": 1, | |
| "legendFormat": "{{instance}}", | |
| "metric": "", | |
| "prometheusLink": "/prometheus/graph#%5B%7B%22expr%22%3A%22rate(go_gc_duration_seconds_count%7Bjob%3D~%5C%22gateway%7Cstorage%5C%22%7D%5B1m%5D)%20*%201000%22%2C%22range_input%22%3A%22604800s%22%2C%22end_input%22%3A%222015-11-26%204%3A11%22%2C%22step_input%22%3A%22%22%2C%22stacked%22%3Atrue%2C%22tab%22%3A0%7D%5D", | |
| "refId": "A", | |
| "step": 5 | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "GC seconds", | |
| "tooltip": { | |
| "msResolution": false, | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "s", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "prometheus.dwebops.pub", | |
| "editable": true, | |
| "error": false, | |
| "fill": 0, | |
| "grid": {}, | |
| "gridPos": { | |
| "h": 9, | |
| "w": 8, | |
| "x": 16, | |
| "y": 18 | |
| }, | |
| "id": 11, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": true, | |
| "max": true, | |
| "min": false, | |
| "show": true, | |
| "sort": "current", | |
| "sortDesc": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "calculatedInterval": "10m", | |
| "datasourceErrors": {}, | |
| "errors": {}, | |
| "expr": "ipfs_bitswap_wantlist_total{job=~\"ipfs\",instance=~\".*($service).*\",instance=~\"$instance\"}", | |
| "format": "time_series", | |
| "interval": "", | |
| "intervalFactor": 1, | |
| "legendFormat": "{{instance}}", | |
| "metric": "", | |
| "prometheusLink": "/prometheus/graph#%5B%7B%22expr%22%3A%22process_resident_memory_bytes%7Bjob%3D~%5C%22gateway%7Cstorage%5C%22%7D%20%2F%201024%20%2F%201024%22%2C%22range_input%22%3A%22604800s%22%2C%22end_input%22%3A%222015-11-26%204%3A11%22%2C%22step_input%22%3A%22%22%2C%22stacked%22%3Atrue%2C%22tab%22%3A0%7D%5D", | |
| "refId": "A", | |
| "step": 5 | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Wantlist length", | |
| "tooltip": { | |
| "msResolution": false, | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "none", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| } | |
| ], | |
| "refresh": "30s", | |
| "schemaVersion": 16, | |
| "style": "dark", | |
| "tags": [ | |
| "cluster", | |
| "gateway" | |
| ], | |
| "templating": { | |
| "list": [ | |
| { | |
| "allValue": ".*", | |
| "current": { | |
| "text": "All", | |
| "value": [ | |
| "$__all" | |
| ] | |
| }, | |
| "datasource": "prometheus.dwebops.pub", | |
| "hide": 0, | |
| "includeAll": true, | |
| "label": "instance", | |
| "multi": true, | |
| "name": "instance", | |
| "options": [], | |
| "query": "up{job=\"ipfs\"}", | |
| "refresh": 2, | |
| "regex": "/instance=\"([^\"]+)\"/", | |
| "skipUrlSync": false, | |
| "sort": 1, | |
| "tagValuesQuery": "", | |
| "tags": [], | |
| "tagsQuery": "", | |
| "type": "query", | |
| "useTags": false | |
| }, | |
| { | |
| "allValue": ".*", | |
| "current": { | |
| "tags": [], | |
| "text": "All", | |
| "value": [ | |
| "$__all" | |
| ] | |
| }, | |
| "hide": 0, | |
| "includeAll": true, | |
| "label": "service", | |
| "multi": true, | |
| "name": "service", | |
| "options": [ | |
| { | |
| "selected": true, | |
| "text": "All", | |
| "value": "$__all" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "v.ipfs.team", | |
| "value": "v.ipfs.team" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "cluster", | |
| "value": "cluster" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "gateway", | |
| "value": "gateway" | |
| } | |
| ], | |
| "query": "v.ipfs.team,cluster,gateway", | |
| "skipUrlSync": false, | |
| "type": "custom" | |
| } | |
| ] | |
| }, | |
| "time": { | |
| "from": "now-3h", | |
| "to": "now" | |
| }, | |
| "timepicker": { | |
| "collapse": false, | |
| "enable": true, | |
| "notice": false, | |
| "now": true, | |
| "refresh_intervals": [ | |
| "5s", | |
| "10s", | |
| "30s", | |
| "1m", | |
| "5m", | |
| "15m", | |
| "30m", | |
| "1h", | |
| "2h", | |
| "1d" | |
| ], | |
| "status": "Stable", | |
| "time_options": [ | |
| "5m", | |
| "15m", | |
| "1h", | |
| "6h", | |
| "12h", | |
| "24h", | |
| "2d", | |
| "7d", | |
| "30d" | |
| ], | |
| "type": "timepicker" | |
| }, | |
| "timezone": "browser", | |
| "title": "IPFS: Main", | |
| "uid": "9P8gEJviz", | |
| "version": 15 | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment