Last active
March 28, 2023 16:31
-
-
Save pgvishnuram/c230f614f4caa717204f02d98c2251b0 to your computer and use it in GitHub Desktop.
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": { | |
| "type": "datasource", | |
| "uid": "grafana" | |
| }, | |
| "enable": true, | |
| "hide": true, | |
| "iconColor": "rgba(0, 211, 255, 1)", | |
| "name": "Annotations & Alerts", | |
| "target": { | |
| "limit": 100, | |
| "matchAny": false, | |
| "tags": [], | |
| "type": "dashboard" | |
| }, | |
| "type": "dashboard" | |
| } | |
| ] | |
| }, | |
| "description": "Houston prometheus basic metrics", | |
| "editable": true, | |
| "fiscalYearStartMonth": 0, | |
| "gnetId": 11159, | |
| "graphTooltip": 0, | |
| "id": 34, | |
| "links": [], | |
| "liveNow": false, | |
| "panels": [ | |
| { | |
| "collapsed": false, | |
| "gridPos": { | |
| "h": 1, | |
| "w": 24, | |
| "x": 0, | |
| "y": 0 | |
| }, | |
| "id": 22, | |
| "panels": [], | |
| "title": "Houston App Metrics", | |
| "type": "row" | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": { | |
| "type": "prometheus", | |
| "uid": "PBFA97CFB590B2093" | |
| }, | |
| "fill": 1, | |
| "fillGradient": 0, | |
| "gridPos": { | |
| "h": 10, | |
| "w": 12, | |
| "x": 0, | |
| "y": 1 | |
| }, | |
| "hiddenSeries": false, | |
| "id": 6, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": true, | |
| "max": true, | |
| "min": true, | |
| "show": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "options": { | |
| "alertThreshold": true | |
| }, | |
| "paceLength": 10, | |
| "percentage": false, | |
| "pluginVersion": "8.5.16", | |
| "pointradius": 2, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "datasource": { | |
| "type": "prometheus", | |
| "uid": "PBFA97CFB590B2093" | |
| }, | |
| "editorMode": "code", | |
| "expr": "irate(houston_process_cpu_user_seconds_total{instance=~\"$instance\"}[2m]) * 100", | |
| "format": "time_series", | |
| "intervalFactor": 1, | |
| "legendFormat": "User CPU - {{instance}}", | |
| "range": true, | |
| "refId": "A" | |
| }, | |
| { | |
| "datasource": { | |
| "type": "prometheus", | |
| "uid": "PBFA97CFB590B2093" | |
| }, | |
| "editorMode": "code", | |
| "expr": "irate(houston_process_cpu_system_seconds_total{job=~\"$job\", instance=~\"$instance\"}[1m]) * 100", | |
| "format": "time_series", | |
| "intervalFactor": 1, | |
| "legendFormat": "Sys CPU - {{instance}}", | |
| "range": true, | |
| "refId": "B" | |
| }, | |
| { | |
| "datasource": { | |
| "type": "prometheus", | |
| "uid": "PBFA97CFB590B2093" | |
| }, | |
| "editorMode": "code", | |
| "expr": "irate(houston_process_cpu_seconds_total{job=~\"$job\", instance=~\"$instance\"}[1m]) * 100", | |
| "hide": false, | |
| "legendFormat": "__auto", | |
| "range": true, | |
| "refId": "C" | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeRegions": [], | |
| "title": "CPU Usage", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "mode": "time", | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "percent", | |
| "logBase": 1, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "logBase": 1, | |
| "show": true | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false | |
| } | |
| }, | |
| { | |
| "datasource": { | |
| "type": "prometheus", | |
| "uid": "PBFA97CFB590B2093" | |
| }, | |
| "fieldConfig": { | |
| "defaults": { | |
| "color": { | |
| "mode": "palette-classic" | |
| }, | |
| "custom": { | |
| "axisCenteredZero": false, | |
| "axisColorMode": "text", | |
| "axisLabel": "", | |
| "axisPlacement": "auto", | |
| "barAlignment": 0, | |
| "drawStyle": "line", | |
| "fillOpacity": 0, | |
| "gradientMode": "none", | |
| "hideFrom": { | |
| "legend": false, | |
| "tooltip": false, | |
| "viz": false | |
| }, | |
| "lineInterpolation": "linear", | |
| "lineWidth": 1, | |
| "pointSize": 5, | |
| "scaleDistribution": { | |
| "type": "linear" | |
| }, | |
| "showPoints": "auto", | |
| "spanNulls": false, | |
| "stacking": { | |
| "group": "A", | |
| "mode": "none" | |
| }, | |
| "thresholdsStyle": { | |
| "mode": "off" | |
| } | |
| }, | |
| "mappings": [], | |
| "thresholds": { | |
| "mode": "absolute", | |
| "steps": [ | |
| { | |
| "color": "green", | |
| "value": null | |
| }, | |
| { | |
| "color": "red", | |
| "value": 80 | |
| } | |
| ] | |
| } | |
| }, | |
| "overrides": [] | |
| }, | |
| "gridPos": { | |
| "h": 10, | |
| "w": 12, | |
| "x": 12, | |
| "y": 1 | |
| }, | |
| "id": 26, | |
| "options": { | |
| "legend": { | |
| "calcs": [], | |
| "displayMode": "list", | |
| "placement": "bottom", | |
| "showLegend": true | |
| }, | |
| "tooltip": { | |
| "mode": "single", | |
| "sort": "none" | |
| } | |
| }, | |
| "targets": [ | |
| { | |
| "datasource": { | |
| "type": "prometheus", | |
| "uid": "PBFA97CFB590B2093" | |
| }, | |
| "editorMode": "code", | |
| "expr": "rate(houston_process_cpu_seconds_total{job=~\"$job\", instance=~\"$instance\"}[$interval])", | |
| "legendFormat": "__auto", | |
| "range": true, | |
| "refId": "A" | |
| } | |
| ], | |
| "title": "CPU Time Spent", | |
| "type": "timeseries" | |
| }, | |
| { | |
| "datasource": { | |
| "type": "prometheus", | |
| "uid": "PBFA97CFB590B2093" | |
| }, | |
| "fieldConfig": { | |
| "defaults": { | |
| "color": { | |
| "mode": "palette-classic" | |
| }, | |
| "custom": { | |
| "axisCenteredZero": false, | |
| "axisColorMode": "text", | |
| "axisLabel": "", | |
| "axisPlacement": "auto", | |
| "barAlignment": 0, | |
| "drawStyle": "line", | |
| "fillOpacity": 10, | |
| "gradientMode": "none", | |
| "hideFrom": { | |
| "legend": false, | |
| "tooltip": false, | |
| "viz": false | |
| }, | |
| "lineInterpolation": "linear", | |
| "lineWidth": 1, | |
| "pointSize": 5, | |
| "scaleDistribution": { | |
| "type": "linear" | |
| }, | |
| "showPoints": "never", | |
| "spanNulls": false, | |
| "stacking": { | |
| "group": "A", | |
| "mode": "none" | |
| }, | |
| "thresholdsStyle": { | |
| "mode": "off" | |
| } | |
| }, | |
| "mappings": [], | |
| "thresholds": { | |
| "mode": "absolute", | |
| "steps": [ | |
| { | |
| "color": "green", | |
| "value": null | |
| }, | |
| { | |
| "color": "red", | |
| "value": 80 | |
| } | |
| ] | |
| }, | |
| "unit": "bytes" | |
| }, | |
| "overrides": [] | |
| }, | |
| "gridPos": { | |
| "h": 9, | |
| "w": 24, | |
| "x": 0, | |
| "y": 11 | |
| }, | |
| "id": 7, | |
| "links": [], | |
| "options": { | |
| "legend": { | |
| "calcs": [ | |
| "mean", | |
| "lastNotNull", | |
| "max", | |
| "min" | |
| ], | |
| "displayMode": "table", | |
| "placement": "right", | |
| "showLegend": true | |
| }, | |
| "tooltip": { | |
| "mode": "multi", | |
| "sort": "none" | |
| } | |
| }, | |
| "pluginVersion": "8.5.16", | |
| "targets": [ | |
| { | |
| "datasource": { | |
| "type": "prometheus", | |
| "uid": "PBFA97CFB590B2093" | |
| }, | |
| "editorMode": "code", | |
| "expr": "houston_process_resident_memory_bytes{instance=~\"$instance\"}", | |
| "format": "time_series", | |
| "intervalFactor": 1, | |
| "legendFormat": "Process Memory - {{instance}}", | |
| "range": true, | |
| "refId": "A" | |
| }, | |
| { | |
| "datasource": { | |
| "type": "prometheus", | |
| "uid": "PBFA97CFB590B2093" | |
| }, | |
| "editorMode": "code", | |
| "expr": "houston_nodejs_heap_size_total_bytes{instance=~\"$instance\"}", | |
| "format": "time_series", | |
| "intervalFactor": 1, | |
| "legendFormat": "Heap Total - {{instance}}", | |
| "range": true, | |
| "refId": "B" | |
| }, | |
| { | |
| "datasource": { | |
| "type": "prometheus", | |
| "uid": "PBFA97CFB590B2093" | |
| }, | |
| "editorMode": "code", | |
| "expr": "houston_nodejs_heap_size_used_bytes{instance=~\"$instance\"}", | |
| "format": "time_series", | |
| "intervalFactor": 1, | |
| "legendFormat": "Heap Used - {{instance}}", | |
| "range": true, | |
| "refId": "C" | |
| }, | |
| { | |
| "datasource": { | |
| "type": "prometheus", | |
| "uid": "PBFA97CFB590B2093" | |
| }, | |
| "editorMode": "code", | |
| "expr": "houston_nodejs_external_memory_bytes{instance=~\"$instance\"}", | |
| "format": "time_series", | |
| "intervalFactor": 1, | |
| "legendFormat": "External Memory - {{instance}}", | |
| "range": true, | |
| "refId": "D" | |
| } | |
| ], | |
| "title": "Process Memory Usage", | |
| "type": "timeseries" | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": { | |
| "type": "prometheus", | |
| "uid": "PBFA97CFB590B2093" | |
| }, | |
| "fill": 1, | |
| "fillGradient": 0, | |
| "gridPos": { | |
| "h": 6, | |
| "w": 18, | |
| "x": 0, | |
| "y": 20 | |
| }, | |
| "hiddenSeries": false, | |
| "id": 8, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": true, | |
| "max": true, | |
| "min": true, | |
| "show": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "options": { | |
| "alertThreshold": true | |
| }, | |
| "paceLength": 10, | |
| "percentage": false, | |
| "pluginVersion": "8.5.16", | |
| "pointradius": 2, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "datasource": { | |
| "type": "prometheus", | |
| "uid": "PBFA97CFB590B2093" | |
| }, | |
| "editorMode": "code", | |
| "expr": "houston_nodejs_eventloop_lag_seconds{instance=~\"$instance\"}", | |
| "format": "time_series", | |
| "intervalFactor": 1, | |
| "legendFormat": "{{instance}}", | |
| "range": true, | |
| "refId": "A" | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeRegions": [], | |
| "title": "Event Loop Lag", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "mode": "time", | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "s", | |
| "logBase": 1, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "logBase": 1, | |
| "show": true | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false | |
| } | |
| }, | |
| { | |
| "datasource": { | |
| "type": "prometheus", | |
| "uid": "$datasource" | |
| }, | |
| "description": "The version of Node.js.", | |
| "fieldConfig": { | |
| "defaults": { | |
| "color": { | |
| "mode": "thresholds" | |
| }, | |
| "mappings": [ | |
| { | |
| "options": { | |
| "match": "null", | |
| "result": { | |
| "text": "N/A" | |
| } | |
| }, | |
| "type": "special" | |
| } | |
| ], | |
| "thresholds": { | |
| "mode": "absolute", | |
| "steps": [ | |
| { | |
| "color": "green", | |
| "value": null | |
| }, | |
| { | |
| "color": "red", | |
| "value": 80 | |
| } | |
| ] | |
| }, | |
| "unit": "none" | |
| }, | |
| "overrides": [] | |
| }, | |
| "gridPos": { | |
| "h": 6, | |
| "w": 3, | |
| "x": 18, | |
| "y": 20 | |
| }, | |
| "id": 2, | |
| "links": [], | |
| "maxDataPoints": 100, | |
| "options": { | |
| "colorMode": "none", | |
| "graphMode": "none", | |
| "justifyMode": "auto", | |
| "orientation": "horizontal", | |
| "reduceOptions": { | |
| "calcs": [ | |
| "first" | |
| ], | |
| "fields": "/^version$/", | |
| "values": false | |
| }, | |
| "textMode": "auto" | |
| }, | |
| "pluginVersion": "8.5.16", | |
| "targets": [ | |
| { | |
| "datasource": { | |
| "uid": "$datasource" | |
| }, | |
| "editorMode": "code", | |
| "expr": "houston_nodejs_version_info", | |
| "format": "table", | |
| "instant": true, | |
| "legendFormat": "", | |
| "refId": "A" | |
| } | |
| ], | |
| "title": "Node.js Version", | |
| "type": "stat" | |
| }, | |
| { | |
| "datasource": { | |
| "type": "prometheus", | |
| "uid": "PBFA97CFB590B2093" | |
| }, | |
| "fieldConfig": { | |
| "defaults": { | |
| "color": { | |
| "fixedColor": "#F2495C", | |
| "mode": "fixed" | |
| }, | |
| "mappings": [ | |
| { | |
| "options": { | |
| "match": "null", | |
| "result": { | |
| "text": "N/A" | |
| } | |
| }, | |
| "type": "special" | |
| } | |
| ], | |
| "thresholds": { | |
| "mode": "absolute", | |
| "steps": [ | |
| { | |
| "color": "green", | |
| "value": null | |
| }, | |
| { | |
| "color": "red", | |
| "value": 80 | |
| } | |
| ] | |
| }, | |
| "unit": "none" | |
| }, | |
| "overrides": [] | |
| }, | |
| "gridPos": { | |
| "h": 6, | |
| "w": 3, | |
| "x": 21, | |
| "y": 20 | |
| }, | |
| "id": 4, | |
| "links": [], | |
| "maxDataPoints": 100, | |
| "options": { | |
| "colorMode": "none", | |
| "graphMode": "area", | |
| "justifyMode": "auto", | |
| "orientation": "horizontal", | |
| "reduceOptions": { | |
| "calcs": [ | |
| "lastNotNull" | |
| ], | |
| "fields": "", | |
| "values": false | |
| }, | |
| "textMode": "auto" | |
| }, | |
| "pluginVersion": "8.5.16", | |
| "targets": [ | |
| { | |
| "datasource": { | |
| "type": "prometheus", | |
| "uid": "PBFA97CFB590B2093" | |
| }, | |
| "editorMode": "code", | |
| "expr": "sum(changes(houston_process_start_time_seconds{instance=~\"$instance\"}[1m]))", | |
| "format": "time_series", | |
| "intervalFactor": 1, | |
| "legendFormat": "{{instance}}", | |
| "range": true, | |
| "refId": "A" | |
| } | |
| ], | |
| "title": "Process Restart Times", | |
| "type": "stat" | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": { | |
| "type": "prometheus", | |
| "uid": "PBFA97CFB590B2093" | |
| }, | |
| "fill": 1, | |
| "fillGradient": 0, | |
| "gridPos": { | |
| "h": 8, | |
| "w": 24, | |
| "x": 0, | |
| "y": 26 | |
| }, | |
| "hiddenSeries": false, | |
| "id": 9, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": true, | |
| "max": true, | |
| "min": true, | |
| "show": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "options": { | |
| "alertThreshold": true | |
| }, | |
| "paceLength": 10, | |
| "percentage": false, | |
| "pluginVersion": "8.5.16", | |
| "pointradius": 2, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "datasource": { | |
| "type": "prometheus", | |
| "uid": "PBFA97CFB590B2093" | |
| }, | |
| "editorMode": "code", | |
| "expr": "houston_nodejs_active_handles_total{instance=~\"$instance\"}", | |
| "format": "time_series", | |
| "intervalFactor": 1, | |
| "legendFormat": "Active Handler - {{instance}}", | |
| "range": true, | |
| "refId": "A" | |
| }, | |
| { | |
| "datasource": { | |
| "type": "prometheus", | |
| "uid": "PBFA97CFB590B2093" | |
| }, | |
| "editorMode": "code", | |
| "expr": "houston_nodejs_active_requests_total{instance=~\"$instance\"}", | |
| "format": "time_series", | |
| "intervalFactor": 1, | |
| "legendFormat": "Active Request - {{instance}}", | |
| "range": true, | |
| "refId": "B" | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeRegions": [], | |
| "title": "Active Handlers/Requests Total", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "mode": "time", | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "short", | |
| "logBase": 1, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "logBase": 1, | |
| "show": true | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false | |
| } | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": { | |
| "type": "prometheus", | |
| "uid": "PBFA97CFB590B2093" | |
| }, | |
| "fill": 1, | |
| "fillGradient": 0, | |
| "gridPos": { | |
| "h": 8, | |
| "w": 12, | |
| "x": 0, | |
| "y": 34 | |
| }, | |
| "hiddenSeries": false, | |
| "id": 10, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": true, | |
| "max": true, | |
| "min": true, | |
| "rightSide": false, | |
| "show": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "options": { | |
| "alertThreshold": true | |
| }, | |
| "paceLength": 10, | |
| "percentage": false, | |
| "pluginVersion": "8.5.16", | |
| "pointradius": 2, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "datasource": { | |
| "type": "prometheus", | |
| "uid": "PBFA97CFB590B2093" | |
| }, | |
| "editorMode": "code", | |
| "expr": "houston_nodejs_heap_space_size_total_bytes{instance=~\"$instance\"}", | |
| "format": "time_series", | |
| "intervalFactor": 1, | |
| "legendFormat": "Heap Total - {{instance}} - {{space}}", | |
| "range": true, | |
| "refId": "A" | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeRegions": [], | |
| "title": "Heap Total Detail", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "mode": "time", | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "bytes", | |
| "logBase": 1, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "logBase": 1, | |
| "show": true | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false | |
| } | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": { | |
| "type": "prometheus", | |
| "uid": "PBFA97CFB590B2093" | |
| }, | |
| "fill": 1, | |
| "fillGradient": 0, | |
| "gridPos": { | |
| "h": 8, | |
| "w": 12, | |
| "x": 12, | |
| "y": 34 | |
| }, | |
| "hiddenSeries": false, | |
| "id": 11, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": true, | |
| "max": true, | |
| "min": true, | |
| "rightSide": false, | |
| "show": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "options": { | |
| "alertThreshold": true | |
| }, | |
| "paceLength": 10, | |
| "percentage": false, | |
| "pluginVersion": "8.5.16", | |
| "pointradius": 2, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "datasource": { | |
| "type": "prometheus", | |
| "uid": "PBFA97CFB590B2093" | |
| }, | |
| "editorMode": "code", | |
| "expr": "houston_nodejs_heap_space_size_used_bytes{instance=~\"$instance\"}", | |
| "format": "time_series", | |
| "intervalFactor": 1, | |
| "legendFormat": "Heap Used - {{instance}} - {{space}}", | |
| "range": true, | |
| "refId": "A" | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeRegions": [], | |
| "title": "Heap Used Detail", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "mode": "time", | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "bytes", | |
| "logBase": 1, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "logBase": 1, | |
| "show": true | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false | |
| } | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": { | |
| "type": "prometheus", | |
| "uid": "PBFA97CFB590B2093" | |
| }, | |
| "fill": 1, | |
| "fillGradient": 0, | |
| "gridPos": { | |
| "h": 7, | |
| "w": 12, | |
| "x": 0, | |
| "y": 42 | |
| }, | |
| "hiddenSeries": false, | |
| "id": 12, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": true, | |
| "max": true, | |
| "min": true, | |
| "rightSide": false, | |
| "show": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "options": { | |
| "alertThreshold": true | |
| }, | |
| "paceLength": 10, | |
| "percentage": false, | |
| "pluginVersion": "8.5.16", | |
| "pointradius": 2, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "datasource": { | |
| "type": "prometheus", | |
| "uid": "PBFA97CFB590B2093" | |
| }, | |
| "editorMode": "code", | |
| "expr": "houston_nodejs_heap_space_size_available_bytes{instance=~\"$instance\"}", | |
| "format": "time_series", | |
| "intervalFactor": 1, | |
| "legendFormat": "Heap Used - {{instance}} - {{space}}", | |
| "range": true, | |
| "refId": "A" | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeRegions": [], | |
| "title": "Heap Available Detail", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "mode": "time", | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "bytes", | |
| "logBase": 1, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "logBase": 1, | |
| "show": true | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false | |
| } | |
| }, | |
| { | |
| "collapsed": false, | |
| "gridPos": { | |
| "h": 1, | |
| "w": 24, | |
| "x": 0, | |
| "y": 49 | |
| }, | |
| "id": 20, | |
| "panels": [], | |
| "repeat": "window", | |
| "repeatDirection": "h", | |
| "title": "Houston Request Metrics", | |
| "type": "row" | |
| }, | |
| { | |
| "datasource": { | |
| "type": "prometheus", | |
| "uid": "PBFA97CFB590B2093" | |
| }, | |
| "fieldConfig": { | |
| "defaults": { | |
| "color": { | |
| "mode": "palette-classic" | |
| }, | |
| "custom": { | |
| "axisCenteredZero": false, | |
| "axisColorMode": "text", | |
| "axisLabel": "", | |
| "axisPlacement": "auto", | |
| "barAlignment": 0, | |
| "drawStyle": "line", | |
| "fillOpacity": 0, | |
| "gradientMode": "none", | |
| "hideFrom": { | |
| "legend": false, | |
| "tooltip": false, | |
| "viz": false | |
| }, | |
| "lineInterpolation": "linear", | |
| "lineWidth": 1, | |
| "pointSize": 5, | |
| "scaleDistribution": { | |
| "type": "linear" | |
| }, | |
| "showPoints": "auto", | |
| "spanNulls": false, | |
| "stacking": { | |
| "group": "A", | |
| "mode": "none" | |
| }, | |
| "thresholdsStyle": { | |
| "mode": "off" | |
| } | |
| }, | |
| "mappings": [], | |
| "thresholds": { | |
| "mode": "absolute", | |
| "steps": [ | |
| { | |
| "color": "green", | |
| "value": null | |
| }, | |
| { | |
| "color": "red", | |
| "value": 80 | |
| } | |
| ] | |
| } | |
| }, | |
| "overrides": [] | |
| }, | |
| "gridPos": { | |
| "h": 10, | |
| "w": 24, | |
| "x": 0, | |
| "y": 50 | |
| }, | |
| "id": 18, | |
| "options": { | |
| "legend": { | |
| "calcs": [], | |
| "displayMode": "table", | |
| "placement": "right", | |
| "showLegend": true | |
| }, | |
| "tooltip": { | |
| "mode": "multi", | |
| "sort": "desc" | |
| } | |
| }, | |
| "targets": [ | |
| { | |
| "datasource": { | |
| "type": "prometheus", | |
| "uid": "PBFA97CFB590B2093" | |
| }, | |
| "editorMode": "code", | |
| "expr": "sum(increase(houston_http_request_duration_seconds_count[$window])) by (method, status_code,path)", | |
| "legendFormat": "__auto", | |
| "range": true, | |
| "refId": "A" | |
| } | |
| ], | |
| "title": "request count in window by method, status_code", | |
| "type": "timeseries" | |
| }, | |
| { | |
| "datasource": { | |
| "type": "prometheus", | |
| "uid": "PBFA97CFB590B2093" | |
| }, | |
| "fieldConfig": { | |
| "defaults": { | |
| "color": { | |
| "mode": "palette-classic" | |
| }, | |
| "custom": { | |
| "axisCenteredZero": false, | |
| "axisColorMode": "text", | |
| "axisLabel": "", | |
| "axisPlacement": "auto", | |
| "barAlignment": 0, | |
| "drawStyle": "line", | |
| "fillOpacity": 0, | |
| "gradientMode": "none", | |
| "hideFrom": { | |
| "legend": false, | |
| "tooltip": false, | |
| "viz": false | |
| }, | |
| "lineInterpolation": "linear", | |
| "lineWidth": 1, | |
| "pointSize": 5, | |
| "scaleDistribution": { | |
| "type": "linear" | |
| }, | |
| "showPoints": "auto", | |
| "spanNulls": false, | |
| "stacking": { | |
| "group": "A", | |
| "mode": "none" | |
| }, | |
| "thresholdsStyle": { | |
| "mode": "off" | |
| } | |
| }, | |
| "mappings": [], | |
| "thresholds": { | |
| "mode": "absolute", | |
| "steps": [ | |
| { | |
| "color": "green", | |
| "value": null | |
| }, | |
| { | |
| "color": "red", | |
| "value": 80 | |
| } | |
| ] | |
| } | |
| }, | |
| "overrides": [] | |
| }, | |
| "gridPos": { | |
| "h": 8, | |
| "w": 24, | |
| "x": 0, | |
| "y": 60 | |
| }, | |
| "id": 6, | |
| "options": { | |
| "legend": { | |
| "calcs": [], | |
| "displayMode": "table", | |
| "placement": "right", | |
| "showLegend": true | |
| }, | |
| "tooltip": { | |
| "mode": "multi", | |
| "sort": "desc" | |
| } | |
| }, | |
| "targets": [ | |
| { | |
| "datasource": { | |
| "type": "prometheus", | |
| "uid": "PBFA97CFB590B2093" | |
| }, | |
| "editorMode": "code", | |
| "expr": "average http request duration by method, status_code", | |
| "hide": true, | |
| "legendFormat": "__auto", | |
| "range": true, | |
| "refId": "A" | |
| }, | |
| { | |
| "datasource": { | |
| "type": "prometheus", | |
| "uid": "PBFA97CFB590B2093" | |
| }, | |
| "editorMode": "code", | |
| "expr": "sum(increase(houston_http_request_duration_seconds_sum[$window])) by (method, status_code,path) / sum(increase(houston_http_request_duration_seconds_count[$window])) by (method, status_code,path)", | |
| "hide": false, | |
| "legendFormat": "__auto", | |
| "range": true, | |
| "refId": "B" | |
| } | |
| ], | |
| "title": "average http request duration by method, status_code", | |
| "type": "timeseries" | |
| }, | |
| { | |
| "datasource": { | |
| "type": "prometheus", | |
| "uid": "PBFA97CFB590B2093" | |
| }, | |
| "fieldConfig": { | |
| "defaults": { | |
| "color": { | |
| "mode": "palette-classic" | |
| }, | |
| "custom": { | |
| "axisCenteredZero": false, | |
| "axisColorMode": "text", | |
| "axisLabel": "", | |
| "axisPlacement": "auto", | |
| "barAlignment": 0, | |
| "drawStyle": "line", | |
| "fillOpacity": 0, | |
| "gradientMode": "none", | |
| "hideFrom": { | |
| "legend": false, | |
| "tooltip": false, | |
| "viz": false | |
| }, | |
| "lineInterpolation": "linear", | |
| "lineWidth": 1, | |
| "pointSize": 5, | |
| "scaleDistribution": { | |
| "type": "linear" | |
| }, | |
| "showPoints": "auto", | |
| "spanNulls": false, | |
| "stacking": { | |
| "group": "A", | |
| "mode": "none" | |
| }, | |
| "thresholdsStyle": { | |
| "mode": "off" | |
| } | |
| }, | |
| "mappings": [], | |
| "thresholds": { | |
| "mode": "absolute", | |
| "steps": [ | |
| { | |
| "color": "green", | |
| "value": null | |
| }, | |
| { | |
| "color": "red", | |
| "value": 80 | |
| } | |
| ] | |
| } | |
| }, | |
| "overrides": [] | |
| }, | |
| "gridPos": { | |
| "h": 12, | |
| "w": 24, | |
| "x": 0, | |
| "y": 68 | |
| }, | |
| "id": 24, | |
| "options": { | |
| "legend": { | |
| "calcs": [], | |
| "displayMode": "table", | |
| "placement": "right", | |
| "showLegend": true | |
| }, | |
| "tooltip": { | |
| "mode": "single", | |
| "sort": "none" | |
| } | |
| }, | |
| "targets": [ | |
| { | |
| "datasource": { | |
| "type": "prometheus", | |
| "uid": "PBFA97CFB590B2093" | |
| }, | |
| "editorMode": "code", | |
| "expr": "histogram_quantile(0.99, sum by (le, instance, status_code,path) (rate(houston_http_request_duration_seconds_bucket[$window])))", | |
| "legendFormat": "__auto", | |
| "range": true, | |
| "refId": "A" | |
| } | |
| ], | |
| "title": "houston_http_request_duration_seconds_bucket", | |
| "type": "timeseries" | |
| } | |
| ], | |
| "refresh": "", | |
| "revision": 1, | |
| "schemaVersion": 38, | |
| "style": "dark", | |
| "tags": [ | |
| "nodejs" | |
| ], | |
| "templating": { | |
| "list": [ | |
| { | |
| "current": { | |
| "selected": false, | |
| "text": "All", | |
| "value": "$__all" | |
| }, | |
| "datasource": { | |
| "type": "prometheus", | |
| "uid": "PBFA97CFB590B2093" | |
| }, | |
| "definition": "label_values(houston_nodejs_version_info, instance)", | |
| "hide": 0, | |
| "includeAll": true, | |
| "label": "instance", | |
| "multi": true, | |
| "name": "instance", | |
| "options": [], | |
| "query": { | |
| "query": "label_values(houston_nodejs_version_info, instance)", | |
| "refId": "StandardVariableQuery" | |
| }, | |
| "refresh": 1, | |
| "regex": "", | |
| "skipUrlSync": false, | |
| "sort": 1, | |
| "tagValuesQuery": "", | |
| "tagsQuery": "", | |
| "type": "query", | |
| "useTags": false | |
| }, | |
| { | |
| "current": { | |
| "selected": false, | |
| "text": "houston-api", | |
| "value": "houston-api" | |
| }, | |
| "datasource": { | |
| "type": "prometheus", | |
| "uid": "PBFA97CFB590B2093" | |
| }, | |
| "definition": "label_values(houston_nodejs_eventloop_lag_seconds, job)", | |
| "description": "", | |
| "hide": 0, | |
| "includeAll": false, | |
| "label": "Job", | |
| "multi": false, | |
| "name": "job", | |
| "options": [], | |
| "query": { | |
| "query": "label_values(houston_nodejs_eventloop_lag_seconds, job)", | |
| "refId": "StandardVariableQuery" | |
| }, | |
| "refresh": 1, | |
| "regex": "", | |
| "skipUrlSync": false, | |
| "sort": 0, | |
| "type": "query" | |
| }, | |
| { | |
| "current": { | |
| "selected": true, | |
| "text": "10m", | |
| "value": "10m" | |
| }, | |
| "description": "The time window to average values over", | |
| "hide": 0, | |
| "includeAll": false, | |
| "label": "Window", | |
| "multi": false, | |
| "name": "window", | |
| "options": [ | |
| { | |
| "selected": false, | |
| "text": "1m", | |
| "value": "1m" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "2m", | |
| "value": "2m" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "3m", | |
| "value": "3m" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "4m", | |
| "value": "4m" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "5m", | |
| "value": "5m" | |
| }, | |
| { | |
| "selected": true, | |
| "text": "10m", | |
| "value": "10m" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "15m", | |
| "value": "15m" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "30m", | |
| "value": "30m" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "60m", | |
| "value": "60m" | |
| } | |
| ], | |
| "query": "1m,2m,3m,4m,5m,10m,15m,30m,60m", | |
| "queryValue": "", | |
| "skipUrlSync": false, | |
| "type": "custom" | |
| }, | |
| { | |
| "current": { | |
| "selected": true, | |
| "text": "Prometheus", | |
| "value": "Prometheus" | |
| }, | |
| "hide": 0, | |
| "includeAll": false, | |
| "label": "Datasource", | |
| "multi": false, | |
| "name": "datasource", | |
| "options": [], | |
| "query": "prometheus", | |
| "queryValue": "", | |
| "refresh": 1, | |
| "regex": "", | |
| "skipUrlSync": false, | |
| "type": "datasource" | |
| }, | |
| { | |
| "auto": false, | |
| "auto_count": 30, | |
| "auto_min": "10s", | |
| "current": { | |
| "selected": false, | |
| "text": "1m", | |
| "value": "1m" | |
| }, | |
| "hide": 0, | |
| "label": "Interval", | |
| "name": "interval", | |
| "options": [ | |
| { | |
| "selected": true, | |
| "text": "1m", | |
| "value": "1m" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "10m", | |
| "value": "10m" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "30m", | |
| "value": "30m" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "1h", | |
| "value": "1h" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "6h", | |
| "value": "6h" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "12h", | |
| "value": "12h" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "1d", | |
| "value": "1d" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "7d", | |
| "value": "7d" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "14d", | |
| "value": "14d" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "30d", | |
| "value": "30d" | |
| } | |
| ], | |
| "query": "1m,10m,30m,1h,6h,12h,1d,7d,14d,30d", | |
| "refresh": 2, | |
| "skipUrlSync": false, | |
| "type": "interval" | |
| } | |
| ] | |
| }, | |
| "time": { | |
| "from": "now-1h", | |
| "to": "now" | |
| }, | |
| "timepicker": { | |
| "refresh_intervals": [ | |
| "30s", | |
| "1m", | |
| "5m", | |
| "15m", | |
| "30m", | |
| "1h", | |
| "2h", | |
| "1d" | |
| ], | |
| "time_options": [ | |
| "5m", | |
| "15m", | |
| "1h", | |
| "6h", | |
| "12h", | |
| "24h", | |
| "2d", | |
| "7d", | |
| "30d" | |
| ] | |
| }, | |
| "timezone": "", | |
| "title": "Astrononer Houston Dashboard", | |
| "uid": "PTSqcpJW", | |
| "version": 31, | |
| "weekStart": "" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment