|
|
@@ -1,907 +1,813 @@
|
|
|
{
|
|
|
- "annotations": {
|
|
|
- "list": [
|
|
|
- {
|
|
|
- "builtIn": 1,
|
|
|
- "datasource": {
|
|
|
- "type": "grafana",
|
|
|
- "uid": "-- Grafana --"
|
|
|
- },
|
|
|
- "enable": true,
|
|
|
- "hide": true,
|
|
|
- "iconColor": "rgba(0, 211, 255, 1)",
|
|
|
- "name": "Annotations & Alerts",
|
|
|
- "type": "dashboard"
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- "editable": true,
|
|
|
- "fiscalYearStartMonth": 0,
|
|
|
- "graphTooltip": 0,
|
|
|
- "id": 1,
|
|
|
- "links": [],
|
|
|
- "panels": [
|
|
|
+ "annotations": {
|
|
|
+ "list": [
|
|
|
{
|
|
|
+ "builtIn": 1,
|
|
|
"datasource": {
|
|
|
- "type": "prometheus",
|
|
|
- "uid": "prometheus"
|
|
|
- },
|
|
|
- "fieldConfig": {
|
|
|
- "defaults": {
|
|
|
- "color": {
|
|
|
- "mode": "thresholds"
|
|
|
- },
|
|
|
- "mappings": [],
|
|
|
- "thresholds": {
|
|
|
- "mode": "absolute",
|
|
|
- "steps": [
|
|
|
- {
|
|
|
- "color": "green",
|
|
|
- "value": null
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- "unit": "none"
|
|
|
+ "type": "grafana",
|
|
|
+ "uid": "-- Grafana --"
|
|
|
+ },
|
|
|
+ "enable": true,
|
|
|
+ "hide": true,
|
|
|
+ "iconColor": "rgba(0, 211, 255, 1)",
|
|
|
+ "name": "Annotations & Alerts",
|
|
|
+ "type": "dashboard"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "editable": true,
|
|
|
+ "fiscalYearStartMonth": 0,
|
|
|
+ "graphTooltip": 0,
|
|
|
+ "id": 1,
|
|
|
+ "links": [],
|
|
|
+ "panels": [
|
|
|
+ {
|
|
|
+ "datasource": {
|
|
|
+ "type": "prometheus",
|
|
|
+ "uid": "prometheus"
|
|
|
+ },
|
|
|
+ "fieldConfig": {
|
|
|
+ "defaults": {
|
|
|
+ "color": {
|
|
|
+ "mode": "thresholds"
|
|
|
},
|
|
|
- "overrides": []
|
|
|
- },
|
|
|
- "gridPos": {
|
|
|
- "h": 8,
|
|
|
- "w": 6,
|
|
|
- "x": 0,
|
|
|
- "y": 0
|
|
|
- },
|
|
|
- "id": 9,
|
|
|
- "options": {
|
|
|
- "colorMode": "value",
|
|
|
- "graphMode": "none",
|
|
|
- "justifyMode": "auto",
|
|
|
- "orientation": "auto",
|
|
|
- "percentChangeColorMode": "standard",
|
|
|
- "reduceOptions": {
|
|
|
- "calcs": [
|
|
|
- "lastNotNull"
|
|
|
- ],
|
|
|
- "fields": "",
|
|
|
- "values": false
|
|
|
+ "mappings": [],
|
|
|
+ "thresholds": {
|
|
|
+ "mode": "absolute",
|
|
|
+ "steps": [
|
|
|
+ {
|
|
|
+ "color": "green",
|
|
|
+ "value": null
|
|
|
+ }
|
|
|
+ ]
|
|
|
},
|
|
|
- "showPercentChange": false,
|
|
|
- "textMode": "value",
|
|
|
- "wideLayout": true
|
|
|
+ "unit": "none"
|
|
|
},
|
|
|
- "pluginVersion": "11.5.2",
|
|
|
- "targets": [
|
|
|
- {
|
|
|
- "datasource": {
|
|
|
- "type": "prometheus",
|
|
|
- "uid": "prometheus"
|
|
|
- },
|
|
|
- "editorMode": "code",
|
|
|
- "expr": "pyth_price_feeds_total",
|
|
|
- "instant": true,
|
|
|
- "range": false,
|
|
|
- "refId": "A"
|
|
|
- }
|
|
|
- ],
|
|
|
- "title": "Configured Price Feeds",
|
|
|
- "type": "stat"
|
|
|
+ "overrides": []
|
|
|
},
|
|
|
- {
|
|
|
- "datasource": {
|
|
|
- "type": "prometheus",
|
|
|
- "uid": "prometheus"
|
|
|
- },
|
|
|
- "fieldConfig": {
|
|
|
- "defaults": {
|
|
|
- "color": {
|
|
|
- "mode": "thresholds"
|
|
|
- },
|
|
|
- "mappings": [],
|
|
|
- "thresholds": {
|
|
|
- "mode": "absolute",
|
|
|
- "steps": [
|
|
|
- {
|
|
|
- "color": "green",
|
|
|
- "value": null
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- "unit": "none"
|
|
|
- },
|
|
|
- "overrides": []
|
|
|
- },
|
|
|
- "gridPos": {
|
|
|
- "h": 8,
|
|
|
- "w": 6,
|
|
|
- "x": 6,
|
|
|
- "y": 0
|
|
|
- },
|
|
|
- "id": 12,
|
|
|
- "options": {
|
|
|
- "colorMode": "value",
|
|
|
- "graphMode": "none",
|
|
|
- "justifyMode": "auto",
|
|
|
- "orientation": "auto",
|
|
|
- "percentChangeColorMode": "standard",
|
|
|
- "reduceOptions": {
|
|
|
- "calcs": [
|
|
|
- "lastNotNull"
|
|
|
- ],
|
|
|
- "fields": "",
|
|
|
- "values": false
|
|
|
+ "gridPos": {
|
|
|
+ "h": 8,
|
|
|
+ "w": 6,
|
|
|
+ "x": 0,
|
|
|
+ "y": 0
|
|
|
+ },
|
|
|
+ "id": 9,
|
|
|
+ "options": {
|
|
|
+ "colorMode": "value",
|
|
|
+ "graphMode": "none",
|
|
|
+ "justifyMode": "auto",
|
|
|
+ "orientation": "auto",
|
|
|
+ "percentChangeColorMode": "standard",
|
|
|
+ "reduceOptions": {
|
|
|
+ "calcs": [
|
|
|
+ "lastNotNull"
|
|
|
+ ],
|
|
|
+ "fields": "",
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "showPercentChange": false,
|
|
|
+ "textMode": "value",
|
|
|
+ "wideLayout": true
|
|
|
+ },
|
|
|
+ "pluginVersion": "11.5.2",
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "datasource": {
|
|
|
+ "type": "prometheus",
|
|
|
+ "uid": "prometheus"
|
|
|
},
|
|
|
- "showPercentChange": false,
|
|
|
- "textMode": "value",
|
|
|
- "wideLayout": true
|
|
|
- },
|
|
|
- "pluginVersion": "11.5.2",
|
|
|
- "targets": [
|
|
|
- {
|
|
|
- "datasource": {
|
|
|
- "type": "prometheus",
|
|
|
- "uid": "prometheus"
|
|
|
- },
|
|
|
- "editorMode": "code",
|
|
|
- "expr": "count(pyth_price_last_published_time)",
|
|
|
- "instant": true,
|
|
|
- "range": false,
|
|
|
- "refId": "A"
|
|
|
- }
|
|
|
- ],
|
|
|
- "title": "Active Price Feeds",
|
|
|
- "type": "stat"
|
|
|
+ "editorMode": "code",
|
|
|
+ "expr": "pyth_price_feeds_total",
|
|
|
+ "instant": true,
|
|
|
+ "range": false,
|
|
|
+ "refId": "A"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "title": "Configured Price Feeds",
|
|
|
+ "type": "stat"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datasource": {
|
|
|
+ "type": "prometheus",
|
|
|
+ "uid": "prometheus"
|
|
|
},
|
|
|
- {
|
|
|
- "datasource": {
|
|
|
- "type": "prometheus",
|
|
|
- "uid": "prometheus"
|
|
|
- },
|
|
|
- "fieldConfig": {
|
|
|
- "defaults": {
|
|
|
- "color": {
|
|
|
- "mode": "thresholds"
|
|
|
- },
|
|
|
- "mappings": [],
|
|
|
- "thresholds": {
|
|
|
- "mode": "absolute",
|
|
|
- "steps": [
|
|
|
- {
|
|
|
- "color": "green",
|
|
|
- "value": null
|
|
|
- },
|
|
|
- {
|
|
|
- "color": "red",
|
|
|
- "value": 3600
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- "unit": "s"
|
|
|
+ "fieldConfig": {
|
|
|
+ "defaults": {
|
|
|
+ "color": {
|
|
|
+ "mode": "thresholds"
|
|
|
},
|
|
|
- "overrides": []
|
|
|
- },
|
|
|
- "gridPos": {
|
|
|
- "h": 8,
|
|
|
- "w": 12,
|
|
|
- "x": 12,
|
|
|
- "y": 0
|
|
|
- },
|
|
|
- "id": 2,
|
|
|
- "options": {
|
|
|
- "colorMode": "value",
|
|
|
- "graphMode": "area",
|
|
|
- "justifyMode": "auto",
|
|
|
- "orientation": "auto",
|
|
|
- "percentChangeColorMode": "standard",
|
|
|
- "reduceOptions": {
|
|
|
- "calcs": [
|
|
|
- "lastNotNull"
|
|
|
- ],
|
|
|
- "fields": "",
|
|
|
- "values": false
|
|
|
+ "mappings": [],
|
|
|
+ "thresholds": {
|
|
|
+ "mode": "absolute",
|
|
|
+ "steps": [
|
|
|
+ {
|
|
|
+ "color": "green",
|
|
|
+ "value": null
|
|
|
+ }
|
|
|
+ ]
|
|
|
},
|
|
|
- "showPercentChange": false,
|
|
|
- "textMode": "auto",
|
|
|
- "wideLayout": true
|
|
|
+ "unit": "none"
|
|
|
},
|
|
|
- "pluginVersion": "11.5.2",
|
|
|
- "targets": [
|
|
|
- {
|
|
|
- "datasource": {
|
|
|
- "type": "prometheus",
|
|
|
- "uid": "prometheus"
|
|
|
- },
|
|
|
- "editorMode": "code",
|
|
|
- "expr": "time() - pyth_price_last_published_time",
|
|
|
- "instant": true,
|
|
|
- "legendFormat": "{{alias}}",
|
|
|
- "range": false,
|
|
|
- "refId": "A"
|
|
|
- }
|
|
|
- ],
|
|
|
- "title": "Time Since Last Update (Stat)",
|
|
|
- "type": "stat"
|
|
|
+ "overrides": []
|
|
|
},
|
|
|
- {
|
|
|
- "datasource": {
|
|
|
- "type": "prometheus",
|
|
|
- "uid": "prometheus"
|
|
|
- },
|
|
|
- "fieldConfig": {
|
|
|
- "defaults": {
|
|
|
- "color": {
|
|
|
- "mode": "thresholds"
|
|
|
- },
|
|
|
- "custom": {
|
|
|
- "align": "auto",
|
|
|
- "cellOptions": {
|
|
|
- "type": "auto"
|
|
|
- },
|
|
|
- "inspect": false
|
|
|
- },
|
|
|
- "mappings": [],
|
|
|
- "thresholds": {
|
|
|
- "mode": "absolute",
|
|
|
- "steps": [
|
|
|
- {
|
|
|
- "color": "green",
|
|
|
- "value": null
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
+ "gridPos": {
|
|
|
+ "h": 8,
|
|
|
+ "w": 6,
|
|
|
+ "x": 6,
|
|
|
+ "y": 0
|
|
|
+ },
|
|
|
+ "id": 12,
|
|
|
+ "options": {
|
|
|
+ "colorMode": "value",
|
|
|
+ "graphMode": "none",
|
|
|
+ "justifyMode": "auto",
|
|
|
+ "orientation": "auto",
|
|
|
+ "percentChangeColorMode": "standard",
|
|
|
+ "reduceOptions": {
|
|
|
+ "calcs": [
|
|
|
+ "lastNotNull"
|
|
|
+ ],
|
|
|
+ "fields": "",
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "showPercentChange": false,
|
|
|
+ "textMode": "value",
|
|
|
+ "wideLayout": true
|
|
|
+ },
|
|
|
+ "pluginVersion": "11.5.2",
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "datasource": {
|
|
|
+ "type": "prometheus",
|
|
|
+ "uid": "prometheus"
|
|
|
},
|
|
|
- "overrides": [
|
|
|
- {
|
|
|
- "matcher": {
|
|
|
- "id": "byName",
|
|
|
- "options": "Time Since Update"
|
|
|
- },
|
|
|
- "properties": [
|
|
|
- {
|
|
|
- "id": "unit",
|
|
|
- "value": "s"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": "thresholds",
|
|
|
- "value": {
|
|
|
- "mode": "absolute",
|
|
|
- "steps": [
|
|
|
- {
|
|
|
- "color": "green",
|
|
|
- "value": null
|
|
|
- },
|
|
|
- {
|
|
|
- "color": "yellow",
|
|
|
- "value": 600
|
|
|
- },
|
|
|
- {
|
|
|
- "color": "red",
|
|
|
- "value": 3600
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "matcher": {
|
|
|
- "id": "byName",
|
|
|
- "options": "Total Updates"
|
|
|
+ "editorMode": "code",
|
|
|
+ "expr": "count(pyth_price_last_published_time)",
|
|
|
+ "instant": true,
|
|
|
+ "range": false,
|
|
|
+ "refId": "A"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "title": "Active Price Feeds",
|
|
|
+ "type": "stat"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datasource": {
|
|
|
+ "type": "prometheus",
|
|
|
+ "uid": "prometheus"
|
|
|
+ },
|
|
|
+ "fieldConfig": {
|
|
|
+ "defaults": {
|
|
|
+ "color": {
|
|
|
+ "mode": "thresholds"
|
|
|
+ },
|
|
|
+ "mappings": [],
|
|
|
+ "thresholds": {
|
|
|
+ "mode": "absolute",
|
|
|
+ "steps": [
|
|
|
+ {
|
|
|
+ "color": "green",
|
|
|
+ "value": null
|
|
|
},
|
|
|
- "properties": [
|
|
|
- {
|
|
|
- "id": "unit",
|
|
|
- "value": "short"
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- "gridPos": {
|
|
|
- "h": 8,
|
|
|
- "w": 12,
|
|
|
- "x": 0,
|
|
|
- "y": 8
|
|
|
- },
|
|
|
- "id": 7,
|
|
|
- "options": {
|
|
|
- "cellHeight": "sm",
|
|
|
- "footer": {
|
|
|
- "countRows": false,
|
|
|
- "fields": "",
|
|
|
- "reducer": [
|
|
|
- "sum"
|
|
|
- ],
|
|
|
- "show": false
|
|
|
+ {
|
|
|
+ "color": "red",
|
|
|
+ "value": 3600
|
|
|
+ }
|
|
|
+ ]
|
|
|
},
|
|
|
- "showHeader": true,
|
|
|
- "sortBy": [
|
|
|
- {
|
|
|
- "desc": false,
|
|
|
- "displayName": "Price ID"
|
|
|
- }
|
|
|
- ]
|
|
|
+ "unit": "s"
|
|
|
},
|
|
|
- "pluginVersion": "11.5.2",
|
|
|
- "targets": [
|
|
|
- {
|
|
|
- "datasource": {
|
|
|
- "type": "prometheus",
|
|
|
- "uid": "prometheus"
|
|
|
- },
|
|
|
- "editorMode": "code",
|
|
|
- "expr": "pyth_price_last_published_time",
|
|
|
- "format": "table",
|
|
|
- "instant": true,
|
|
|
- "legendFormat": "__auto",
|
|
|
- "range": false,
|
|
|
- "refId": "A"
|
|
|
+ "overrides": []
|
|
|
+ },
|
|
|
+ "gridPos": {
|
|
|
+ "h": 8,
|
|
|
+ "w": 12,
|
|
|
+ "x": 12,
|
|
|
+ "y": 0
|
|
|
+ },
|
|
|
+ "id": 2,
|
|
|
+ "options": {
|
|
|
+ "colorMode": "value",
|
|
|
+ "graphMode": "area",
|
|
|
+ "justifyMode": "auto",
|
|
|
+ "orientation": "auto",
|
|
|
+ "percentChangeColorMode": "standard",
|
|
|
+ "reduceOptions": {
|
|
|
+ "calcs": [
|
|
|
+ "lastNotNull"
|
|
|
+ ],
|
|
|
+ "fields": "",
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "showPercentChange": false,
|
|
|
+ "textMode": "auto",
|
|
|
+ "wideLayout": true
|
|
|
+ },
|
|
|
+ "pluginVersion": "11.5.2",
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "datasource": {
|
|
|
+ "type": "prometheus",
|
|
|
+ "uid": "prometheus"
|
|
|
},
|
|
|
- {
|
|
|
- "datasource": {
|
|
|
- "type": "prometheus",
|
|
|
- "uid": "prometheus"
|
|
|
- },
|
|
|
- "editorMode": "code",
|
|
|
- "expr": "time() - pyth_price_last_published_time",
|
|
|
- "format": "table",
|
|
|
- "instant": true,
|
|
|
- "legendFormat": "__auto",
|
|
|
- "range": false,
|
|
|
- "refId": "B"
|
|
|
+ "editorMode": "code",
|
|
|
+ "expr": "time() - pyth_price_last_published_time",
|
|
|
+ "instant": true,
|
|
|
+ "legendFormat": "{{alias}}",
|
|
|
+ "range": false,
|
|
|
+ "refId": "A"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "title": "Time Since Last Update (Stat)",
|
|
|
+ "type": "stat"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datasource": {
|
|
|
+ "type": "prometheus",
|
|
|
+ "uid": "prometheus"
|
|
|
+ },
|
|
|
+ "fieldConfig": {
|
|
|
+ "defaults": {
|
|
|
+ "color": {
|
|
|
+ "mode": "thresholds"
|
|
|
},
|
|
|
- {
|
|
|
- "datasource": {
|
|
|
- "type": "prometheus",
|
|
|
- "uid": "prometheus"
|
|
|
+ "custom": {
|
|
|
+ "align": "auto",
|
|
|
+ "cellOptions": {
|
|
|
+ "type": "auto"
|
|
|
},
|
|
|
- "editorMode": "code",
|
|
|
- "expr": "pyth_price_updates_total",
|
|
|
- "format": "table",
|
|
|
- "instant": true,
|
|
|
- "legendFormat": "__auto",
|
|
|
- "range": false,
|
|
|
- "refId": "C"
|
|
|
- }
|
|
|
- ],
|
|
|
- "title": "Price Feeds List",
|
|
|
- "transformations": [
|
|
|
- {
|
|
|
- "id": "joinByField",
|
|
|
- "options": {
|
|
|
- "byField": "price_id",
|
|
|
- "mode": "outer"
|
|
|
- }
|
|
|
+ "inspect": false
|
|
|
},
|
|
|
- {
|
|
|
- "id": "organize",
|
|
|
- "options": {
|
|
|
- "excludeByName": {
|
|
|
- "Time": true,
|
|
|
- "Value #A": true,
|
|
|
- "__name__": true,
|
|
|
- "__name__#B": true,
|
|
|
- "__name__#C": true,
|
|
|
- "alias 2": true,
|
|
|
- "alias 3": true,
|
|
|
- "alias#B": true,
|
|
|
- "alias#C": true,
|
|
|
- "app": true,
|
|
|
- "app#B": true,
|
|
|
- "app#C": true,
|
|
|
- "instance": true,
|
|
|
- "instance#B": true,
|
|
|
- "instance#C": true,
|
|
|
- "job": true,
|
|
|
- "job#B": true,
|
|
|
- "job#C": true,
|
|
|
- "price_id": false,
|
|
|
- "price_id#B": true,
|
|
|
- "price_id#C": true
|
|
|
- },
|
|
|
- "includeByName": {},
|
|
|
- "indexByName": {
|
|
|
- "Time 1": 4,
|
|
|
- "Time 2": 10,
|
|
|
- "Time 3": 15,
|
|
|
- "Value #A": 9,
|
|
|
- "Value #B": 2,
|
|
|
- "Value #C": 3,
|
|
|
- "__name__ 1": 5,
|
|
|
- "__name__ 2": 16,
|
|
|
- "alias 1": 1,
|
|
|
- "alias 2": 11,
|
|
|
- "alias 3": 17,
|
|
|
- "app 1": 6,
|
|
|
- "app 2": 12,
|
|
|
- "app 3": 18,
|
|
|
- "instance 1": 7,
|
|
|
- "instance 2": 13,
|
|
|
- "instance 3": 19,
|
|
|
- "job 1": 8,
|
|
|
- "job 2": 14,
|
|
|
- "job 3": 20,
|
|
|
- "price_id": 0
|
|
|
- },
|
|
|
- "renameByName": {
|
|
|
- "Value #B": "Time Since Update",
|
|
|
- "Value #C": "Total Updates",
|
|
|
- "alias": "Symbol",
|
|
|
- "alias 1": "Symbol",
|
|
|
- "price_id": "Price ID"
|
|
|
+ "mappings": [],
|
|
|
+ "thresholds": {
|
|
|
+ "mode": "absolute",
|
|
|
+ "steps": [
|
|
|
+ {
|
|
|
+ "color": "green",
|
|
|
+ "value": null
|
|
|
}
|
|
|
- }
|
|
|
+ ]
|
|
|
}
|
|
|
- ],
|
|
|
- "type": "table"
|
|
|
- },
|
|
|
- {
|
|
|
- "datasource": {
|
|
|
- "type": "prometheus",
|
|
|
- "uid": "prometheus"
|
|
|
},
|
|
|
- "fieldConfig": {
|
|
|
- "defaults": {
|
|
|
- "color": {
|
|
|
- "mode": "palette-classic"
|
|
|
- },
|
|
|
- "custom": {
|
|
|
- "axisBorderShow": false,
|
|
|
- "axisCenteredZero": false,
|
|
|
- "axisColorMode": "text",
|
|
|
- "axisLabel": "",
|
|
|
- "axisPlacement": "auto",
|
|
|
- "barAlignment": 0,
|
|
|
- "barWidthFactor": 0.6,
|
|
|
- "drawStyle": "line",
|
|
|
- "fillOpacity": 0,
|
|
|
- "gradientMode": "none",
|
|
|
- "hideFrom": {
|
|
|
- "legend": false,
|
|
|
- "tooltip": false,
|
|
|
- "viz": false
|
|
|
- },
|
|
|
- "insertNulls": false,
|
|
|
- "lineInterpolation": "linear",
|
|
|
- "lineWidth": 1,
|
|
|
- "pointSize": 5,
|
|
|
- "scaleDistribution": {
|
|
|
- "type": "linear"
|
|
|
- },
|
|
|
- "showPoints": "auto",
|
|
|
- "spanNulls": false,
|
|
|
- "stacking": {
|
|
|
- "group": "A",
|
|
|
- "mode": "none"
|
|
|
+ "overrides": [
|
|
|
+ {
|
|
|
+ "matcher": {
|
|
|
+ "id": "byName",
|
|
|
+ "options": "Time Since Update"
|
|
|
+ },
|
|
|
+ "properties": [
|
|
|
+ {
|
|
|
+ "id": "unit",
|
|
|
+ "value": "s"
|
|
|
},
|
|
|
- "thresholdsStyle": {
|
|
|
- "mode": "off"
|
|
|
- }
|
|
|
- },
|
|
|
- "decimals": 0,
|
|
|
- "mappings": [],
|
|
|
- "thresholds": {
|
|
|
- "mode": "absolute",
|
|
|
- "steps": [
|
|
|
- {
|
|
|
- "color": "green",
|
|
|
- "value": null
|
|
|
+ {
|
|
|
+ "id": "thresholds",
|
|
|
+ "value": {
|
|
|
+ "mode": "absolute",
|
|
|
+ "steps": [
|
|
|
+ {
|
|
|
+ "color": "green",
|
|
|
+ "value": null
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "color": "yellow",
|
|
|
+ "value": 600
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "color": "red",
|
|
|
+ "value": 3600
|
|
|
+ }
|
|
|
+ ]
|
|
|
}
|
|
|
- ]
|
|
|
- },
|
|
|
- "unit": "none"
|
|
|
- },
|
|
|
- "overrides": []
|
|
|
- },
|
|
|
- "gridPos": {
|
|
|
- "h": 8,
|
|
|
- "w": 12,
|
|
|
- "x": 12,
|
|
|
- "y": 8
|
|
|
- },
|
|
|
- "id": 3,
|
|
|
- "options": {
|
|
|
- "legend": {
|
|
|
- "calcs": [],
|
|
|
- "displayMode": "list",
|
|
|
- "placement": "bottom",
|
|
|
- "showLegend": true
|
|
|
+ }
|
|
|
+ ]
|
|
|
},
|
|
|
- "tooltip": {
|
|
|
- "hideZeros": false,
|
|
|
- "mode": "single",
|
|
|
- "sort": "none"
|
|
|
+ {
|
|
|
+ "matcher": {
|
|
|
+ "id": "byName",
|
|
|
+ "options": "Total Updates"
|
|
|
+ },
|
|
|
+ "properties": [
|
|
|
+ {
|
|
|
+ "id": "unit",
|
|
|
+ "value": "short"
|
|
|
+ }
|
|
|
+ ]
|
|
|
}
|
|
|
- },
|
|
|
- "pluginVersion": "11.5.2",
|
|
|
- "targets": [
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "gridPos": {
|
|
|
+ "h": 8,
|
|
|
+ "w": 12,
|
|
|
+ "x": 0,
|
|
|
+ "y": 8
|
|
|
+ },
|
|
|
+ "id": 7,
|
|
|
+ "options": {
|
|
|
+ "cellHeight": "sm",
|
|
|
+ "footer": {
|
|
|
+ "countRows": false,
|
|
|
+ "fields": "",
|
|
|
+ "reducer": [
|
|
|
+ "sum"
|
|
|
+ ],
|
|
|
+ "show": false
|
|
|
+ },
|
|
|
+ "showHeader": true,
|
|
|
+ "sortBy": [
|
|
|
{
|
|
|
- "datasource": {
|
|
|
- "type": "prometheus",
|
|
|
- "uid": "prometheus"
|
|
|
- },
|
|
|
- "editorMode": "code",
|
|
|
- "expr": "sum(increase(pyth_price_updates_total[1h]))",
|
|
|
- "legendFormat": "Updates",
|
|
|
- "range": true,
|
|
|
- "refId": "A"
|
|
|
+ "desc": false,
|
|
|
+ "displayName": "Price ID"
|
|
|
}
|
|
|
- ],
|
|
|
- "title": "Price Updates (Last Hour)",
|
|
|
- "type": "timeseries"
|
|
|
+ ]
|
|
|
},
|
|
|
- {
|
|
|
- "datasource": {
|
|
|
- "type": "prometheus",
|
|
|
- "uid": "prometheus"
|
|
|
- },
|
|
|
- "fieldConfig": {
|
|
|
- "defaults": {
|
|
|
- "color": {
|
|
|
- "mode": "thresholds"
|
|
|
- },
|
|
|
- "mappings": [],
|
|
|
- "thresholds": {
|
|
|
- "mode": "absolute",
|
|
|
- "steps": [
|
|
|
- {
|
|
|
- "color": "green",
|
|
|
- "value": null
|
|
|
- },
|
|
|
- {
|
|
|
- "color": "yellow",
|
|
|
- "value": 0.1
|
|
|
- },
|
|
|
- {
|
|
|
- "color": "red",
|
|
|
- "value": 0.01
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- "unit": "locale"
|
|
|
+ "pluginVersion": "11.5.2",
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "datasource": {
|
|
|
+ "type": "prometheus",
|
|
|
+ "uid": "prometheus"
|
|
|
},
|
|
|
- "overrides": []
|
|
|
+ "editorMode": "code",
|
|
|
+ "expr": "pyth_price_last_published_time",
|
|
|
+ "format": "table",
|
|
|
+ "instant": true,
|
|
|
+ "legendFormat": "__auto",
|
|
|
+ "range": false,
|
|
|
+ "refId": "A"
|
|
|
},
|
|
|
- "gridPos": {
|
|
|
- "h": 8,
|
|
|
- "w": 12,
|
|
|
- "x": 0,
|
|
|
- "y": 16
|
|
|
+ {
|
|
|
+ "datasource": {
|
|
|
+ "type": "prometheus",
|
|
|
+ "uid": "prometheus"
|
|
|
+ },
|
|
|
+ "editorMode": "code",
|
|
|
+ "expr": "time() - pyth_price_last_published_time",
|
|
|
+ "format": "table",
|
|
|
+ "instant": true,
|
|
|
+ "legendFormat": "__auto",
|
|
|
+ "range": false,
|
|
|
+ "refId": "B"
|
|
|
},
|
|
|
- "id": 10,
|
|
|
- "options": {
|
|
|
- "colorMode": "value",
|
|
|
- "graphMode": "area",
|
|
|
- "justifyMode": "auto",
|
|
|
- "orientation": "auto",
|
|
|
- "percentChangeColorMode": "standard",
|
|
|
- "reduceOptions": {
|
|
|
- "calcs": [
|
|
|
- "lastNotNull"
|
|
|
- ],
|
|
|
- "fields": "",
|
|
|
- "values": false
|
|
|
+ {
|
|
|
+ "datasource": {
|
|
|
+ "type": "prometheus",
|
|
|
+ "uid": "prometheus"
|
|
|
},
|
|
|
- "showPercentChange": false,
|
|
|
- "textMode": "auto",
|
|
|
- "wideLayout": true
|
|
|
+ "editorMode": "code",
|
|
|
+ "expr": "pyth_price_updates_total",
|
|
|
+ "format": "table",
|
|
|
+ "instant": true,
|
|
|
+ "legendFormat": "__auto",
|
|
|
+ "range": false,
|
|
|
+ "refId": "C"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "title": "Price Feeds List",
|
|
|
+ "transformations": [
|
|
|
+ {
|
|
|
+ "id": "joinByField",
|
|
|
+ "options": {
|
|
|
+ "byField": "price_id",
|
|
|
+ "mode": "outer"
|
|
|
+ }
|
|
|
},
|
|
|
- "pluginVersion": "11.5.2",
|
|
|
- "targets": [
|
|
|
- {
|
|
|
- "datasource": {
|
|
|
- "type": "prometheus",
|
|
|
- "uid": "prometheus"
|
|
|
- },
|
|
|
- "editorMode": "code",
|
|
|
- "expr": "pyth_wallet_balance",
|
|
|
- "instant": true,
|
|
|
- "legendFormat": "{{wallet_address}}",
|
|
|
- "range": false,
|
|
|
- "refId": "A"
|
|
|
+ {
|
|
|
+ "id": "organize",
|
|
|
+ "options": {
|
|
|
+ "excludeByName": {
|
|
|
+ "Time": true,
|
|
|
+ "Value #A": true,
|
|
|
+ "__name__": true,
|
|
|
+ "__name__#B": true,
|
|
|
+ "__name__#C": true,
|
|
|
+ "alias 2": true,
|
|
|
+ "alias 3": true,
|
|
|
+ "alias#B": true,
|
|
|
+ "alias#C": true,
|
|
|
+ "app": true,
|
|
|
+ "app#B": true,
|
|
|
+ "app#C": true,
|
|
|
+ "instance": true,
|
|
|
+ "instance#B": true,
|
|
|
+ "instance#C": true,
|
|
|
+ "job": true,
|
|
|
+ "job#B": true,
|
|
|
+ "job#C": true,
|
|
|
+ "price_id": false,
|
|
|
+ "price_id#B": true,
|
|
|
+ "price_id#C": true
|
|
|
+ },
|
|
|
+ "includeByName": {},
|
|
|
+ "indexByName": {
|
|
|
+ "Time 1": 4,
|
|
|
+ "Time 2": 10,
|
|
|
+ "Time 3": 15,
|
|
|
+ "Value #A": 9,
|
|
|
+ "Value #B": 2,
|
|
|
+ "Value #C": 3,
|
|
|
+ "__name__ 1": 5,
|
|
|
+ "__name__ 2": 16,
|
|
|
+ "alias 1": 1,
|
|
|
+ "alias 2": 11,
|
|
|
+ "alias 3": 17,
|
|
|
+ "app 1": 6,
|
|
|
+ "app 2": 12,
|
|
|
+ "app 3": 18,
|
|
|
+ "instance 1": 7,
|
|
|
+ "instance 2": 13,
|
|
|
+ "instance 3": 19,
|
|
|
+ "job 1": 8,
|
|
|
+ "job 2": 14,
|
|
|
+ "job 3": 20,
|
|
|
+ "price_id": 0
|
|
|
+ },
|
|
|
+ "renameByName": {
|
|
|
+ "Value #B": "Time Since Update",
|
|
|
+ "Value #C": "Total Updates",
|
|
|
+ "alias": "Symbol",
|
|
|
+ "alias 1": "Symbol",
|
|
|
+ "price_id": "Price ID"
|
|
|
+ }
|
|
|
}
|
|
|
- ],
|
|
|
- "title": "Wallet Balance",
|
|
|
- "type": "stat"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "type": "table"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datasource": {
|
|
|
+ "type": "prometheus",
|
|
|
+ "uid": "prometheus"
|
|
|
},
|
|
|
- {
|
|
|
- "datasource": {
|
|
|
- "type": "prometheus",
|
|
|
- "uid": "prometheus"
|
|
|
- },
|
|
|
- "fieldConfig": {
|
|
|
- "defaults": {
|
|
|
- "color": {
|
|
|
- "mode": "palette-classic"
|
|
|
- },
|
|
|
- "custom": {
|
|
|
- "axisBorderShow": false,
|
|
|
- "axisCenteredZero": false,
|
|
|
- "axisColorMode": "text",
|
|
|
- "axisLabel": "",
|
|
|
- "axisPlacement": "auto",
|
|
|
- "barAlignment": 0,
|
|
|
- "barWidthFactor": 0.6,
|
|
|
- "drawStyle": "line",
|
|
|
- "fillOpacity": 0,
|
|
|
- "gradientMode": "none",
|
|
|
- "hideFrom": {
|
|
|
- "legend": false,
|
|
|
- "tooltip": false,
|
|
|
- "viz": false
|
|
|
- },
|
|
|
- "insertNulls": false,
|
|
|
- "lineInterpolation": "linear",
|
|
|
- "lineWidth": 1,
|
|
|
- "pointSize": 5,
|
|
|
- "scaleDistribution": {
|
|
|
- "type": "linear"
|
|
|
- },
|
|
|
- "showPoints": "auto",
|
|
|
- "spanNulls": false,
|
|
|
- "stacking": {
|
|
|
- "group": "A",
|
|
|
- "mode": "none"
|
|
|
- },
|
|
|
- "thresholdsStyle": {
|
|
|
- "mode": "off"
|
|
|
+ "fieldConfig": {
|
|
|
+ "defaults": {
|
|
|
+ "color": {
|
|
|
+ "mode": "palette-classic"
|
|
|
+ },
|
|
|
+ "custom": {
|
|
|
+ "axisBorderShow": false,
|
|
|
+ "axisCenteredZero": false,
|
|
|
+ "axisColorMode": "text",
|
|
|
+ "axisLabel": "",
|
|
|
+ "axisPlacement": "auto",
|
|
|
+ "barAlignment": 0,
|
|
|
+ "barWidthFactor": 0.6,
|
|
|
+ "drawStyle": "line",
|
|
|
+ "fillOpacity": 0,
|
|
|
+ "gradientMode": "none",
|
|
|
+ "hideFrom": {
|
|
|
+ "legend": false,
|
|
|
+ "tooltip": false,
|
|
|
+ "viz": false
|
|
|
+ },
|
|
|
+ "insertNulls": false,
|
|
|
+ "lineInterpolation": "linear",
|
|
|
+ "lineWidth": 1,
|
|
|
+ "pointSize": 5,
|
|
|
+ "scaleDistribution": {
|
|
|
+ "type": "linear"
|
|
|
+ },
|
|
|
+ "showPoints": "auto",
|
|
|
+ "spanNulls": false,
|
|
|
+ "stacking": {
|
|
|
+ "group": "A",
|
|
|
+ "mode": "none"
|
|
|
+ },
|
|
|
+ "thresholdsStyle": {
|
|
|
+ "mode": "off"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "decimals": 0,
|
|
|
+ "mappings": [],
|
|
|
+ "thresholds": {
|
|
|
+ "mode": "absolute",
|
|
|
+ "steps": [
|
|
|
+ {
|
|
|
+ "color": "green",
|
|
|
+ "value": null
|
|
|
}
|
|
|
- },
|
|
|
- "mappings": [],
|
|
|
- "thresholds": {
|
|
|
- "mode": "absolute",
|
|
|
- "steps": [
|
|
|
- {
|
|
|
- "color": "green",
|
|
|
- "value": null
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- "unit": "locale"
|
|
|
+ ]
|
|
|
},
|
|
|
- "overrides": []
|
|
|
- },
|
|
|
- "gridPos": {
|
|
|
- "h": 8,
|
|
|
- "w": 12,
|
|
|
- "x": 12,
|
|
|
- "y": 16
|
|
|
+ "unit": "none"
|
|
|
},
|
|
|
- "id": 11,
|
|
|
- "options": {
|
|
|
- "legend": {
|
|
|
- "calcs": [],
|
|
|
- "displayMode": "list",
|
|
|
- "placement": "bottom",
|
|
|
- "showLegend": true
|
|
|
+ "overrides": []
|
|
|
+ },
|
|
|
+ "gridPos": {
|
|
|
+ "h": 8,
|
|
|
+ "w": 12,
|
|
|
+ "x": 12,
|
|
|
+ "y": 8
|
|
|
+ },
|
|
|
+ "id": 3,
|
|
|
+ "options": {
|
|
|
+ "legend": {
|
|
|
+ "calcs": [],
|
|
|
+ "displayMode": "list",
|
|
|
+ "placement": "bottom",
|
|
|
+ "showLegend": true
|
|
|
+ },
|
|
|
+ "tooltip": {
|
|
|
+ "hideZeros": false,
|
|
|
+ "mode": "single",
|
|
|
+ "sort": "none"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "pluginVersion": "11.5.2",
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "datasource": {
|
|
|
+ "type": "prometheus",
|
|
|
+ "uid": "prometheus"
|
|
|
},
|
|
|
- "tooltip": {
|
|
|
- "hideZeros": false,
|
|
|
- "mode": "single",
|
|
|
- "sort": "none"
|
|
|
- }
|
|
|
- },
|
|
|
- "pluginVersion": "11.5.2",
|
|
|
- "targets": [
|
|
|
- {
|
|
|
- "datasource": {
|
|
|
- "type": "prometheus",
|
|
|
- "uid": "prometheus"
|
|
|
- },
|
|
|
- "editorMode": "code",
|
|
|
- "expr": "pyth_wallet_balance",
|
|
|
- "legendFormat": "{{wallet_address}} ({{network}})",
|
|
|
- "range": true,
|
|
|
- "refId": "A"
|
|
|
- }
|
|
|
- ],
|
|
|
- "title": "Wallet Balance Over Time",
|
|
|
- "type": "timeseries"
|
|
|
+ "editorMode": "code",
|
|
|
+ "expr": "sum(increase(pyth_price_updates_total[1h]))",
|
|
|
+ "legendFormat": "Updates",
|
|
|
+ "range": true,
|
|
|
+ "refId": "A"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "title": "Price Updates (Last Hour)",
|
|
|
+ "type": "timeseries"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datasource": {
|
|
|
+ "type": "prometheus",
|
|
|
+ "uid": "prometheus"
|
|
|
},
|
|
|
- {
|
|
|
- "datasource": {
|
|
|
- "type": "prometheus",
|
|
|
- "uid": "prometheus"
|
|
|
- },
|
|
|
- "fieldConfig": {
|
|
|
- "defaults": {
|
|
|
- "color": {
|
|
|
- "mode": "palette-classic"
|
|
|
- },
|
|
|
- "custom": {
|
|
|
- "axisBorderShow": false,
|
|
|
- "axisCenteredZero": false,
|
|
|
- "axisColorMode": "text",
|
|
|
- "axisLabel": "",
|
|
|
- "axisPlacement": "auto",
|
|
|
- "barAlignment": 0,
|
|
|
- "barWidthFactor": 0.6,
|
|
|
- "drawStyle": "line",
|
|
|
- "fillOpacity": 0,
|
|
|
- "gradientMode": "none",
|
|
|
- "hideFrom": {
|
|
|
- "legend": false,
|
|
|
- "tooltip": false,
|
|
|
- "viz": false
|
|
|
- },
|
|
|
- "insertNulls": false,
|
|
|
- "lineInterpolation": "linear",
|
|
|
- "lineWidth": 1,
|
|
|
- "pointSize": 5,
|
|
|
- "scaleDistribution": {
|
|
|
- "type": "linear"
|
|
|
+ "fieldConfig": {
|
|
|
+ "defaults": {
|
|
|
+ "color": {
|
|
|
+ "mode": "thresholds"
|
|
|
+ },
|
|
|
+ "mappings": [],
|
|
|
+ "thresholds": {
|
|
|
+ "mode": "absolute",
|
|
|
+ "steps": [
|
|
|
+ {
|
|
|
+ "color": "green",
|
|
|
+ "value": null
|
|
|
},
|
|
|
- "showPoints": "auto",
|
|
|
- "spanNulls": false,
|
|
|
- "stacking": {
|
|
|
- "group": "A",
|
|
|
- "mode": "none"
|
|
|
+ {
|
|
|
+ "color": "yellow",
|
|
|
+ "value": 0.1
|
|
|
},
|
|
|
- "thresholdsStyle": {
|
|
|
- "mode": "off"
|
|
|
+ {
|
|
|
+ "color": "red",
|
|
|
+ "value": 0.01
|
|
|
}
|
|
|
- },
|
|
|
- "decimals": 0,
|
|
|
- "mappings": [],
|
|
|
- "thresholds": {
|
|
|
- "mode": "absolute",
|
|
|
- "steps": [
|
|
|
- {
|
|
|
- "color": "green",
|
|
|
- "value": null
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- "unit": "none"
|
|
|
+ ]
|
|
|
},
|
|
|
- "overrides": []
|
|
|
+ "unit": "locale"
|
|
|
},
|
|
|
- "gridPos": {
|
|
|
- "h": 8,
|
|
|
- "w": 12,
|
|
|
- "x": 0,
|
|
|
- "y": 24
|
|
|
- },
|
|
|
- "id": 6,
|
|
|
- "options": {
|
|
|
- "legend": {
|
|
|
- "calcs": [],
|
|
|
- "displayMode": "list",
|
|
|
- "placement": "bottom",
|
|
|
- "showLegend": true
|
|
|
+ "overrides": []
|
|
|
+ },
|
|
|
+ "gridPos": {
|
|
|
+ "h": 8,
|
|
|
+ "w": 12,
|
|
|
+ "x": 0,
|
|
|
+ "y": 16
|
|
|
+ },
|
|
|
+ "id": 10,
|
|
|
+ "options": {
|
|
|
+ "colorMode": "value",
|
|
|
+ "graphMode": "area",
|
|
|
+ "justifyMode": "auto",
|
|
|
+ "orientation": "auto",
|
|
|
+ "percentChangeColorMode": "standard",
|
|
|
+ "reduceOptions": {
|
|
|
+ "calcs": [
|
|
|
+ "lastNotNull"
|
|
|
+ ],
|
|
|
+ "fields": "",
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "showPercentChange": false,
|
|
|
+ "textMode": "auto",
|
|
|
+ "wideLayout": true
|
|
|
+ },
|
|
|
+ "pluginVersion": "11.5.2",
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "datasource": {
|
|
|
+ "type": "prometheus",
|
|
|
+ "uid": "prometheus"
|
|
|
},
|
|
|
- "tooltip": {
|
|
|
- "hideZeros": false,
|
|
|
- "mode": "single",
|
|
|
- "sort": "none"
|
|
|
- }
|
|
|
- },
|
|
|
- "pluginVersion": "11.5.2",
|
|
|
- "targets": [
|
|
|
- {
|
|
|
- "datasource": {
|
|
|
- "type": "prometheus",
|
|
|
- "uid": "prometheus"
|
|
|
- },
|
|
|
- "editorMode": "code",
|
|
|
- "expr": "sum(increase(pyth_price_update_errors_total[5m]))",
|
|
|
- "legendFormat": "Errors",
|
|
|
- "range": true,
|
|
|
- "refId": "A"
|
|
|
- }
|
|
|
- ],
|
|
|
- "title": "Update Errors",
|
|
|
- "type": "timeseries"
|
|
|
+ "editorMode": "code",
|
|
|
+ "expr": "pyth_wallet_balance",
|
|
|
+ "instant": true,
|
|
|
+ "legendFormat": "{{wallet_address}}",
|
|
|
+ "range": false,
|
|
|
+ "refId": "A"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "title": "Wallet Balance",
|
|
|
+ "type": "stat"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datasource": {
|
|
|
+ "type": "prometheus",
|
|
|
+ "uid": "prometheus"
|
|
|
},
|
|
|
- {
|
|
|
- "datasource": {
|
|
|
- "type": "prometheus",
|
|
|
- "uid": "prometheus"
|
|
|
- },
|
|
|
- "fieldConfig": {
|
|
|
- "defaults": {
|
|
|
- "color": {
|
|
|
- "mode": "palette-classic"
|
|
|
- },
|
|
|
- "custom": {
|
|
|
- "axisBorderShow": false,
|
|
|
- "axisCenteredZero": false,
|
|
|
- "axisColorMode": "text",
|
|
|
- "axisLabel": "",
|
|
|
- "axisPlacement": "auto",
|
|
|
- "barAlignment": 0,
|
|
|
- "barWidthFactor": 0.6,
|
|
|
- "drawStyle": "line",
|
|
|
- "fillOpacity": 0,
|
|
|
- "gradientMode": "none",
|
|
|
- "hideFrom": {
|
|
|
- "legend": false,
|
|
|
- "tooltip": false,
|
|
|
- "viz": false
|
|
|
- },
|
|
|
- "insertNulls": false,
|
|
|
- "lineInterpolation": "linear",
|
|
|
- "lineWidth": 1,
|
|
|
- "pointSize": 5,
|
|
|
- "scaleDistribution": {
|
|
|
- "type": "linear"
|
|
|
- },
|
|
|
- "showPoints": "auto",
|
|
|
- "spanNulls": false,
|
|
|
- "stacking": {
|
|
|
- "group": "A",
|
|
|
- "mode": "none"
|
|
|
- },
|
|
|
- "thresholdsStyle": {
|
|
|
- "mode": "off"
|
|
|
+ "fieldConfig": {
|
|
|
+ "defaults": {
|
|
|
+ "color": {
|
|
|
+ "mode": "palette-classic"
|
|
|
+ },
|
|
|
+ "custom": {
|
|
|
+ "axisBorderShow": false,
|
|
|
+ "axisCenteredZero": false,
|
|
|
+ "axisColorMode": "text",
|
|
|
+ "axisLabel": "",
|
|
|
+ "axisPlacement": "auto",
|
|
|
+ "barAlignment": 0,
|
|
|
+ "barWidthFactor": 0.6,
|
|
|
+ "drawStyle": "line",
|
|
|
+ "fillOpacity": 0,
|
|
|
+ "gradientMode": "none",
|
|
|
+ "hideFrom": {
|
|
|
+ "legend": false,
|
|
|
+ "tooltip": false,
|
|
|
+ "viz": false
|
|
|
+ },
|
|
|
+ "insertNulls": 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
|
|
|
}
|
|
|
- },
|
|
|
- "mappings": [],
|
|
|
- "thresholds": {
|
|
|
- "mode": "absolute",
|
|
|
- "steps": [
|
|
|
- {
|
|
|
- "color": "green",
|
|
|
- "value": null
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- "unit": "s"
|
|
|
+ ]
|
|
|
},
|
|
|
- "overrides": []
|
|
|
- },
|
|
|
- "gridPos": {
|
|
|
- "h": 8,
|
|
|
- "w": 12,
|
|
|
- "x": 12,
|
|
|
- "y": 24
|
|
|
+ "unit": "locale"
|
|
|
},
|
|
|
- "id": 4,
|
|
|
- "options": {
|
|
|
- "legend": {
|
|
|
- "calcs": [],
|
|
|
- "displayMode": "list",
|
|
|
- "placement": "bottom",
|
|
|
- "showLegend": true
|
|
|
+ "overrides": []
|
|
|
+ },
|
|
|
+ "gridPos": {
|
|
|
+ "h": 8,
|
|
|
+ "w": 12,
|
|
|
+ "x": 12,
|
|
|
+ "y": 16
|
|
|
+ },
|
|
|
+ "id": 11,
|
|
|
+ "options": {
|
|
|
+ "legend": {
|
|
|
+ "calcs": [],
|
|
|
+ "displayMode": "list",
|
|
|
+ "placement": "bottom",
|
|
|
+ "showLegend": true
|
|
|
+ },
|
|
|
+ "tooltip": {
|
|
|
+ "hideZeros": false,
|
|
|
+ "mode": "single",
|
|
|
+ "sort": "none"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "pluginVersion": "11.5.2",
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "datasource": {
|
|
|
+ "type": "prometheus",
|
|
|
+ "uid": "prometheus"
|
|
|
},
|
|
|
- "tooltip": {
|
|
|
- "hideZeros": false,
|
|
|
- "mode": "single",
|
|
|
- "sort": "none"
|
|
|
- }
|
|
|
- },
|
|
|
- "pluginVersion": "11.5.2",
|
|
|
- "targets": [
|
|
|
- {
|
|
|
- "datasource": {
|
|
|
- "type": "prometheus",
|
|
|
- "uid": "prometheus"
|
|
|
- },
|
|
|
- "editorMode": "code",
|
|
|
- "expr": "rate(pyth_price_update_duration_seconds_sum[5m]) / rate(pyth_price_update_duration_seconds_count[5m])",
|
|
|
- "legendFormat": "{{alias}}",
|
|
|
- "range": true,
|
|
|
- "refId": "A"
|
|
|
- }
|
|
|
- ],
|
|
|
- "title": "Average Update Duration",
|
|
|
- "type": "timeseries"
|
|
|
- }
|
|
|
- ],
|
|
|
- "preload": false,
|
|
|
- "refresh": "5s",
|
|
|
- "schemaVersion": 40,
|
|
|
- "tags": [],
|
|
|
- "templating": {
|
|
|
- "list": []
|
|
|
- },
|
|
|
- "time": {
|
|
|
- "from": "now-1h",
|
|
|
- "to": "now"
|
|
|
+ "editorMode": "code",
|
|
|
+ "expr": "pyth_wallet_balance",
|
|
|
+ "legendFormat": "{{wallet_address}} ({{network}})",
|
|
|
+ "range": true,
|
|
|
+ "refId": "A"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "title": "Wallet Balance Over Time",
|
|
|
+ "type": "timeseries"
|
|
|
},
|
|
|
- "timepicker": {},
|
|
|
- "timezone": "",
|
|
|
- "title": "Pyth Price Pusher Dashboard",
|
|
|
- "uid": "pyth-price-pusher",
|
|
|
- "version": 39,
|
|
|
- "weekStart": ""
|
|
|
- }
|
|
|
+ {
|
|
|
+ "datasource": {
|
|
|
+ "type": "prometheus",
|
|
|
+ "uid": "prometheus"
|
|
|
+ },
|
|
|
+ "fieldConfig": {
|
|
|
+ "defaults": {
|
|
|
+ "color": {
|
|
|
+ "mode": "palette-classic"
|
|
|
+ },
|
|
|
+ "custom": {
|
|
|
+ "axisBorderShow": false,
|
|
|
+ "axisCenteredZero": false,
|
|
|
+ "axisColorMode": "text",
|
|
|
+ "axisLabel": "",
|
|
|
+ "axisPlacement": "auto",
|
|
|
+ "barAlignment": 0,
|
|
|
+ "barWidthFactor": 0.6,
|
|
|
+ "drawStyle": "line",
|
|
|
+ "fillOpacity": 0,
|
|
|
+ "gradientMode": "none",
|
|
|
+ "hideFrom": {
|
|
|
+ "legend": false,
|
|
|
+ "tooltip": false,
|
|
|
+ "viz": false
|
|
|
+ },
|
|
|
+ "insertNulls": false,
|
|
|
+ "lineInterpolation": "linear",
|
|
|
+ "lineWidth": 1,
|
|
|
+ "pointSize": 5,
|
|
|
+ "scaleDistribution": {
|
|
|
+ "type": "linear"
|
|
|
+ },
|
|
|
+ "showPoints": "auto",
|
|
|
+ "spanNulls": false,
|
|
|
+ "stacking": {
|
|
|
+ "group": "A",
|
|
|
+ "mode": "none"
|
|
|
+ },
|
|
|
+ "thresholdsStyle": {
|
|
|
+ "mode": "off"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "decimals": 0,
|
|
|
+ "mappings": [],
|
|
|
+ "thresholds": {
|
|
|
+ "mode": "absolute",
|
|
|
+ "steps": [
|
|
|
+ {
|
|
|
+ "color": "green",
|
|
|
+ "value": null
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "unit": "none"
|
|
|
+ },
|
|
|
+ "overrides": []
|
|
|
+ },
|
|
|
+ "gridPos": {
|
|
|
+ "h": 8,
|
|
|
+ "w": 12,
|
|
|
+ "x": 0,
|
|
|
+ "y": 24
|
|
|
+ },
|
|
|
+ "id": 6,
|
|
|
+ "options": {
|
|
|
+ "legend": {
|
|
|
+ "calcs": [],
|
|
|
+ "displayMode": "list",
|
|
|
+ "placement": "bottom",
|
|
|
+ "showLegend": true
|
|
|
+ },
|
|
|
+ "tooltip": {
|
|
|
+ "hideZeros": false,
|
|
|
+ "mode": "single",
|
|
|
+ "sort": "none"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "pluginVersion": "11.5.2",
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "datasource": {
|
|
|
+ "type": "prometheus",
|
|
|
+ "uid": "prometheus"
|
|
|
+ },
|
|
|
+ "editorMode": "code",
|
|
|
+ "expr": "sum(increase(pyth_price_update_errors_total[5m]))",
|
|
|
+ "legendFormat": "Errors",
|
|
|
+ "range": true,
|
|
|
+ "refId": "A"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "title": "Update Errors",
|
|
|
+ "type": "timeseries"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "preload": false,
|
|
|
+ "refresh": "5s",
|
|
|
+ "schemaVersion": 40,
|
|
|
+ "tags": [],
|
|
|
+ "templating": {
|
|
|
+ "list": []
|
|
|
+ },
|
|
|
+ "time": {
|
|
|
+ "from": "now-1h",
|
|
|
+ "to": "now"
|
|
|
+ },
|
|
|
+ "timepicker": {},
|
|
|
+ "timezone": "",
|
|
|
+ "title": "Pyth Price Pusher Dashboard",
|
|
|
+ "uid": "pyth-price-pusher",
|
|
|
+ "version": 41,
|
|
|
+ "weekStart": ""
|
|
|
+}
|