{ "annotations": { "list": [] }, "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 1, "id": null, "links": [], "panels": [ { "collapsed": false, "datasource": { "type": "prometheus", "uid": "Prometheus" }, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 0 }, "id": 1, "panels": [], "title": "Доступность компонентов", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "Prometheus" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "0": { "color": "red", "text": "DOWN" }, "1": { "color": "green", "text": "UP" } }, "type": "value" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "red", "value": null }, { "color": "green", "value": 1 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 3, "w": 4, "x": 0, "y": 1 }, "id": 2, "options": { "colorMode": "background", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "11.1.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "Prometheus" }, "expr": "vesti_web_up{component=\"vesti\"}", "legendFormat": "", "refId": "A" } ], "title": "Web :8400 (systemd)", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "Prometheus" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "0": { "color": "red", "text": "DOWN" }, "1": { "color": "green", "text": "UP" } }, "type": "value" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "red", "value": null }, { "color": "green", "value": 1 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 3, "w": 4, "x": 4, "y": 1 }, "id": 3, "options": { "colorMode": "background", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "11.1.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "Prometheus" }, "expr": "vesti_publisher_health{component=\"vesti\"}", "legendFormat": "", "refId": "A" } ], "title": "Publisher :8410 (healthz)", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "Prometheus" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "0": { "color": "red", "text": "DOWN" }, "1": { "color": "green", "text": "UP" } }, "type": "value" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "red", "value": null }, { "color": "green", "value": 1 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 3, "w": 4, "x": 8, "y": 1 }, "id": 4, "options": { "colorMode": "background", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "11.1.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "Prometheus" }, "expr": "vesti_publisher_docker{component=\"vesti\"}", "legendFormat": "", "refId": "A" } ], "title": "Publisher (Docker)", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "Prometheus" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "0": { "color": "red", "text": "DOWN" }, "1": { "color": "green", "text": "UP" } }, "type": "value" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "red", "value": null }, { "color": "green", "value": 1 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 3, "w": 4, "x": 12, "y": 1 }, "id": 5, "options": { "colorMode": "background", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "11.1.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "Prometheus" }, "expr": "vesti_telegram_tunnel{component=\"vesti\"}", "legendFormat": "", "refId": "A" } ], "title": "Telegram tunnel :1080", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "Prometheus" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "0": { "color": "red", "text": "DOWN" }, "1": { "color": "green", "text": "UP" } }, "type": "value" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "red", "value": null }, { "color": "green", "value": 1 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 3, "w": 4, "x": 16, "y": 1 }, "id": 6, "options": { "colorMode": "background", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "11.1.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "Prometheus" }, "expr": "vesti_db_ok{component=\"vesti\"}", "legendFormat": "", "refId": "A" } ], "title": "DB vesti.db", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "Prometheus" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "0": { "color": "red", "text": "DOWN" }, "1": { "color": "green", "text": "UP" } }, "type": "value" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "red", "value": null }, { "color": "green", "value": 1 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 3, "w": 4, "x": 20, "y": 1 }, "id": 7, "options": { "colorMode": "background", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "11.1.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "Prometheus" }, "expr": "vesti_web_systemd{component=\"vesti\"}", "legendFormat": "", "refId": "A" } ], "title": "Web systemd unit", "type": "stat" }, { "collapsed": false, "datasource": { "type": "prometheus", "uid": "Prometheus" }, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 7 }, "id": 8, "panels": [], "title": "Publisher — детали", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "Prometheus" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "red", "value": null }, { "color": "green", "value": 1 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 3, "w": 4, "x": 0, "y": 8 }, "id": 9, "options": { "colorMode": "background", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "11.1.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "Prometheus" }, "expr": "vesti_publisher_bot{component=\"vesti\"}", "legendFormat": "", "refId": "A" } ], "title": "Bot identity", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "Prometheus" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "red", "value": null }, { "color": "green", "value": 1 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 3, "w": 4, "x": 4, "y": 8 }, "id": 10, "options": { "colorMode": "background", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "11.1.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "Prometheus" }, "expr": "vesti_publisher_proxy{component=\"vesti\"}", "legendFormat": "", "refId": "A" } ], "title": "Proxy SOCKS5", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "Prometheus" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "red", "value": null }, { "color": "green", "value": 1 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 3, "w": 4, "x": 8, "y": 8 }, "id": 11, "options": { "colorMode": "background", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "11.1.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "Prometheus" }, "expr": "vesti_publisher_channels{component=\"vesti\"}", "legendFormat": "", "refId": "A" } ], "title": "Channels", "type": "stat" }, { "collapsed": false, "datasource": { "type": "prometheus", "uid": "Prometheus" }, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 11 }, "id": 12, "panels": [], "title": "База данных VESTI", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "Prometheus" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "red", "value": null }, { "color": "green", "value": 1 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 3, "w": 4, "x": 0, "y": 12 }, "id": 13, "options": { "colorMode": "background", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "11.1.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "Prometheus" }, "expr": "vesti_db_posts_total{component=\"vesti\"}", "legendFormat": "", "refId": "A" } ], "title": "Постов в БД", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "Prometheus" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "red", "value": null }, { "color": "green", "value": 1 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 3, "w": 4, "x": 4, "y": 12 }, "id": 14, "options": { "colorMode": "background", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "11.1.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "Prometheus" }, "expr": "vesti_db_new_total{component=\"vesti\"}", "legendFormat": "", "refId": "A" } ], "title": "Новых", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "Prometheus" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "red", "value": null }, { "color": "green", "value": 1 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 3, "w": 4, "x": 8, "y": 12 }, "id": 15, "options": { "colorMode": "background", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "11.1.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "Prometheus" }, "expr": "vesti_db_published_total{component=\"vesti\"}", "legendFormat": "", "refId": "A" } ], "title": "Опубликовано", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "Prometheus" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "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 } ] }, "unit": "s" }, "overrides": [] }, "gridPos": { "h": 4, "w": 12, "x": 12, "y": 12 }, "id": 16, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "none" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "Prometheus" }, "expr": "time() - vesti_db_last_run_ts{component=\"vesti\"}", "legendFormat": "сек назад", "refId": "A" } ], "title": "Последний рan краулера", "type": "timeseries" }, { "collapsed": false, "datasource": { "type": "prometheus", "uid": "Prometheus" }, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 16 }, "id": 17, "panels": [], "title": "История доступности (1/0)", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "Prometheus" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "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 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 8, "w": 24, "x": 0, "y": 17 }, "id": 18, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "none" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "Prometheus" }, "expr": "vesti_web_up{component=\"vesti\"}", "legendFormat": "web", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "Prometheus" }, "expr": "vesti_publisher_health{component=\"vesti\"}", "legendFormat": "publisher", "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "Prometheus" }, "expr": "vesti_publisher_docker{component=\"vesti\"}", "legendFormat": "docker", "refId": "C" }, { "datasource": { "type": "prometheus", "uid": "Prometheus" }, "expr": "vesti_telegram_tunnel{component=\"vesti\"}", "legendFormat": "tunnel", "refId": "D" }, { "datasource": { "type": "prometheus", "uid": "Prometheus" }, "expr": "vesti_db_ok{component=\"vesti\"}", "legendFormat": "db", "refId": "E" }, { "datasource": { "type": "prometheus", "uid": "Prometheus" }, "expr": "vesti_web_systemd{component=\"vesti\"}", "legendFormat": "web_sys", "refId": "F" } ], "title": "Доступность компонентов", "type": "timeseries" } ], "refresh": "15s", "schemaVersion": 1, "tags": [ "vesti", "bigbox" ], "time": { "from": "now-6h", "to": "now" }, "timepicker": [ { "refresh": "15s" } ], "title": "VESTI", "uid": "vesti", "version": 1 }