{ "annotations": { "list": [ { "builtIn": 1, "datasource": { "type": "grafana", "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" } ] }, "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, "id": 34, "links": [], "liveNow": false, "panels": [ { "datasource": { "type": "prometheus", "uid": "RvWcMg1nk" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "#EAB839", "value": 5 }, { "color": "red", "value": 10 } ] }, "unit": "currencyRUB" }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 0 }, "id": 4, "interval": "10m", "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "9.1.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "RvWcMg1nk" }, "editorMode": "code", "exemplar": false, "expr": "last_over_time(exchange_usd_rub{source=\"Central Bank Of Russia\"}[1h])", "format": "time_series", "hide": false, "instant": true, "legendFormat": "CBRF", "range": false, "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "RvWcMg1nk" }, "editorMode": "code", "exemplar": false, "expr": "last_over_time(exchange_usd_rub{source=\"AliExpress\"}[1h])", "format": "time_series", "hide": false, "instant": true, "interval": "", "legendFormat": "Ali", "range": false, "refId": "A" } ], "title": "Разница", "transformations": [ { "id": "calculateField", "options": { "mode": "reduceRow", "reduce": { "reducer": "diff" }, "replaceFields": true } } ], "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "RvWcMg1nk" }, "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", "lineStyle": { "fill": "solid" }, "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "decimals": 2, "mappings": [], "max": 100, "min": 40, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "currencyRUB" }, "overrides": [] }, "gridPos": { "h": 9, "w": 12, "x": 0, "y": 8 }, "id": 2, "interval": "10m", "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "RvWcMg1nk" }, "editorMode": "code", "expr": "exchange_usd_rub{}", "legendFormat": "{{source}}", "range": true, "refId": "A" } ], "timeFrom": "24h", "title": "Курс доллара", "type": "timeseries" } ], "refresh": "5s", "schemaVersion": 37, "style": "dark", "tags": [], "templating": { "list": [] }, "time": { "from": "now-30m", "to": "now" }, "timepicker": { "hidden": false }, "timezone": "", "title": "Курс AliExpress", "uid": "ghA0PTGVk", "version": 12, "weekStart": "" }