diff --git a/.travis.yml b/.travis.yml index 26b5c81d..3cb3db6c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,6 +10,7 @@ before_script: branches: only: - master + - dev env: global: - "PATH=$HOME/.local/bin:$PATH" diff --git a/source/tmpl/grafana.json b/source/tmpl/grafana.json index 5e4199db..30e731d1 100644 --- a/source/tmpl/grafana.json +++ b/source/tmpl/grafana.json @@ -15,125 +15,321 @@ "editable": true, "gnetId": null, "graphTooltip": 0, - "id": 16, - "iteration": 1542323708843, + "id": 23, + "iteration": 1586880634519, "links": [], "panels": [ { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": true, - "colors": [ - "#890f02", - "rgba(237, 129, 40, 0.89)", - "rgb(72, 198, 35)" - ], "datasource": null, - "format": "locale", - "gauge": { - "maxValue": 1, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, "gridPos": { - "h": 2, - "w": 5, + "h": 4, + "w": 4, "x": 0, "y": 0 }, - "id": 6, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 + "id": 4, + "options": { + "colorMode": "value", + "fieldOptions": { + "calcs": [ + "lastNotNull" + ], + "defaults": { + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "locale" + }, + "overrides": [], + "values": false }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": false + "graphMode": "area", + "justifyMode": "center", + "orientation": "horizontal" }, - "tableColumn": "", + "pluginVersion": "6.7.2", "targets": [ { - "expr": "statup_service_online{name=\"${service}\"}", + "expr": "statping_total_failures{instance=\"$instance\"}", "format": "time_series", - "intervalFactor": 1, + "instant": false, + "interval": "", + "intervalFactor": 10, + "legendFormat": "Failures", "refId": "A" } ], - "thresholds": "0,1", - "title": "", + "timeFrom": null, + "timeShift": null, + "title": "Service Failures", "transparent": true, - "type": "singlestat", - "valueFontSize": "120%", - "valueMaps": [ - { - "op": "=", - "text": "ONLINE", - "value": "1" + "type": "stat" + }, + { + "cacheTimeout": null, + "datasource": null, + "gridPos": { + "h": 4, + "w": 20, + "x": 4, + "y": 0 + }, + "id": 17, + "links": [], + "options": { + "colorMode": "background", + "fieldOptions": { + "calcs": [ + "lastNotNull" + ], + "defaults": { + "mappings": [ + { + "id": 0, + "op": "=", + "text": "N/A", + "type": 1, + "value": "null" + } + ], + "nullValueMode": "connected", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "rgb(255, 244, 0)", + "value": 5 + }, + { + "color": "dark-orange", + "value": 30 + }, + { + "color": "red", + "value": 95 + } + ] + }, + "unit": "short" + }, + "overrides": [], + "values": false }, + "graphMode": "area", + "justifyMode": "center", + "orientation": "vertical" + }, + "pluginVersion": "6.7.2", + "targets": [ { - "op": "=", - "text": "OFFLINE", - "value": "0" + "aggregation": "Last", + "decimals": 2, + "displayAliasType": "Warning / Critical", + "displayType": "Regular", + "displayValueWithAlias": "Never", + "expr": "statping_service_failures{instance=\"$instance\"}", + "format": "time_series", + "instant": false, + "interval": "", + "intervalFactor": 4, + "legendFormat": "{{name}}", + "refId": "A", + "units": "none", + "valueHandler": "Number Threshold" } ], - "valueName": "current" + "timeFrom": null, + "timeShift": null, + "title": "", + "transparent": true, + "type": "stat" + }, + { + "cacheTimeout": null, + "datasource": null, + "gridPos": { + "h": 4, + "w": 4, + "x": 0, + "y": 4 + }, + "id": 6, + "links": [], + "options": { + "colorMode": "value", + "fieldOptions": { + "calcs": [ + "last" + ], + "defaults": { + "mappings": [ + { + "id": 0, + "op": "=", + "text": "N/A", + "type": 1, + "value": "null" + } + ], + "nullValueMode": "connected", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "dark-red", + "value": null + }, + { + "color": "dark-green", + "value": 45 + }, + { + "color": "#EAB839", + "value": 65 + } + ] + }, + "unit": "dtdurations" + }, + "overrides": [], + "values": false + }, + "graphMode": "area", + "justifyMode": "center", + "orientation": "horizontal" + }, + "pluginVersion": "6.7.2", + "targets": [ + { + "expr": "statping_seconds_online{instance=\"$instance\"}", + "format": "time_series", + "instant": false, + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Time Online", + "type": "stat" + }, + { + "datasource": null, + "gridPos": { + "h": 5, + "w": 20, + "x": 4, + "y": 4 + }, + "id": 8, + "options": { + "fieldOptions": { + "calcs": [ + "lastNotNull" + ], + "defaults": { + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "semi-dark-orange", + "value": 200000 + }, + { + "color": "#EAB839", + "value": 400000 + }, + { + "color": "semi-dark-red", + "value": 600000 + } + ] + }, + "unit": "µs" + }, + "overrides": [], + "values": false + }, + "orientation": "horizontal", + "showThresholdLabels": false, + "showThresholdMarkers": true + }, + "pluginVersion": "6.7.2", + "repeat": null, + "repeatDirection": "h", + "targets": [ + { + "expr": "statping_service_latency{instance=\"$instance\"}", + "format": "time_series", + "interval": "", + "intervalFactor": 1, + "legendFormat": "{{name}}", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Service Latency", + "transparent": true, + "type": "gauge" }, { "aliasColors": {}, - "bars": false, + "bars": true, + "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 1, + "fillGradient": 0, "gridPos": { - "h": 8, - "w": 19, - "x": 5, - "y": 0 + "h": 4, + "w": 4, + "x": 0, + "y": 8 }, - "id": 2, + "hiddenSeries": false, + "id": 9, "legend": { + "alignAsTable": false, "avg": false, - "current": false, + "current": true, + "hideEmpty": false, "max": false, "min": false, - "show": false, + "show": true, "total": false, - "values": false + "values": true }, - "lines": true, + "lines": false, "linewidth": 1, "links": [], "nullPointMode": "null", + "options": { + "dataLinks": [] + }, "percentage": false, - "pointradius": 5, + "pluginVersion": "6.7.2", + "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], @@ -142,20 +338,116 @@ "steppedLine": false, "targets": [ { - "expr": "statup_service_latency{name=\"${service}\"}", + "expr": "statping_go_heap_allocated{instance=\"$instance\"}", "format": "time_series", - "intervalFactor": 1, + "instant": false, + "interval": "", + "intervalFactor": 10, + "legendFormat": " ", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Heap Allocated", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "transparent": true, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": false, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + }, + { + "format": "decbytes", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": null, + "fill": 6, + "fillGradient": 0, + "gridPos": { + "h": 11, + "w": 20, + "x": 4, + "y": 9 + }, + "hiddenSeries": false, + "id": 20, + "legend": { + "avg": false, + "current": true, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "maxPerRow": 2, + "nullPointMode": "null", + "options": { + "dataLinks": [] + }, + "percentage": false, + "pointradius": 2, + "points": false, + "renderer": "flot", + "repeatDirection": "h", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "statping_service_latency{instance=\"$instance\"}", + "format": "time_series", + "interval": "", "legendFormat": "{{name}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, + "timeRegions": [], "timeShift": null, - "title": "${service} Latency", + "title": "Service Latency", "tooltip": { "shared": true, - "sort": 0, + "sort": 2, "value_type": "individual" }, "type": "graph", @@ -167,13 +459,109 @@ "values": [] }, "yaxes": [ + { + "format": "µs", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, { "format": "ms", "label": null, "logBase": 1, "max": null, "min": null, - "show": true + "show": false + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": { + " ": "dark-blue" + }, + "bars": true, + "cacheTimeout": null, + "dashLength": 10, + "dashes": false, + "datasource": null, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 4, + "w": 4, + "x": 0, + "y": 12 + }, + "hiddenSeries": false, + "id": 21, + "legend": { + "avg": false, + "current": true, + "max": false, + "min": false, + "show": true, + "total": false, + "values": true + }, + "lines": false, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "options": { + "dataLinks": [] + }, + "percentage": false, + "pluginVersion": "6.7.2", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "statping_go_heap_in_use{instance=\"$instance\"}", + "instant": false, + "interval": "", + "intervalFactor": 10, + "legendFormat": " ", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Heap In-Use", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "transparent": true, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": false, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false }, { "format": "short", @@ -181,7 +569,7 @@ "logBase": 1, "max": null, "min": null, - "show": true + "show": false } ], "yaxis": { @@ -191,100 +579,350 @@ }, { "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "#299c46", - "rgba(237, 129, 40, 0.89)", - "#890f02" - ], "datasource": null, - "decimals": 0, - "format": "ms", - "gauge": { - "maxValue": 500, - "minValue": 1, - "show": true, - "thresholdLabels": true, - "thresholdMarkers": true - }, "gridPos": { - "h": 7, - "w": 5, + "h": 3, + "w": 4, "x": 0, - "y": 2 + "y": 16 }, - "id": 7, - "interval": null, + "id": 23, "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 + "options": { + "colorMode": "value", + "fieldOptions": { + "calcs": [ + "lastNotNull" + ], + "defaults": { + "decimals": 1, + "mappings": [], + "nullValueMode": "connected", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "semi-dark-blue", + "value": 13000000 + } + ] + }, + "unit": "decbytes" + }, + "overrides": [], + "values": false }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": false + "graphMode": "area", + "justifyMode": "auto", + "orientation": "horizontal" }, - "tableColumn": "", + "pluginVersion": "6.7.2", "targets": [ { - "expr": "statup_service_latency{name=\"${service}\"}", - "format": "time_series", + "expr": "statping_go_heap_frees{instance=\"$instance\"}", + "instant": false, + "interval": "", "intervalFactor": 1, + "legendFormat": "", "refId": "A" } ], - "thresholds": "250,400", - "title": "", - "transparent": true, - "type": "singlestat", - "valueFontSize": "50%", - "valueMaps": [ + "timeFrom": null, + "timeShift": null, + "title": "Heap Freed", + "type": "stat" + }, + { + "cacheTimeout": null, + "datasource": null, + "gridPos": { + "h": 3, + "w": 4, + "x": 0, + "y": 19 + }, + "id": 22, + "links": [], + "options": { + "colorMode": "value", + "fieldOptions": { + "calcs": [ + "lastNotNull" + ], + "defaults": { + "decimals": 1, + "mappings": [], + "nullValueMode": "connected", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 13000000 + } + ] + }, + "unit": "short" + }, + "overrides": [], + "values": false + }, + "graphMode": "area", + "justifyMode": "auto", + "orientation": "horizontal" + }, + "pluginVersion": "6.7.2", + "targets": [ { - "op": "=", - "text": "N/A", - "value": "null" + "expr": "statping_go_heap_objects{instance=\"$instance\"}", + "instant": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "", + "refId": "A" } ], - "valueName": "current" + "timeFrom": null, + "timeShift": null, + "title": "Objects", + "type": "stat" + }, + { + "cacheTimeout": null, + "datasource": null, + "gridPos": { + "h": 4, + "w": 4, + "x": 0, + "y": 22 + }, + "id": 12, + "links": [], + "options": { + "colorMode": "value", + "fieldOptions": { + "calcs": [ + "lastNotNull" + ], + "defaults": { + "decimals": 0, + "mappings": [ + { + "id": 0, + "op": "=", + "text": "N/A", + "type": 1, + "value": "null" + } + ], + "nullValueMode": "connected", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "rgb(156, 156, 156)", + "value": null + } + ] + }, + "title": "", + "unit": "decbytes" + }, + "overrides": [], + "values": false + }, + "graphMode": "area", + "justifyMode": "center", + "orientation": "horizontal" + }, + "pluginVersion": "6.7.2", + "targets": [ + { + "expr": "statping_go_system{instance=\"$instance\"}", + "format": "time_series", + "instant": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Golang System", + "transparent": true, + "type": "stat" + }, + { + "content": "# Statping\n\n\n\n", + "datasource": null, + "gridPos": { + "h": 2, + "w": 4, + "x": 0, + "y": 26 + }, + "id": 19, + "mode": "markdown", + "timeFrom": null, + "timeShift": null, + "title": "", + "transparent": true, + "type": "text" + }, + { + "cacheTimeout": null, + "columns": [], + "datasource": null, + "fontSize": "100%", + "gridPos": { + "h": 10, + "w": 10, + "x": 0, + "y": 28 + }, + "id": 13, + "links": [], + "pageSize": null, + "pluginVersion": "6.7.2", + "repeat": null, + "repeatDirection": null, + "showHeader": true, + "sort": { + "col": 0, + "desc": true + }, + "styles": [ + { + "alias": "Time", + "align": "auto", + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "pattern": "Time", + "type": "date" + }, + { + "alias": "", + "align": "right", + "colorMode": null, + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "decimals": 2, + "pattern": "/.*/", + "thresholds": [], + "type": "number", + "unit": "short" + } + ], + "targets": [ + { + "expr": "statping_service_last_check{instance=\"$instance\"}", + "format": "time_series", + "interval": "", + "legendFormat": "{{name}}", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Service Failures", + "transform": "timeseries_to_rows", + "type": "table" + }, + { + "cacheTimeout": null, + "datasource": null, + "gridPos": { + "h": 5, + "w": 20, + "x": 4, + "y": 38 + }, + "id": 16, + "interval": "", + "links": [], + "options": { + "fieldOptions": { + "calcs": [ + "lastNotNull" + ], + "defaults": { + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 300 + }, + { + "color": "#EAB839", + "value": 400 + } + ] + } + }, + "overrides": [], + "values": false + }, + "orientation": "horizontal", + "showThresholdLabels": false, + "showThresholdMarkers": true + }, + "pluginVersion": "6.7.2", + "targets": [ + { + "aggregation": "Last", + "decimals": 2, + "displayAliasType": "Warning / Critical", + "displayType": "Regular", + "displayValueWithAlias": "Never", + "expr": "statping_service_status_code{instance=\"$instance\"} ", + "instant": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "{{name}}", + "refId": "A", + "units": "none", + "valueHandler": "Number Threshold" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Service Response Status Codes", + "type": "gauge" }, { "aliasColors": {}, - "bars": false, + "bars": true, + "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 1, + "fillGradient": 0, "gridPos": { "h": 8, - "w": 19, - "x": 5, - "y": 8 + "w": 12, + "x": 0, + "y": 43 }, - "id": 8, + "hiddenSeries": false, + "id": 15, "legend": { "avg": false, "current": false, @@ -294,12 +932,16 @@ "total": false, "values": false }, - "lines": true, + "lines": false, "linewidth": 1, "links": [], "nullPointMode": "null", + "options": { + "dataLinks": [] + }, "percentage": false, - "pointradius": 5, + "pluginVersion": "6.7.2", + "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], @@ -308,17 +950,19 @@ "steppedLine": false, "targets": [ { - "expr": "statup_service_response_length{name=\"${service}\"}", - "format": "time_series", + "expr": "statping_http_requests{instance=\"$instance\"}", + "instant": false, + "interval": "", "intervalFactor": 1, - "legendFormat": "{{name}}", + "legendFormat": "", "refId": "A" } ], "thresholds": [], "timeFrom": null, + "timeRegions": [], "timeShift": null, - "title": "${service} Response Size", + "title": "Incoming HTTP Requests", "tooltip": { "shared": true, "sort": 0, @@ -334,7 +978,7 @@ }, "yaxes": [ { - "format": "bytes", + "format": "short", "label": null, "logBase": 1, "max": null, @@ -357,166 +1001,159 @@ }, { "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "#299c46", - "rgba(237, 129, 40, 0.89)", - "#d44a3a" - ], "datasource": null, - "format": "locale", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, "gridPos": { - "h": 3, - "w": 5, - "x": 0, - "y": 9 + "h": 6, + "w": 3, + "x": 16, + "y": 43 }, - "id": 5, - "interval": null, + "id": 2, "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 + "options": { + "colorMode": "value", + "fieldOptions": { + "calcs": [ + "mean" + ], + "defaults": { + "mappings": [ + { + "id": 0, + "op": "=", + "text": "N/A", + "type": 1, + "value": "null" + } + ], + "nullValueMode": "connected", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [], + "values": false }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": false + "graphMode": "area", + "justifyMode": "auto", + "orientation": "horizontal" }, - "tableColumn": "", + "pluginVersion": "6.7.2", "targets": [ { - "expr": "statup_service_status_code{name=\"${service}\"}", - "format": "time_series", - "intervalFactor": 1, + "expr": "statping_go_goroutines{instance=\"$instance\"}", + "instant": false, + "intervalFactor": 2, "refId": "A" } ], - "thresholds": "", - "title": "Response Status Code", - "type": "singlestat", - "valueFontSize": "120%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "current" + "timeFrom": null, + "timeShift": null, + "title": "GO Routines", + "type": "stat" }, { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "#299c46", - "rgba(237, 129, 40, 0.89)", - "#d44a3a" - ], + "aliasColors": {}, + "bars": true, + "dashLength": 10, + "dashes": false, "datasource": null, - "format": "bytes", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, + "fill": 1, + "fillGradient": 0, "gridPos": { - "h": 3, - "w": 5, - "x": 0, - "y": 12 + "h": 7, + "w": 4, + "x": 8, + "y": 51 }, - "id": 4, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": false + "hiddenSeries": false, + "id": 11, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false }, - "tableColumn": "", + "lines": false, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "dataLinks": [] + }, + "percentage": false, + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, "targets": [ { - "expr": "statup_service_response_length{name=\"${service}\"}", - "format": "time_series", - "intervalFactor": 1, + "expr": "statping_go_heap_released{instance=\"$instance\"}", + "intervalFactor": 4, + "legendFormat": "{{job}}", "refId": "A" } ], - "thresholds": "", - "title": "Response Size", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Go Heap Released", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ { - "op": "=", - "text": "N/A", - "value": "null" + "format": "decbytes", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false } ], - "valueName": "current" + "yaxis": { + "align": false, + "alignLevel": null + } } ], - "schemaVersion": 16, + "refresh": "5s", + "schemaVersion": 22, "style": "dark", "tags": [], "templating": { @@ -524,17 +1161,19 @@ { "allValue": null, "current": { - "text": "SQLite Statping", - "value": "SQLite Statping" + "text": "vue.statping.com:443", + "value": "vue.statping.com:443" }, "datasource": "prometheus", + "definition": "label_values(instance)", "hide": 0, "includeAll": false, - "label": "service", + "index": -1, + "label": "Instance", "multi": false, - "name": "service", + "name": "instance", "options": [], - "query": "label_values(statup_service_latency, name)", + "query": "label_values(instance)", "refresh": 1, "regex": "", "skipUrlSync": false, @@ -548,7 +1187,7 @@ ] }, "time": { - "from": "now-6h", + "from": "now-30m", "to": "now" }, "timepicker": { @@ -563,21 +1202,13 @@ "1h", "2h", "1d" - ], - "time_options": [ - "5m", - "15m", - "1h", - "6h", - "12h", - "24h", - "2d", - "7d", - "30d" ] }, "timezone": "", "title": "Statping", - "uid": "6BzRjddmz", - "version": 25 -} \ No newline at end of file + "uid": "_gVlVC_Zz", + "variables": { + "list": [] + }, + "version": 43 +}