{ "__inputs": [ { "name": "DS_MTA", "label": "mta", "description": "", "type": "datasource", "pluginId": "influxdb", "pluginName": "InfluxDB" } ], "__requires": [ { "type": "grafana", "id": "grafana", "name": "Grafana", "version": "5.3.2" }, { "type": "panel", "id": "graph", "name": "Graph", "version": "5.0.0" }, { "type": "datasource", "id": "influxdb", "name": "InfluxDB", "version": "5.0.0" } ], "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": 0, "id": null, "links": [], "panels": [ { "aliasColors": { "Line 1-2-3": "#ff031b", "Line 4-5-6": "#00972d", "Line A-C-E-H": "#0a437c", "Line B-D-F-M": "#ff5700", "Line L": "#808183", "Line N-Q-R-W": "#ffca00", "line.mean": "#3f6833", "line.sum": "#bf1b00" }, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_MTA}", "decimals": 0, "fill": 0, "gridPos": { "h": 9, "w": 12, "x": 0, "y": 0 }, "id": 2, "legend": { "alignAsTable": true, "avg": true, "current": true, "hideEmpty": false, "hideZero": false, "max": true, "min": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "alias": "Line 1-2-3", "groupBy": [ { "params": [ "30m" ], "type": "time" } ], "hide": false, "measurement": "line", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "count" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "route", "operator": "=", "value": "1" }, { "condition": "OR", "key": "route", "operator": "=", "value": "2" }, { "condition": "OR", "key": "route", "operator": "=", "value": "3" } ] }, { "alias": "Line 4-5-6", "groupBy": [ { "params": [ "30m" ], "type": "time" } ], "hide": false, "measurement": "line", "orderByTime": "ASC", "policy": "default", "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "count" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "route", "operator": "=", "value": "4" }, { "condition": "OR", "key": "route", "operator": "=", "value": "5" }, { "condition": "OR", "key": "route", "operator": "=", "value": "6" }, { "condition": "OR", "key": "route", "operator": "=", "value": "6X" } ] }, { "alias": "Line A-C-E-H", "groupBy": [ { "params": [ "30m" ], "type": "time" } ], "hide": false, "measurement": "line", "orderByTime": "ASC", "policy": "default", "refId": "C", "resultFormat": "time_series", "select": [ [ { "params": [ "count" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "route", "operator": "=", "value": "A" }, { "condition": "OR", "key": "route", "operator": "=", "value": "C" }, { "condition": "OR", "key": "route", "operator": "=", "value": "E" }, { "condition": "OR", "key": "route", "operator": "=", "value": "H" } ] }, { "alias": "Line L", "groupBy": [ { "params": [ "30m" ], "type": "time" } ], "hide": false, "measurement": "line", "orderByTime": "ASC", "policy": "default", "refId": "D", "resultFormat": "time_series", "select": [ [ { "params": [ "count" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "route", "operator": "=", "value": "L" } ] }, { "alias": "Line B-D-F-M", "groupBy": [ { "params": [ "30m" ], "type": "time" } ], "hide": false, "measurement": "line", "orderByTime": "ASC", "policy": "default", "refId": "E", "resultFormat": "time_series", "select": [ [ { "params": [ "count" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "route", "operator": "=", "value": "B" }, { "condition": "OR", "key": "route", "operator": "=", "value": "D" }, { "condition": "OR", "key": "route", "operator": "=", "value": "F" }, { "condition": "OR", "key": "route", "operator": "=", "value": "M" } ] }, { "alias": "Line N-Q-R-W", "groupBy": [ { "params": [ "30m" ], "type": "time" } ], "hide": false, "measurement": "line", "orderByTime": "ASC", "policy": "default", "refId": "F", "resultFormat": "time_series", "select": [ [ { "params": [ "count" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "route", "operator": "=", "value": "N" }, { "condition": "OR", "key": "route", "operator": "=", "value": "Q" }, { "condition": "OR", "key": "route", "operator": "=", "value": "R" }, { "condition": "OR", "key": "route", "operator": "=", "value": "W" } ] } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "Active subways per line", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } } ], "schemaVersion": 16, "style": "dark", "tags": [], "templating": { "list": [] }, "time": { "from": "now-1d/d", "to": "now-1d/d" }, "timepicker": { "refresh_intervals": [ "5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ], "time_options": [ "5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d" ] }, "timezone": "", "title": "MTA", "uid": "ARlAry-iz", "version": 10 }