Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "BobRTC",
- "decimals": 0,
- "description": "This panel shows how many calls each user is currently making.",
- "fill": 3,
- "fillGradient": 0,
- "gridPos": {
- "h": 6,
- "w": 23,
- "x": 0,
- "y": 0
- },
- "id": 2,
- "legend": {
- "avg": false,
- "current": false,
- "hideEmpty": false,
- "hideZero": false,
- "max": false,
- "min": false,
- "show": true,
- "total": true,
- "values": true
- },
- "lines": true,
- "linewidth": 2,
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "format": "time_series",
- "group": [
- {
- "params": [
- "1s",
- "previous"
- ],
- "type": "time"
- }
- ],
- "metricColumn": "name",
- "rawQuery": false,
- "rawSql": "SELECT\n UNIX_TIMESTAMP(<time_column>) as time_sec,\n <value column> as value,\n <series name column> as metric\nFROM <table name>\nWHERE $__timeFilter(time_column)\nORDER BY <time_column> ASC\n",
- "refId": "A",
- "select": [
- [
- {
- "params": [
- "id"
- ],
- "type": "column"
- },
- {
- "params": [
- "count"
- ],
- "type": "aggregate"
- }
- ]
- ],
- "table": "ongoing_calls",
- "timeColumn": "created_at",
- "timeColumnType": "timestamp",
- "where": [
- {
- "name": "$__timeFilter",
- "params": [],
- "type": "macro"
- },
- {
- "datatype": "varchar",
- "name": "",
- "params": [
- "number",
- "=",
- "\"18665789726\""
- ],
- "type": "expression"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "User Calls",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "decimals": 0,
- "format": "short",
- "label": "Call Count",
- "logBase": 2,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "decimals": 0,
- "format": "short",
- "label": "",
- "logBase": 2,
- "max": null,
- "min": "0",
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement