diff --git a/grafana/provisioning/dashboards/strategists/Vault Overview.json b/grafana/provisioning/dashboards/strategists/Vault Overview.json index 55149c0f2..037d31b81 100644 --- a/grafana/provisioning/dashboards/strategists/Vault Overview.json +++ b/grafana/provisioning/dashboards/strategists/Vault Overview.json @@ -15,7 +15,7 @@ "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "9.2.0" + "version": "10.0.1" }, { "type": "panel", @@ -79,7 +79,7 @@ "liveNow": false, "panels": [ { - "collapsed": true, + "collapsed": false, "datasource": { "type": "datasource", "uid": "grafana" @@ -91,297 +91,300 @@ "y": 0 }, "id": 8, - "panels": [ + "panels": [], + "targets": [ { "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 2, - "x": 0, - "y": 1 + "type": "datasource", + "uid": "grafana" }, - "id": 25, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "value" + "refId": "A" + } + ], + "title": "Strategies", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null }, - "editorMode": "code", - "exemplar": false, - "expr": "count(yearn_strategy{network=\"$networks\", vault=\"$vaults\", param=\"isActive\", experimental=\"$exp\", address=\"$address\", version=\"$version\"} > 0)", - "instant": false, - "interval": "", - "legendFormat": "{{strategy}}", - "queryType": "randomWalk", - "range": true, - "refId": "A" - } + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 2, + "x": 0, + "y": 1 + }, + "id": 25, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" ], - "title": "Active", - "transformations": [], - "transparent": true, - "type": "stat" + "fields": "", + "values": false }, + "text": {}, + "textMode": "value" + }, + "pluginVersion": "10.0.1", + "targets": [ { "datasource": { "type": "prometheus", "uid": "DS_PROMETHEUS" }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "noValue": "All Active", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 10, - "x": 2, - "y": 1 - }, - "id": 122, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "name" + "editorMode": "code", + "exemplar": false, + "expr": "count(yearn_strategy{network=\"$networks\", vault=\"$vaults\", param=\"isActive\", experimental=\"$exp\", address=\"$address\", version=\"$version\"} > 0)", + "instant": false, + "interval": "", + "legendFormat": "{{strategy}}", + "queryType": "randomWalk", + "range": true, + "refId": "A" + } + ], + "title": "Active", + "transformations": [], + "transparent": true, + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "editorMode": "code", - "exemplar": false, - "expr": "yearn_strategy{network=\"$networks\", vault=\"$vaults\", param=\"isActive\", experimental=\"$exp\", address=\"$address\", version=\"$version\"} > 0.1", - "instant": false, - "interval": "", - "legendFormat": "{{strategy}}", - "queryType": "randomWalk", - "range": true, - "refId": "A" - } + "mappings": [], + "noValue": "All Active", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 10, + "x": 2, + "y": 1 + }, + "id": 122, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" ], - "title": "Strategies Active", - "type": "stat" + "fields": "", + "values": false }, + "text": {}, + "textMode": "name" + }, + "pluginVersion": "10.0.1", + "targets": [ { "datasource": { "type": "prometheus", "uid": "DS_PROMETHEUS" }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "noValue": "All Active", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - } - }, - "overrides": [] + "editorMode": "code", + "exemplar": false, + "expr": "yearn_strategy{network=\"$networks\", vault=\"$vaults\", param=\"isActive\", experimental=\"$exp\", address=\"$address\", version=\"$version\"} > 0.1", + "instant": false, + "interval": "", + "legendFormat": "{{strategy}}", + "queryType": "randomWalk", + "range": true, + "refId": "A" + } + ], + "title": "Strategies Active", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" }, - "gridPos": { - "h": 9, - "w": 10, - "x": 12, - "y": 1 - }, - "id": 10, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "name" - }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "editorMode": "code", - "exemplar": false, - "expr": "yearn_strategy{network=\"$networks\", vault=\"$vaults\", param=\"isActive\", experimental=\"$exp\", address=\"$address\", version=\"$version\"} < 0.1", - "instant": false, - "interval": "", - "legendFormat": "{{strategy}}", - "queryType": "randomWalk", - "range": true, - "refId": "A" - } + "mappings": [], + "noValue": "All Active", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 10, + "x": 12, + "y": 1 + }, + "id": 10, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" ], - "title": "Strategies Inactive", - "type": "stat" + "fields": "", + "values": false }, + "text": {}, + "textMode": "name" + }, + "pluginVersion": "10.0.1", + "targets": [ { "datasource": { "type": "prometheus", "uid": "DS_PROMETHEUS" }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "noValue": "0", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 2, - "x": 22, - "y": 1 - }, - "id": 11, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "value" + "editorMode": "code", + "exemplar": false, + "expr": "yearn_strategy{network=\"$networks\", vault=\"$vaults\", param=\"isActive\", experimental=\"$exp\", address=\"$address\", version=\"$version\"} < 0.1", + "instant": false, + "interval": "", + "legendFormat": "{{strategy}}", + "queryType": "randomWalk", + "range": true, + "refId": "A" + } + ], + "title": "Strategies Inactive", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" + "mappings": [], + "noValue": "0", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null }, - "editorMode": "code", - "exemplar": false, - "expr": "count(yearn_strategy{network=\"$networks\", vault=\"$vaults\", param=\"isActive\", experimental=\"$exp\", address=\"$address\", version=\"$version\"} < 0.1)", - "instant": false, - "interval": "", - "legendFormat": "{{strategy}}", - "queryType": "randomWalk", - "range": true, - "refId": "A" - } + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 2, + "x": 22, + "y": 1 + }, + "id": 11, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" ], - "title": "Inactive", - "transformations": [], - "transparent": true, - "type": "stat" - } - ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "value" + }, + "pluginVersion": "10.0.1", "targets": [ { "datasource": { - "type": "datasource", - "uid": "grafana" + "type": "prometheus", + "uid": "DS_PROMETHEUS" }, + "editorMode": "code", + "exemplar": false, + "expr": "count(yearn_strategy{network=\"$networks\", vault=\"$vaults\", param=\"isActive\", experimental=\"$exp\", address=\"$address\", version=\"$version\"} < 0.1)", + "instant": false, + "interval": "", + "legendFormat": "{{strategy}}", + "queryType": "randomWalk", + "range": true, "refId": "A" } ], - "title": "Strategies", - "type": "row" + "title": "Inactive", + "transformations": [], + "transparent": true, + "type": "stat" }, { - "collapsed": true, + "collapsed": false, "datasource": { "type": "datasource", "uid": "grafana" @@ -390,1155 +393,1169 @@ "h": 1, "w": 24, "x": 0, - "y": 1 + "y": 10 }, "id": 2, - "panels": [ + "panels": [], + "targets": [ { "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" + "type": "datasource", + "uid": "grafana" }, - "description": "Total amount of Deposit tokens in vault", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 2, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "purple" - } - ] - }, - "unit": "short" - }, - "overrides": [] + "refId": "A" + } + ], + "title": "Overview", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "description": "Total amount of Deposit tokens in vault", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" }, - "gridPos": { - "h": 4, - "w": 4, - "x": 0, - "y": 2 + "decimals": 2, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "purple", + "value": null + } + ] }, - "id": 4, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "editorMode": "code", - "exemplar": true, - "expr": "yearn_vault{network=\"$networks\", param=\"totalAssets\", vault=~\"$vaults\", address=\"$address\", version=\"$version\", experimental=\"$exp\"}", - "instant": false, - "interval": "", - "legendFormat": "__auto", - "queryType": "randomWalk", - "refId": "A" - } + "unit": "short" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 4, + "x": 0, + "y": 11 + }, + "id": 4, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" ], - "title": "totalAssets", - "transformations": [], - "type": "stat" + "fields": "", + "values": false }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "10.0.1", + "targets": [ { "datasource": { "type": "prometheus", "uid": "DS_PROMETHEUS" }, - "description": "The total amount of Deposit tokens in the vault in dollars", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 2, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "purple" - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 4, - "y": 2 + "editorMode": "code", + "exemplar": true, + "expr": "yearn_vault{network=\"$networks\", param=\"totalAssets\", vault=~\"$vaults\", address=\"$address\", version=\"$version\", experimental=\"$exp\"}", + "instant": false, + "interval": "", + "legendFormat": "__auto", + "queryType": "randomWalk", + "refId": "A" + } + ], + "title": "totalAssets", + "transformations": [], + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "description": "The total amount of Deposit tokens in the vault in dollars", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" }, - "id": 66, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" + "decimals": 2, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "purple", + "value": null + } + ] }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "editorMode": "code", - "exemplar": true, - "expr": "yearn_vault{network=\"$networks\", param=\"tvl\", vault=~\"$vaults\", address=\"$address\", version=\"$version\", experimental=\"$exp\"}", - "instant": false, - "interval": "", - "legendFormat": "{{param}}", - "queryType": "randomWalk", - "refId": "A" - } + "unit": "short" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 4, + "x": 4, + "y": 11 + }, + "id": 66, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" ], - "title": "totalAssets ($)", - "transformations": [], - "type": "stat" + "fields": "", + "values": false }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "10.0.1", + "targets": [ { "datasource": { "type": "prometheus", "uid": "DS_PROMETHEUS" }, - "description": "Share price of Vault token", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 10, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "purple" - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 8, - "y": 2 + "editorMode": "code", + "exemplar": true, + "expr": "yearn_vault{network=\"$networks\", param=\"tvl\", vault=~\"$vaults\", address=\"$address\", version=\"$version\", experimental=\"$exp\"}", + "instant": false, + "interval": "", + "legendFormat": "{{param}}", + "queryType": "randomWalk", + "refId": "A" + } + ], + "title": "totalAssets ($)", + "transformations": [], + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "description": "Share price of Vault token", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" }, - "id": 77, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" + "decimals": 10, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "purple", + "value": null + } + ] }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "editorMode": "code", - "exemplar": true, - "expr": "yearn_vault{network=\"$networks\", param=\"pricePerShare\", vault=~\"$vaults\", address=\"$address\", version=\"$version\", experimental=\"$exp\"}", - "instant": false, - "interval": "", - "legendFormat": "{{param}}", - "queryType": "randomWalk", - "refId": "A" - } + "unit": "short" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 4, + "x": 8, + "y": 11 + }, + "id": 77, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" ], - "title": "Share Price", - "transformations": [], - "type": "stat" + "fields": "", + "values": false }, - { - "datasource": { - "type": "prometheus", + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "10.0.1", + "targets": [ + { + "datasource": { + "type": "prometheus", "uid": "DS_PROMETHEUS" }, - "description": "totalDebt / totalAssets", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 2, - "mappings": [ - { - "options": { - "match": "null+nan", - "result": { - "color": "red", - "index": 0, - "text": "N/A" - } - }, - "type": "special" - } - ], - "max": 1, - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "purple" - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 12, - "y": 2 - }, - "id": 99, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" + "editorMode": "code", + "exemplar": true, + "expr": "yearn_vault{network=\"$networks\", param=\"pricePerShare\", vault=~\"$vaults\", address=\"$address\", version=\"$version\", experimental=\"$exp\"}", + "instant": false, + "interval": "", + "legendFormat": "{{param}}", + "queryType": "randomWalk", + "refId": "A" + } + ], + "title": "Share Price", + "transformations": [], + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "description": "totalDebt / totalAssets", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" }, - "pluginVersion": "9.2.0", - "targets": [ + "decimals": 2, + "mappings": [ { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" + "options": { + "match": "null+nan", + "result": { + "color": "red", + "index": 0, + "text": "N/A" + } }, - "editorMode": "code", - "exemplar": false, - "expr": "sum(yearn_strategy{network=\"$networks\", param=\"totalDebt\", vault=~\"$vaults\", address=\"$address\", version=\"$version\", experimental=\"$exp\"}) / on(vault, version) sum(yearn_vault{network=\"$networks\", param=\"totalAssets\", vault=~\"$vaults\", address=\"$address\", version=\"$version\", experimental=\"$exp\"})", - "instant": false, - "interval": "", - "legendFormat": "% to Limit", - "queryType": "randomWalk", - "range": true, - "refId": "A" + "type": "special" } ], - "title": "% of Assets Deployed", - "transformations": [], - "type": "stat" + "max": 1, + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "purple", + "value": null + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 4, + "x": 12, + "y": 11 + }, + "id": 99, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "10.0.1", + "targets": [ { "datasource": { "type": "prometheus", "uid": "DS_PROMETHEUS" }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "purple", - "mode": "fixed" - }, - "decimals": 2, - "mappings": [], - "max": 1, - "noValue": "0", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "purple" - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 16, - "y": 2 + "editorMode": "code", + "exemplar": false, + "expr": "sum(yearn_strategy{network=\"$networks\", param=\"totalDebt\", vault=~\"$vaults\", address=\"$address\", version=\"$version\", experimental=\"$exp\"}) / on(vault, version) sum(yearn_vault{network=\"$networks\", param=\"totalAssets\", vault=~\"$vaults\", address=\"$address\", version=\"$version\", experimental=\"$exp\"})", + "instant": false, + "interval": "", + "legendFormat": "% to Limit", + "queryType": "randomWalk", + "range": true, + "refId": "A" + } + ], + "title": "% of Assets Deployed", + "transformations": [], + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "fixedColor": "purple", + "mode": "fixed" }, - "id": 123, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" + "decimals": 2, + "mappings": [], + "max": 1, + "noValue": "0", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "purple", + "value": null + } + ] }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "editorMode": "code", - "exemplar": true, - "expr": "yearn_vault{network=\"$networks\", param=\"totalAssets\", vault=\"$vaults\", address=\"$address\", version=\"$version\", experimental=\"$exp\"} / on(vault, version) yearn_vault{network=\"$networks\", param=\"depositLimit\", vault=\"$vaults\", address=\"$address\", version=\"$version\", experimental=\"$exp\"}", - "hide": false, - "interval": "", - "legendFormat": "% to Deposit Limit", - "range": true, - "refId": "C" - } + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 4, + "x": 16, + "y": 11 + }, + "id": 123, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" ], - "title": "% to Deposit Limit", - "transformations": [], - "type": "stat" + "fields": "", + "values": false }, + "textMode": "auto" + }, + "pluginVersion": "10.0.1", + "targets": [ { "datasource": { "type": "prometheus", "uid": "DS_PROMETHEUS" }, - "description": "Price of the underlying deposit token", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 2, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "purple" - } - ] - }, - "unit": "currencyUSD" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 20, - "y": 2 + "editorMode": "code", + "exemplar": true, + "expr": "yearn_vault{network=\"$networks\", param=\"totalAssets\", vault=\"$vaults\", address=\"$address\", version=\"$version\", experimental=\"$exp\"} / on(vault, version) yearn_vault{network=\"$networks\", param=\"depositLimit\", vault=\"$vaults\", address=\"$address\", version=\"$version\", experimental=\"$exp\"}", + "hide": false, + "interval": "", + "legendFormat": "% to Deposit Limit", + "range": true, + "refId": "C" + } + ], + "title": "% to Deposit Limit", + "transformations": [], + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "description": "Price of the underlying deposit token", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" }, - "id": 120, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" + "decimals": 2, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "purple", + "value": null + } + ] }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "editorMode": "code", - "exemplar": true, - "expr": "yearn_vault{network=\"$networks\", param=\"token price\", experimental=\"$exp\", vault=\"$vaults\", version=\"$version\", address=\"$address\"}", - "instant": false, - "interval": "", - "legendFormat": "{{param}}", - "queryType": "randomWalk", - "refId": "A" - } + "unit": "currencyUSD" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 4, + "x": 20, + "y": 11 + }, + "id": 120, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" ], - "title": "Deposit Token Price", - "transformations": [], - "type": "stat" + "fields": "", + "values": false }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "10.0.1", + "targets": [ { "datasource": { "type": "prometheus", "uid": "DS_PROMETHEUS" }, - "description": "Sum of the total amount of gain from all strategies in underlying token.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 2, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "purple" - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 0, - "y": 6 + "editorMode": "code", + "exemplar": true, + "expr": "yearn_vault{network=\"$networks\", param=\"token price\", experimental=\"$exp\", vault=\"$vaults\", version=\"$version\", address=\"$address\"}", + "instant": false, + "interval": "", + "legendFormat": "{{param}}", + "queryType": "randomWalk", + "refId": "A" + } + ], + "title": "Deposit Token Price", + "transformations": [], + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "description": "Sum of the total amount of gain from all strategies in underlying token.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" }, - "id": 80, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" + "decimals": 2, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "purple", + "value": null + } + ] }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "editorMode": "code", - "exemplar": true, - "expr": "sum(yearn_strategy{network=\"$networks\", param=\"totalGain\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"})", - "instant": false, - "interval": "", - "legendFormat": "{{param}}", - "queryType": "randomWalk", - "refId": "A" - } + "unit": "short" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 4, + "x": 0, + "y": 15 + }, + "id": 80, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" ], - "title": "totalGain", - "transformations": [], - "type": "stat" + "fields": "", + "values": false }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "10.0.1", + "targets": [ { "datasource": { "type": "prometheus", "uid": "DS_PROMETHEUS" }, - "description": "Sum of all gains actualized from all strategies in terms of $", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 2, - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "purple" - } - ] - }, - "unit": "currencyUSD" - }, - "overrides": [] + "editorMode": "code", + "exemplar": true, + "expr": "sum(yearn_strategy{network=\"$networks\", param=\"totalGain\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"})", + "instant": false, + "interval": "", + "legendFormat": "{{param}}", + "queryType": "randomWalk", + "refId": "A" + } + ], + "title": "totalGain", + "transformations": [], + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "description": "Sum of all gains actualized from all strategies in terms of $", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" }, - "gridPos": { - "h": 4, - "w": 4, - "x": 4, - "y": 6 + "decimals": 2, + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "purple", + "value": null + } + ] }, - "id": 118, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "editorMode": "code", - "exemplar": false, - "expr": "sum(yearn_strategy{network=\"$networks\", param=\"totalGain\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"})", - "hide": true, - "instant": false, - "interval": "", - "legendFormat": "TotalLossDepositToken", - "queryType": "randomWalk", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "editorMode": "code", - "exemplar": true, - "expr": "yearn_vault{network=\"$networks\", param=\"token price\", experimental=\"$exp\", vault=\"$vaults\", version=\"$version\", address=\"$address\"}", - "hide": true, - "interval": "", - "legendFormat": "Token Price", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "editorMode": "code", - "exemplar": true, - "expr": "sum(yearn_strategy{network=\"$networks\", param=\"totalGain\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"}) * yearn_vault{network=\"$networks\", param=\"token price\", experimental=\"$exp\", vault=\"$vaults\", version=\"$version\", address=\"$address\"}", - "hide": false, - "interval": "", - "legendFormat": "TotalGain$", - "range": true, - "refId": "C" - } + "unit": "currencyUSD" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 4, + "x": 4, + "y": 15 + }, + "id": 118, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" ], - "title": "totalGain $", - "transformations": [], - "type": "stat" + "fields": "", + "values": false }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "10.0.1", + "targets": [ { "datasource": { "type": "prometheus", "uid": "DS_PROMETHEUS" }, - "description": "The total amount of deposit token allocated to strategies.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 2, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "purple" - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 8, - "y": 6 - }, - "id": 20, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "editorMode": "code", - "exemplar": true, - "expr": "sum(yearn_strategy{network=\"$networks\", param=\"totalDebt\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"})", - "instant": false, - "interval": "", - "legendFormat": "{{param}}", - "queryType": "randomWalk", - "refId": "A" - } - ], - "title": "totalDebt", - "transformations": [], - "type": "stat" + "editorMode": "code", + "exemplar": false, + "expr": "sum(yearn_strategy{network=\"$networks\", param=\"totalGain\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"})", + "hide": true, + "instant": false, + "interval": "", + "legendFormat": "TotalLossDepositToken", + "queryType": "randomWalk", + "range": true, + "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "DS_PROMETHEUS" }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 4, - "mappings": [], - "max": 1, - "min": 0, - "noValue": "Select shorter time frame", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "purple" - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 12, - "y": 6 - }, - "id": 110, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "last" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "editorMode": "code", - "exemplar": true, - "expr": "(yearn_vault{network=\"$networks\", param=\"pricePerShare\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"} / yearn_vault{network=\"$networks\", param=\"pricePerShare\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"} offset $__range) - 1", - "instant": false, - "interval": "", - "legendFormat": "{{vault}}", - "queryType": "randomWalk", - "refId": "A" - } - ], - "title": "% Share Price Change Over Time Range", - "type": "stat" + "editorMode": "code", + "exemplar": true, + "expr": "yearn_vault{network=\"$networks\", param=\"token price\", experimental=\"$exp\", vault=\"$vaults\", version=\"$version\", address=\"$address\"}", + "hide": true, + "interval": "", + "legendFormat": "Token Price", + "range": true, + "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "DS_PROMETHEUS" }, - "description": "Sum of all losses actualized from all strategies in underlying token terms", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 2, - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "purple" - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 16, - "y": 6 + "editorMode": "code", + "exemplar": true, + "expr": "sum(yearn_strategy{network=\"$networks\", param=\"totalGain\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"}) * yearn_vault{network=\"$networks\", param=\"token price\", experimental=\"$exp\", vault=\"$vaults\", version=\"$version\", address=\"$address\"}", + "hide": false, + "interval": "", + "legendFormat": "TotalGain$", + "range": true, + "refId": "C" + } + ], + "title": "totalGain $", + "transformations": [], + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "description": "The total amount of deposit token allocated to strategies.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" }, - "id": 119, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" + "decimals": 2, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "purple", + "value": null + } + ] }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "editorMode": "code", - "exemplar": false, - "expr": "sum(yearn_strategy{network=\"$networks\", param=\"totalLoss\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"})", - "hide": false, - "instant": false, - "interval": "", - "legendFormat": "TotalLossDepositToken", - "queryType": "randomWalk", - "range": true, - "refId": "A" - } + "unit": "short" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 4, + "x": 8, + "y": 15 + }, + "id": 20, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" ], - "title": "totalLoss", - "transformations": [], - "type": "stat" + "fields": "", + "values": false }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "10.0.1", + "targets": [ { "datasource": { "type": "prometheus", "uid": "DS_PROMETHEUS" }, - "description": "Sum of all losses actualized from all strategies in $", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 2, - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "purple" - } - ] - }, - "unit": "currencyUSD" - }, - "overrides": [] + "editorMode": "code", + "exemplar": true, + "expr": "sum(yearn_strategy{network=\"$networks\", param=\"totalDebt\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"})", + "instant": false, + "interval": "", + "legendFormat": "{{param}}", + "queryType": "randomWalk", + "refId": "A" + } + ], + "title": "totalDebt", + "transformations": [], + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" }, - "gridPos": { - "h": 4, - "w": 4, - "x": 20, - "y": 6 + "decimals": 4, + "mappings": [], + "max": 1, + "min": 0, + "noValue": "Select shorter time frame", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "purple", + "value": null + } + ] }, - "id": 117, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 4, + "x": 12, + "y": 15 + }, + "id": 110, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "last" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "10.0.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "editorMode": "code", - "exemplar": false, - "expr": "sum(yearn_strategy{network=\"$networks\", param=\"totalLoss\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"})", - "hide": true, - "instant": false, - "interval": "", - "legendFormat": "TotalLossDepositToken", - "queryType": "randomWalk", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "editorMode": "code", - "exemplar": true, - "expr": "yearn_vault{network=\"$networks\", param=\"token price\", experimental=\"$exp\", vault=\"$vaults\", version=\"$version\", address=\"$address\"}", - "hide": true, - "interval": "", - "legendFormat": "Token Price", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "editorMode": "code", - "exemplar": true, - "expr": "sum(yearn_strategy{network=\"$networks\", param=\"totalLoss\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"}) * yearn_vault{network=\"$networks\", param=\"token price\", experimental=\"$exp\", vault=\"$vaults\", version=\"$version\", address=\"$address\"}", - "hide": false, - "interval": "", - "legendFormat": "TotalLoss$", - "range": true, - "refId": "C" - } + "editorMode": "code", + "exemplar": true, + "expr": "(yearn_vault{network=\"$networks\", param=\"pricePerShare\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"} / yearn_vault{network=\"$networks\", param=\"pricePerShare\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"} offset $__range) - 1", + "instant": false, + "interval": "", + "legendFormat": "{{vault}}", + "queryType": "randomWalk", + "refId": "A" + } + ], + "title": "% Share Price Change Over Time Range", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "description": "Sum of all losses actualized from all strategies in underlying token terms", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "decimals": 2, + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "purple", + "value": null + } + ] + }, + "unit": "short" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 4, + "x": 16, + "y": 15 + }, + "id": 119, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "10.0.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "editorMode": "code", + "exemplar": false, + "expr": "sum(yearn_strategy{network=\"$networks\", param=\"totalLoss\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"})", + "hide": false, + "instant": false, + "interval": "", + "legendFormat": "TotalLossDepositToken", + "queryType": "randomWalk", + "range": true, + "refId": "A" + } + ], + "title": "totalLoss", + "transformations": [], + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "description": "Sum of all losses actualized from all strategies in $", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "decimals": 2, + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "purple", + "value": null + } + ] + }, + "unit": "currencyUSD" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 4, + "x": 20, + "y": 15 + }, + "id": 117, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" ], - "title": "totalLoss $", - "transformations": [], - "type": "stat" + "fields": "", + "values": false }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "10.0.1", + "targets": [ { "datasource": { "type": "prometheus", "uid": "DS_PROMETHEUS" }, - "description": "totalAssets - totalDebt. If you are looking to make a withdrawal this is how much the vault has free for lower fee withdrawals that wont pull from the funds of strategies that are currently deployed. Denominated in deposit token.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 4, - "mappings": [ - { - "options": { - "match": "null+nan", - "result": { - "color": "red", - "index": 0, - "text": "N/A" - } - }, - "type": "special" - } - ], - "max": 1, - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "purple" - } - ] - }, - "unit": "short" - }, - "overrides": [] + "editorMode": "code", + "exemplar": false, + "expr": "sum(yearn_strategy{network=\"$networks\", param=\"totalLoss\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"})", + "hide": true, + "instant": false, + "interval": "", + "legendFormat": "TotalLossDepositToken", + "queryType": "randomWalk", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" }, - "gridPos": { - "h": 4, - "w": 5, - "x": 0, - "y": 10 + "editorMode": "code", + "exemplar": true, + "expr": "yearn_vault{network=\"$networks\", param=\"token price\", experimental=\"$exp\", vault=\"$vaults\", version=\"$version\", address=\"$address\"}", + "hide": true, + "interval": "", + "legendFormat": "Token Price", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" }, - "id": 109, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" + "editorMode": "code", + "exemplar": true, + "expr": "sum(yearn_strategy{network=\"$networks\", param=\"totalLoss\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"}) * yearn_vault{network=\"$networks\", param=\"token price\", experimental=\"$exp\", vault=\"$vaults\", version=\"$version\", address=\"$address\"}", + "hide": false, + "interval": "", + "legendFormat": "TotalLoss$", + "range": true, + "refId": "C" + } + ], + "title": "totalLoss $", + "transformations": [], + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "description": "totalAssets - totalDebt. If you are looking to make a withdrawal this is how much the vault has free for lower fee withdrawals that wont pull from the funds of strategies that are currently deployed. Denominated in deposit token.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" }, - "pluginVersion": "9.2.0", - "targets": [ + "decimals": 4, + "mappings": [ { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" + "options": { + "match": "null+nan", + "result": { + "color": "red", + "index": 0, + "text": "N/A" + } }, - "editorMode": "code", - "exemplar": false, - "expr": "sum(yearn_vault{network=\"$networks\", param=\"totalAssets\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"}) - on(vault, version) sum(yearn_strategy{network=\"$networks\", param=\"totalDebt\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"})", - "instant": false, - "interval": "", - "legendFormat": "Free Funds", - "queryType": "randomWalk", - "range": true, - "refId": "A" + "type": "special" } ], - "title": "Free Funds", - "transformations": [], - "type": "stat" + "max": 1, + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "purple", + "value": null + } + ] + }, + "unit": "short" }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 5, + "x": 0, + "y": 19 + }, + "id": 109, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "10.0.1", + "targets": [ { "datasource": { "type": "prometheus", "uid": "DS_PROMETHEUS" }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 2, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "purple" - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 14, - "x": 5, - "y": 10 - }, - "id": 21, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" + "editorMode": "code", + "exemplar": false, + "expr": "sum(yearn_vault{network=\"$networks\", param=\"totalAssets\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"}) - on(vault, version) sum(yearn_strategy{network=\"$networks\", param=\"totalDebt\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"})", + "instant": false, + "interval": "", + "legendFormat": "Free Funds", + "queryType": "randomWalk", + "range": true, + "refId": "A" + } + ], + "title": "Free Funds", + "transformations": [], + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "editorMode": "code", - "exemplar": true, - "expr": "(((delta(yearn_vault{network=\"$networks\", param=\"pricePerShare\", experimental=\"$exp\", vault=\"$vaults\", version=\"$version\", address=\"$address\"}[7d]) + 1) ^ (1/7)) ^ 365 - 1)", - "instant": false, - "interval": "", - "legendFormat": "{{param}}", - "queryType": "randomWalk", - "refId": "A" - } - ], - "title": "APY", - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "totalDebt", - "mode": "reduceRow", - "reduce": { - "include": [], - "reducer": "sum" - }, - "replaceFields": true + "decimals": 2, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "purple", + "value": null } - } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 14, + "x": 5, + "y": 19 + }, + "id": 21, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" ], - "type": "stat" + "fields": "", + "values": false }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "10.0.1", + "targets": [ { "datasource": { "type": "prometheus", "uid": "DS_PROMETHEUS" }, - "description": "totalAssets - totalDebt. If you are looking to make a withdrawal this is how much the vault has free for lower fee withdrawals that wont pull from the funds of strategies that are currently deployed. Denominated in $.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "purple" - } - ] - }, - "unit": "currencyUSD" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 5, - "x": 19, - "y": 10 - }, - "id": 121, + "editorMode": "code", + "exemplar": true, + "expr": "(((delta(yearn_vault{network=\"$networks\", param=\"pricePerShare\", experimental=\"$exp\", vault=\"$vaults\", version=\"$version\", address=\"$address\"}[7d]) + 1) ^ (1/7)) ^ 365 - 1)", + "instant": false, + "interval": "", + "legendFormat": "{{param}}", + "queryType": "randomWalk", + "refId": "A" + } + ], + "title": "APY", + "transformations": [ + { + "id": "calculateField", "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false + "alias": "totalDebt", + "mode": "reduceRow", + "reduce": { + "include": [], + "reducer": "sum" }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "editorMode": "code", - "exemplar": false, - "expr": "(sum(yearn_vault{network=\"$networks\", param=\"totalAssets\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"}) - on(vault, version) sum(yearn_strategy{network=\"$networks\", param=\"totalDebt\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"})) * yearn_vault{network=\"$networks\", param=\"token price\", experimental=\"$exp\", vault=\"$vaults\", version=\"$version\", address=\"$address\"}", - "instant": false, - "interval": "", - "legendFormat": "Free Funds", - "queryType": "randomWalk", - "range": true, - "refId": "A" - } - ], - "title": "Free Funds ($)", - "transformations": [], - "type": "stat" + "replaceFields": true + } } ], + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "description": "totalAssets - totalDebt. If you are looking to make a withdrawal this is how much the vault has free for lower fee withdrawals that wont pull from the funds of strategies that are currently deployed. Denominated in $.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "purple", + "value": null + } + ] + }, + "unit": "currencyUSD" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 5, + "x": 19, + "y": 19 + }, + "id": 121, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "10.0.1", "targets": [ { "datasource": { - "type": "datasource", - "uid": "grafana" + "type": "prometheus", + "uid": "DS_PROMETHEUS" }, + "editorMode": "code", + "exemplar": false, + "expr": "(sum(yearn_vault{network=\"$networks\", param=\"totalAssets\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"}) - on(vault, version) sum(yearn_strategy{network=\"$networks\", param=\"totalDebt\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"})) * yearn_vault{network=\"$networks\", param=\"token price\", experimental=\"$exp\", vault=\"$vaults\", version=\"$version\", address=\"$address\"}", + "instant": false, + "interval": "", + "legendFormat": "Free Funds", + "queryType": "randomWalk", + "range": true, "refId": "A" } ], - "title": "Overview", - "type": "row" + "title": "Free Funds ($)", + "transformations": [], + "type": "stat" }, { "collapsed": true, @@ -1550,7 +1567,7 @@ "h": 1, "w": 24, "x": 0, - "y": 2 + "y": 23 }, "id": 79, "panels": [ @@ -1753,7 +1770,7 @@ "type": "row" }, { - "collapsed": false, + "collapsed": true, "datasource": { "type": "datasource", "uid": "grafana" @@ -1762,867 +1779,868 @@ "h": 1, "w": 24, "x": 0, - "y": 3 + "y": 24 }, "id": 32, - "panels": [], - "targets": [ + "panels": [ { "datasource": { - "type": "datasource", - "uid": "grafana" - }, - "refId": "A" - } - ], - "title": "Assets Graphs", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "description": "Breakdown of assets in vault.\nTotalAssets = total amount in the vault.\nTotalDebt = total amount allocated to strategies", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "type": "prometheus", + "uid": "DS_PROMETHEUS" }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "totalDebt - Strategies", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 15, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "stepAfter", - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "normal" + "description": "Breakdown of assets in vault.\nTotalAssets = total amount in the vault.\nTotalDebt = total amount allocated to strategies", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "totalDebt - Strategies", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 15, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "stepAfter", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "normal" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 2, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 2, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ + "overrides": [ { - "color": "green", - "value": null + "matcher": { + "id": "byName", + "options": "totalAssets" + }, + "properties": [ + { + "id": "unit", + "value": "short" + } + ] }, { - "color": "red", - "value": 80 + "matcher": { + "id": "byName", + "options": "totalAssets" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#8F3BB8", + "mode": "fixed" + } + }, + { + "id": "custom.fillOpacity", + "value": 10 + }, + { + "id": "custom.fillOpacity", + "value": 30 + }, + { + "id": "custom.lineWidth", + "value": 3 + }, + { + "id": "custom.stacking", + "value": { + "group": false, + "mode": "normal" + } + } + ] } ] }, - "unit": "short" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "totalAssets" - }, - "properties": [ - { - "id": "unit", - "value": "short" - } - ] + "gridPos": { + "h": 9, + "w": 24, + "x": 0, + "y": 4 }, - { - "matcher": { - "id": "byName", - "options": "totalAssets" + "id": 18, + "options": { + "legend": { + "calcs": [ + "lastNotNull" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "#8F3BB8", - "mode": "fixed" - } - }, - { - "id": "custom.fillOpacity", - "value": 10 + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "pluginVersion": "9.2.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" }, - { - "id": "custom.fillOpacity", - "value": 30 + "editorMode": "code", + "exemplar": true, + "expr": "yearn_vault{network=\"$networks\", param=\"totalAssets\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"}", + "instant": false, + "interval": "", + "legendFormat": "{{param}}", + "queryType": "randomWalk", + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" }, - { - "id": "custom.lineWidth", - "value": 3 + "editorMode": "code", + "exemplar": true, + "expr": "yearn_strategy{network=\"$networks\", param=\"totalDebt\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"}", + "hide": true, + "interval": "", + "legendFormat": "{{strategy}}", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" }, - { - "id": "custom.stacking", - "value": { - "group": false, - "mode": "normal" - } - } - ] - } - ] - }, - "gridPos": { - "h": 9, - "w": 24, - "x": 0, - "y": 4 - }, - "id": 18, - "options": { - "legend": { - "calcs": [ - "lastNotNull" + "editorMode": "code", + "exemplar": true, + "expr": "sum(yearn_strategy{network=\"$networks\", param=\"totalDebt\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"})", + "hide": false, + "interval": "", + "legendFormat": "TotalDebt", + "range": true, + "refId": "C" + } ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "desc" - } - }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "editorMode": "code", - "exemplar": true, - "expr": "yearn_vault{network=\"$networks\", param=\"totalAssets\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"}", - "instant": false, - "interval": "", - "legendFormat": "{{param}}", - "queryType": "randomWalk", - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "editorMode": "code", - "exemplar": true, - "expr": "yearn_strategy{network=\"$networks\", param=\"totalDebt\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"}", - "hide": true, - "interval": "", - "legendFormat": "{{strategy}}", - "range": true, - "refId": "B" + "title": "Strategy Allocations Overview", + "transformations": [], + "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "DS_PROMETHEUS" }, - "editorMode": "code", - "exemplar": true, - "expr": "sum(yearn_strategy{network=\"$networks\", param=\"totalDebt\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"})", - "hide": false, - "interval": "", - "legendFormat": "TotalDebt", - "range": true, - "refId": "C" - } - ], - "title": "Strategy Allocations Overview", - "transformations": [], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "description": "Breakdown of free assets. If you see free assets in the vault you can withdrawal from it under this for cheaper and it wont have to pull funds from strategies.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "Amount free in $", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 30, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "stepAfter", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 2, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null + "description": "Breakdown of free assets. If you see free assets in the vault you can withdrawal from it under this for cheaper and it wont have to pull funds from strategies.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [ - { - "matcher": { - "id": "byFrameRefID", - "options": "B" - }, - "properties": [ - { - "id": "unit", - "value": "percentunit" - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "% of Assets Free" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "#B877D9", - "mode": "fixed" + "custom": { + "axisCenteredZero": false, + "axisColorMode": "series", + "axisLabel": "Amount free in $", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 30, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "stepAfter", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" } }, - { - "id": "custom.fillOpacity", - "value": 0 - }, - { - "id": "custom.lineWidth", - "value": 1 + "decimals": 2, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] }, + "unit": "short" + }, + "overrides": [ { - "id": "unit", - "value": "percentunit" + "matcher": { + "id": "byFrameRefID", + "options": "B" + }, + "properties": [ + { + "id": "unit", + "value": "percentunit" + } + ] }, { - "id": "custom.axisLabel", - "value": "% of funds free " + "matcher": { + "id": "byName", + "options": "% of Assets Free" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#B877D9", + "mode": "fixed" + } + }, + { + "id": "custom.fillOpacity", + "value": 0 + }, + { + "id": "custom.lineWidth", + "value": 1 + }, + { + "id": "unit", + "value": "percentunit" + }, + { + "id": "custom.axisLabel", + "value": "% of funds free " + } + ] } ] - } - ] - }, - "gridPos": { - "h": 9, - "w": 16, - "x": 0, - "y": 13 - }, - "id": 111, - "options": { - "legend": { - "calcs": [ - "lastNotNull" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "timezone": [ - "browser" - ], - "tooltip": { - "mode": "multi", - "sort": "desc" - } - }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "editorMode": "code", - "exemplar": true, - "expr": "sum(yearn_vault{network=\"$networks\", param=\"totalAssets\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"}) - on(vault, version) sum(yearn_strategy{network=\"$networks\", param=\"totalDebt\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"})", - "instant": false, - "interval": "", - "legendFormat": "Assets Free", - "queryType": "randomWalk", - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" }, - "editorMode": "code", - "exemplar": true, - "expr": "(sum(yearn_vault{network=\"$networks\", param=\"totalAssets\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"}) - on(vault, version) sum(yearn_strategy{network=\"$networks\", param=\"totalDebt\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"})) / (yearn_vault{network=\"$networks\", param=\"totalAssets\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"}) ", - "hide": false, - "interval": "", - "legendFormat": "% of Assets Free", - "range": true, - "refId": "B" - } - ], - "title": "Assets free in vault", - "transformations": [], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "description": "Breakdown of assets in vault", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "gridPos": { + "h": 9, + "w": 16, + "x": 0, + "y": 13 }, - "custom": { - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false + "id": 111, + "options": { + "legend": { + "calcs": [ + "lastNotNull" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "timezone": [ + "browser" + ], + "tooltip": { + "mode": "multi", + "sort": "desc" } }, - "decimals": 2, - "mappings": [], - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 8, - "x": 16, - "y": 13 - }, - "id": 81, - "options": { - "displayLabels": [ - "percent" - ], - "legend": { - "displayMode": "list", - "placement": "right", - "showLegend": false, - "values": [ - "percent" - ] - }, - "pieType": "pie", - "reduceOptions": { - "calcs": [ - "lastNotNull" + "pluginVersion": "9.2.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "editorMode": "code", + "exemplar": true, + "expr": "sum(yearn_vault{network=\"$networks\", param=\"totalAssets\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"}) - on(vault, version) sum(yearn_strategy{network=\"$networks\", param=\"totalDebt\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"})", + "instant": false, + "interval": "", + "legendFormat": "Assets Free", + "queryType": "randomWalk", + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "editorMode": "code", + "exemplar": true, + "expr": "(sum(yearn_vault{network=\"$networks\", param=\"totalAssets\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"}) - on(vault, version) sum(yearn_strategy{network=\"$networks\", param=\"totalDebt\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"})) / (yearn_vault{network=\"$networks\", param=\"totalAssets\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"}) ", + "hide": false, + "interval": "", + "legendFormat": "% of Assets Free", + "range": true, + "refId": "B" + } ], - "fields": "", - "values": false + "title": "Assets free in vault", + "transformations": [], + "type": "timeseries" }, - "text": {}, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "7.5.7", - "targets": [ { "datasource": { "type": "prometheus", "uid": "DS_PROMETHEUS" }, - "editorMode": "code", - "exemplar": false, - "expr": "sort_desc(yearn_strategy{network=\"$networks\", param=\"totalDebt\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"} > 0.01)", - "hide": false, - "instant": false, - "interval": "", - "legendFormat": "{{strategy}}", - "range": true, - "refId": "B" - } - ], - "title": "Strategy Allocations Overview", - "transformations": [], - "type": "piechart" - }, - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "description": "Total amount of Deposit tokens in strategy", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "TotalDebt (Assets) in Strategies", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 15, - "gradientMode": "hue", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false + "description": "Breakdown of assets in vault", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + } + }, + "decimals": 2, + "mappings": [], + "unit": "short" }, - "lineInterpolation": "stepAfter", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 8, + "x": 16, + "y": 13 + }, + "id": 81, + "options": { + "displayLabels": [ + "percent" + ], + "legend": { + "displayMode": "list", + "placement": "right", + "showLegend": false, + "values": [ + "percent" + ] }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" + "pieType": "pie", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false }, - "thresholdsStyle": { - "mode": "off" + "text": {}, + "tooltip": { + "mode": "single", + "sort": "none" } }, - "decimals": 2, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 24, - "x": 0, - "y": 22 - }, - "id": 13, - "options": { - "legend": { - "calcs": [ - "lastNotNull" + "pluginVersion": "7.5.7", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "editorMode": "code", + "exemplar": false, + "expr": "sort_desc(yearn_strategy{network=\"$networks\", param=\"totalDebt\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"} > 0.01)", + "hide": false, + "instant": false, + "interval": "", + "legendFormat": "{{strategy}}", + "range": true, + "refId": "B" + } ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Last *", - "sortDesc": true + "title": "Strategy Allocations Overview", + "transformations": [], + "type": "piechart" }, - "timezone": [ - "browser" - ], - "tooltip": { - "mode": "multi", - "sort": "desc" - } - }, - "pluginVersion": "9.2.0", - "targets": [ { "datasource": { "type": "prometheus", "uid": "DS_PROMETHEUS" }, - "editorMode": "code", - "exemplar": true, - "expr": "yearn_strategy{network=\"$networks\", param=\"totalDebt\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"}", - "instant": false, - "interval": "", - "legendFormat": "{{strategy}}", - "queryType": "randomWalk", - "refId": "A" - } - ], - "title": "totalDebt", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "description": "Total amount of assets in native token denomination delegated to other vaults", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0.0001, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 40, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "stepAfter", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" + "description": "Total amount of Deposit tokens in strategy", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "TotalDebt (Assets) in Strategies", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 15, + "gradientMode": "hue", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "stepAfter", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 2, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 24, + "x": 0, + "y": 22 + }, + "id": 13, + "options": { + "legend": { + "calcs": [ + "lastNotNull" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true, + "sortBy": "Last *", + "sortDesc": true }, - "thresholdsStyle": { - "mode": "off" + "timezone": [ + "browser" + ], + "tooltip": { + "mode": "multi", + "sort": "desc" } }, - "decimals": 2, - "mappings": [], - "min": 0.0001, - "noValue": "N/A", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "short" + "pluginVersion": "9.2.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "editorMode": "code", + "exemplar": true, + "expr": "yearn_strategy{network=\"$networks\", param=\"totalDebt\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"}", + "instant": false, + "interval": "", + "legendFormat": "{{strategy}}", + "queryType": "randomWalk", + "refId": "A" + } + ], + "title": "totalDebt", + "type": "timeseries" }, - "overrides": [ - { - "matcher": { - "id": "byFrameRefID", - "options": "A" - }, - "properties": [ - { - "id": "custom.hideFrom", - "value": { + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "description": "Total amount of assets in native token denomination delegated to other vaults", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "axisSoftMin": 0.0001, + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 40, + "gradientMode": "none", + "hideFrom": { "legend": false, "tooltip": false, "viz": false + }, + "lineInterpolation": "stepAfter", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" } + }, + "decimals": 2, + "mappings": [], + "min": 0.0001, + "noValue": "N/A", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "short" + }, + "overrides": [ + { + "matcher": { + "id": "byFrameRefID", + "options": "A" + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "legend": false, + "tooltip": false, + "viz": false + } + } + ] } ] - } - ] - }, - "gridPos": { - "h": 9, - "w": 13, - "x": 0, - "y": 31 - }, - "id": 112, - "options": { - "legend": { - "calcs": [ - "lastNotNull" + }, + "gridPos": { + "h": 9, + "w": 13, + "x": 0, + "y": 31 + }, + "id": 112, + "options": { + "legend": { + "calcs": [ + "lastNotNull" + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "pluginVersion": "9.2.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "editorMode": "code", + "exemplar": true, + "expr": "(yearn_strategy{network=\"$networks\", param=\"delegatedAssets\", experimental=\"$exp\", vault=\"$vaults\", version=\"$version\", address=\"$address\"} / 1000000000000000000) > 0", + "instant": false, + "interval": "", + "legendFormat": "{{strategy}}", + "queryType": "randomWalk", + "refId": "A" + } ], - "displayMode": "list", - "placement": "bottom", - "showLegend": true + "title": "Delegated Assets", + "type": "timeseries" }, - "tooltip": { - "mode": "multi", - "sort": "desc" - } - }, - "pluginVersion": "9.2.0", - "targets": [ { "datasource": { "type": "prometheus", "uid": "DS_PROMETHEUS" }, - "editorMode": "code", - "exemplar": true, - "expr": "(yearn_strategy{network=\"$networks\", param=\"delegatedAssets\", experimental=\"$exp\", vault=\"$vaults\", version=\"$version\", address=\"$address\"} / 1000000000000000000) > 0", - "instant": false, - "interval": "", - "legendFormat": "{{strategy}}", - "queryType": "randomWalk", - "refId": "A" - } - ], - "title": "Delegated Assets", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "description": "Total amount of assets in $ delegated to other vaults.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0.001, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 40, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "stepAfter", - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" + "description": "Total amount of assets in $ delegated to other vaults.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "axisSoftMin": 0.001, + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 40, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "stepAfter", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 2, + "mappings": [], + "noValue": "N/A", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 11, + "x": 13, + "y": 31 + }, + "id": 113, + "options": { + "legend": { + "calcs": [ + "lastNotNull" + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": true }, - "thresholdsStyle": { - "mode": "off" + "tooltip": { + "mode": "multi", + "sort": "desc" } }, - "decimals": 2, - "mappings": [], - "noValue": "N/A", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null + "pluginVersion": "9.2.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 11, - "x": 13, - "y": 31 - }, - "id": 113, - "options": { - "legend": { - "calcs": [ - "lastNotNull" + "editorMode": "code", + "exemplar": true, + "expr": "(yearn_strategy{network=\"$networks\", param=\"delegatedAssets\", experimental=\"$exp\",vault=\"$vaults\", version=\"$version\", address=\"$address\"} / 1000000000000000000 > 0) * on(vault, version) group_left yearn_vault{network=\"$networks\", param=\"token price\", experimental=\"$exp\", vault=\"$vaults\", version=\"$version\", address=\"$address\"}", + "instant": false, + "interval": "", + "legendFormat": "{{strategy}}", + "queryType": "randomWalk", + "refId": "A" + } ], - "displayMode": "list", - "placement": "bottom", - "showLegend": true + "title": "Delegated Assets $", + "type": "timeseries" }, - "tooltip": { - "mode": "multi", - "sort": "desc" - } - }, - "pluginVersion": "9.2.0", - "targets": [ { "datasource": { "type": "prometheus", "uid": "DS_PROMETHEUS" }, - "editorMode": "code", - "exemplar": true, - "expr": "(yearn_strategy{network=\"$networks\", param=\"delegatedAssets\", experimental=\"$exp\",vault=\"$vaults\", version=\"$version\", address=\"$address\"} / 1000000000000000000 > 0) * on(vault, version) group_left yearn_vault{network=\"$networks\", param=\"token price\", experimental=\"$exp\", vault=\"$vaults\", version=\"$version\", address=\"$address\"}", - "instant": false, - "interval": "", - "legendFormat": "{{strategy}}", - "queryType": "randomWalk", - "refId": "A" - } - ], - "title": "Delegated Assets $", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "description": "Price of deposit token", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "Token Price", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 60, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "stepAfter", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" + "description": "Price of deposit token", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "Token Price", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 60, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "stepAfter", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 5, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "currencyUSD" }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 24, + "x": 0, + "y": 40 + }, + "id": 114, + "options": { + "legend": { + "calcs": [ + "lastNotNull" + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": true }, - "thresholdsStyle": { - "mode": "off" + "tooltip": { + "mode": "multi", + "sort": "desc" } }, - "decimals": 5, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null + "pluginVersion": "9.2.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "currencyUSD" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 24, - "x": 0, - "y": 40 - }, - "id": 114, - "options": { - "legend": { - "calcs": [ - "lastNotNull" + "editorMode": "code", + "exemplar": true, + "expr": "yearn_vault{network=\"$networks\", param=\"token price\", experimental=\"$exp\", vault=\"$vaults\", version=\"$version\", address=\"$address\"}", + "instant": false, + "interval": "", + "legendFormat": "{{vault}} - {{param}}", + "queryType": "randomWalk", + "refId": "A" + } ], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "desc" + "title": "Deposit Token Price", + "type": "timeseries" } - }, - "pluginVersion": "9.2.0", + ], "targets": [ { "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" + "type": "datasource", + "uid": "grafana" }, - "editorMode": "code", - "exemplar": true, - "expr": "yearn_vault{network=\"$networks\", param=\"token price\", experimental=\"$exp\", vault=\"$vaults\", version=\"$version\", address=\"$address\"}", - "instant": false, - "interval": "", - "legendFormat": "{{vault}} - {{param}}", - "queryType": "randomWalk", "refId": "A" } ], - "title": "Deposit Token Price", - "type": "timeseries" + "title": "Assets Graphs", + "type": "row" }, { "collapsed": true, @@ -2634,7 +2652,7 @@ "h": 1, "w": 24, "x": 0, - "y": 49 + "y": 25 }, "id": 34, "panels": [ @@ -2655,7 +2673,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -2667,7 +2686,7 @@ "h": 3, "w": 4, "x": 0, - "y": 50 + "y": 5 }, "id": 28, "options": { @@ -2685,7 +2704,7 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "9.2.0", + "pluginVersion": "10.0.1", "targets": [ { "datasource": { @@ -2724,7 +2743,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -2736,7 +2756,7 @@ "h": 3, "w": 4, "x": 4, - "y": 50 + "y": 5 }, "id": 29, "options": { @@ -2754,7 +2774,7 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "9.2.0", + "pluginVersion": "10.0.1", "targets": [ { "datasource": { @@ -2792,7 +2812,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -2804,7 +2825,7 @@ "h": 3, "w": 4, "x": 8, - "y": 50 + "y": 5 }, "id": 48, "options": { @@ -2822,7 +2843,7 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "9.2.0", + "pluginVersion": "10.0.1", "targets": [ { "datasource": { @@ -2861,7 +2882,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -2873,7 +2895,7 @@ "h": 3, "w": 4, "x": 12, - "y": 50 + "y": 5 }, "id": 49, "options": { @@ -2891,7 +2913,7 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "9.2.0", + "pluginVersion": "10.0.1", "targets": [ { "datasource": { @@ -2929,7 +2951,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -2941,7 +2964,7 @@ "h": 3, "w": 4, "x": 16, - "y": 50 + "y": 5 }, "id": 50, "options": { @@ -2959,7 +2982,7 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "9.2.0", + "pluginVersion": "10.0.1", "targets": [ { "datasource": { @@ -2999,7 +3022,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -3011,7 +3035,7 @@ "h": 3, "w": 4, "x": 20, - "y": 50 + "y": 5 }, "id": 51, "options": { @@ -3029,7 +3053,7 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "9.2.0", + "pluginVersion": "10.0.1", "targets": [ { "datasource": { @@ -3067,7 +3091,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -3079,7 +3104,7 @@ "h": 3, "w": 4, "x": 0, - "y": 53 + "y": 8 }, "id": 82, "options": { @@ -3097,7 +3122,7 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "9.2.0", + "pluginVersion": "10.0.1", "targets": [ { "datasource": { @@ -3136,7 +3161,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -3148,7 +3174,7 @@ "h": 3, "w": 4, "x": 4, - "y": 53 + "y": 8 }, "id": 83, "options": { @@ -3166,7 +3192,7 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "9.2.0", + "pluginVersion": "10.0.1", "targets": [ { "datasource": { @@ -3204,7 +3230,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -3216,7 +3243,7 @@ "h": 3, "w": 4, "x": 8, - "y": 53 + "y": 8 }, "id": 84, "options": { @@ -3234,7 +3261,7 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "9.2.0", + "pluginVersion": "10.0.1", "targets": [ { "datasource": { @@ -3273,7 +3300,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -3285,7 +3313,7 @@ "h": 3, "w": 4, "x": 12, - "y": 53 + "y": 8 }, "id": 85, "options": { @@ -3303,7 +3331,7 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "9.2.0", + "pluginVersion": "10.0.1", "targets": [ { "datasource": { @@ -3340,7 +3368,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -3352,7 +3381,7 @@ "h": 3, "w": 4, "x": 16, - "y": 53 + "y": 8 }, "id": 86, "options": { @@ -3370,7 +3399,7 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "9.2.0", + "pluginVersion": "10.0.1", "targets": [ { "datasource": { @@ -3410,7 +3439,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -3422,7 +3452,7 @@ "h": 3, "w": 4, "x": 20, - "y": 53 + "y": 8 }, "id": 87, "options": { @@ -3440,7 +3470,7 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "9.2.0", + "pluginVersion": "10.0.1", "targets": [ { "datasource": { @@ -3507,7 +3537,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -3519,7 +3550,7 @@ "h": 10, "w": 24, "x": 0, - "y": 56 + "y": 11 }, "id": 14, "options": { @@ -3622,7 +3653,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -3634,7 +3666,7 @@ "h": 10, "w": 24, "x": 0, - "y": 66 + "y": 21 }, "id": 124, "options": { @@ -3704,7 +3736,7 @@ "type": "row" }, { - "collapsed": false, + "collapsed": true, "datasource": { "type": "datasource", "uid": "grafana" @@ -3713,221 +3745,222 @@ "h": 1, "w": 24, "x": 0, - "y": 50 + "y": 26 }, "id": 70, - "panels": [], - "targets": [ + "panels": [ { "datasource": { - "type": "datasource", - "uid": "grafana" - }, - "refId": "A" - } - ], - "title": "Assets Delta Extra", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "description": "Total amount of Gain - Loss ", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "type": "prometheus", + "uid": "DS_PROMETHEUS" }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 30, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "stepAfter", - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" + "description": "Total amount of Gain - Loss ", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 30, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "stepAfter", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 5, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" }, - "thresholdsStyle": { - "mode": "off" - } + "overrides": [] }, - "decimals": 5, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] + "gridPos": { + "h": 9, + "w": 24, + "x": 0, + "y": 6 + }, + "id": 52, + "options": { + "legend": { + "calcs": [ + "lastNotNull" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true, + "sortBy": "Last *", + "sortDesc": true + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 24, - "x": 0, - "y": 51 - }, - "id": 52, - "options": { - "legend": { - "calcs": [ - "lastNotNull" + "pluginVersion": "9.2.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "editorMode": "code", + "exemplar": true, + "expr": "sum by (strategy) (yearn_strategy{network=\"$networks\", param=~\"totalGain\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"}) - sum by (strategy) (yearn_strategy{network=\"$networks\", param=\"totalLoss\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"})", + "instant": false, + "interval": "", + "legendFormat": "{{strategy}}", + "queryType": "randomWalk", + "refId": "A" + } ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Last *", - "sortDesc": true + "title": "Total Gain - Loss ", + "type": "timeseries" }, - "tooltip": { - "mode": "multi", - "sort": "desc" - } - }, - "pluginVersion": "9.2.0", - "targets": [ { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, "datasource": { "type": "prometheus", "uid": "DS_PROMETHEUS" }, - "editorMode": "code", - "exemplar": true, - "expr": "sum by (strategy) (yearn_strategy{network=\"$networks\", param=~\"totalGain\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"}) - sum by (strategy) (yearn_strategy{network=\"$networks\", param=\"totalLoss\", vault=~\"$vaults\", experimental=\"$exp\", version=\"$version\", address=\"$address\"})", - "instant": false, - "interval": "", - "legendFormat": "{{strategy}}", - "queryType": "randomWalk", - "refId": "A" + "decimals": 2, + "description": "Rate of change of total 5m delta", + "fill": 10, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 15 + }, + "hiddenSeries": false, + "id": 53, + "legend": { + "alignAsTable": true, + "avg": false, + "current": false, + "max": true, + "min": false, + "rightSide": true, + "show": true, + "sort": "max", + "sortDesc": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "connected", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "10.0.1", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "exemplar": true, + "expr": "sum by (strategy) (delta(yearn_strategy{network=\"$networks\", param=~\"totalGain\", vault=~\"$vaults\", experimental=\"$exp\"}[5m])) - sum by (strategy) (delta(yearn_strategy{network=\"$networks\", param=\"totalLoss\", vault=~\"$vaults\", experimental=\"$exp\"}[5m]))", + "instant": false, + "interval": "", + "legendFormat": "{{strategy}}", + "queryType": "randomWalk", + "refId": "A" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Total Gain - Loss Delta", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:585", + "format": "short", + "label": "Rate of increase", + "logBase": 1, + "show": true + }, + { + "$$hashKey": "object:586", + "format": "short", + "logBase": 1, + "show": false + } + ], + "yaxis": { + "align": false + } } ], - "title": "Total Gain - Loss ", - "type": "timeseries" - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "decimals": 2, - "description": "Rate of change of total 5m delta", - "fill": 10, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 60 - }, - "hiddenSeries": false, - "id": 53, - "legend": { - "alignAsTable": true, - "avg": false, - "current": false, - "max": true, - "min": false, - "rightSide": true, - "show": true, - "sort": "max", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "connected", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.2.0", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, "targets": [ { "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" + "type": "datasource", + "uid": "grafana" }, - "exemplar": true, - "expr": "sum by (strategy) (delta(yearn_strategy{network=\"$networks\", param=~\"totalGain\", vault=~\"$vaults\", experimental=\"$exp\"}[5m])) - sum by (strategy) (delta(yearn_strategy{network=\"$networks\", param=\"totalLoss\", vault=~\"$vaults\", experimental=\"$exp\"}[5m]))", - "instant": false, - "interval": "", - "legendFormat": "{{strategy}}", - "queryType": "randomWalk", "refId": "A" } ], - "thresholds": [], - "timeRegions": [], - "title": "Total Gain - Loss Delta", - "tooltip": { - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:585", - "format": "short", - "label": "Rate of increase", - "logBase": 1, - "show": true - }, - { - "$$hashKey": "object:586", - "format": "short", - "logBase": 1, - "show": false - } - ], - "yaxis": { - "align": false - } + "title": "Assets Delta Extra", + "type": "row" }, { "collapsed": false, @@ -3939,7 +3972,7 @@ "h": 1, "w": 24, "x": 0, - "y": 68 + "y": 27 }, "id": 23, "panels": [], @@ -3984,7 +4017,7 @@ "h": 14, "w": 11, "x": 0, - "y": 69 + "y": 28 }, "id": 12, "options": { @@ -4002,7 +4035,7 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "9.2.0", + "pluginVersion": "10.0.1", "targets": [ { "datasource": { @@ -4052,7 +4085,7 @@ "h": 14, "w": 7, "x": 11, - "y": 69 + "y": 28 }, "id": 105, "options": { @@ -4070,7 +4103,7 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "9.2.0", + "pluginVersion": "10.0.1", "targets": [ { "datasource": { @@ -4121,7 +4154,7 @@ "h": 14, "w": 6, "x": 18, - "y": 69 + "y": 28 }, "id": 104, "options": { @@ -4139,7 +4172,7 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "9.2.0", + "pluginVersion": "10.0.1", "targets": [ { "datasource": { @@ -4193,7 +4226,7 @@ "h": 3, "w": 8, "x": 0, - "y": 83 + "y": 42 }, "id": 5, "options": { @@ -4211,7 +4244,7 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "9.2.0", + "pluginVersion": "10.0.1", "targets": [ { "datasource": { @@ -4267,7 +4300,7 @@ "h": 3, "w": 8, "x": 8, - "y": 83 + "y": 42 }, "id": 6, "options": { @@ -4285,7 +4318,7 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "9.2.0", + "pluginVersion": "10.0.1", "targets": [ { "datasource": { @@ -4343,7 +4376,7 @@ "h": 3, "w": 8, "x": 16, - "y": 83 + "y": 42 }, "id": 24, "options": { @@ -4361,7 +4394,7 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "9.2.0", + "pluginVersion": "10.0.1", "targets": [ { "datasource": { @@ -4416,7 +4449,7 @@ "h": 3, "w": 24, "x": 0, - "y": 86 + "y": 45 }, "id": 115, "options": { @@ -4434,7 +4467,7 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "9.2.0", + "pluginVersion": "10.0.1", "targets": [ { "datasource": { @@ -4515,7 +4548,7 @@ "h": 10, "w": 24, "x": 0, - "y": 89 + "y": 48 }, "id": 106, "options": { @@ -4615,7 +4648,7 @@ "h": 10, "w": 24, "x": 0, - "y": 99 + "y": 58 }, "id": 116, "options": { @@ -4656,7 +4689,7 @@ "type": "timeseries" }, { - "collapsed": false, + "collapsed": true, "datasource": { "type": "datasource", "uid": "grafana" @@ -4665,838 +4698,864 @@ "h": 1, "w": 24, "x": 0, - "y": 109 + "y": 68 }, "id": 36, - "panels": [], - "targets": [ - { - "datasource": { - "type": "datasource", - "uid": "grafana" - }, - "refId": "A" - } - ], - "title": "Static Variables", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "max": 100, - "min": 0, - "noValue": "No funds in strategy", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 20, - "w": 4, - "x": 0, - "y": 110 - }, - "id": 42, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "9.2.0", - "targets": [ + "panels": [ { "datasource": { "type": "prometheus", "uid": "DS_PROMETHEUS" }, - "exemplar": true, - "expr": "sort_desc((yearn_strategy{network=\"$networks\", param=\"debtRatio\", vault=~\"$vaults\", experimental=\"$exp\"}/100 > 0))", - "instant": false, - "interval": "", - "legendFormat": "{{strategy}}", - "queryType": "randomWalk", - "refId": "A" - } - ], - "title": "debtRatio Strategies", - "transformations": [], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "light-orange", - "mode": "fixed" + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "max": 100, + "min": 0, + "noValue": "No funds in strategy", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "percent" + }, + "overrides": [] }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] + "gridPos": { + "h": 20, + "w": 4, + "x": 0, + "y": 8 }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 20, - "w": 4, - "x": 4, - "y": 110 - }, - "id": 65, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" + "id": 42, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "10.0.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "exemplar": true, + "expr": "sort_desc((yearn_strategy{network=\"$networks\", param=\"debtRatio\", vault=~\"$vaults\", experimental=\"$exp\"}/100 > 0))", + "instant": false, + "interval": "", + "legendFormat": "{{strategy}}", + "queryType": "randomWalk", + "refId": "A" + } ], - "fields": "", - "values": false + "title": "debtRatio Strategies", + "transformations": [], + "type": "stat" }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "9.2.0", - "targets": [ { "datasource": { "type": "prometheus", "uid": "DS_PROMETHEUS" }, - "exemplar": true, - "expr": "sort_desc(yearn_strategy{network=\"$networks\", param=\"debtThreshold\", vault=~\"$vaults\", experimental=\"$exp\"}/1000000000000000)", - "interval": "", - "legendFormat": "{{strategy}}", - "queryType": "randomWalk", - "refId": "A" - } - ], - "title": "debtThreshold", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "description": "Max amount of allocatable funds per harvest", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "fixedColor": "light-orange", + "mode": "fixed" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "short" + }, + "overrides": [] }, - "mappings": [ + "gridPos": { + "h": 20, + "w": 4, + "x": 4, + "y": 8 + }, + "id": 65, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "10.0.1", + "targets": [ { - "options": { - "1.157920892373162e+59": { - "text": "Max" - }, - "1.157920892373162e+69": { - "text": "Max" - } + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" }, - "type": "value" + "exemplar": true, + "expr": "sort_desc(yearn_strategy{network=\"$networks\", param=\"debtThreshold\", vault=~\"$vaults\", experimental=\"$exp\"}/1000000000000000)", + "interval": "", + "legendFormat": "{{strategy}}", + "queryType": "randomWalk", + "refId": "A" } ], - "noValue": "N/A", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "light-blue", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 20, - "w": 4, - "x": 8, - "y": 110 - }, - "id": 45, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "last" - ], - "fields": "", - "values": false + "title": "debtThreshold", + "type": "stat" }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "9.2.0", - "targets": [ { "datasource": { "type": "prometheus", "uid": "DS_PROMETHEUS" }, - "exemplar": false, - "expr": "sort_desc(yearn_strategy{network=\"$networks\", param=\"maxDebtPerHarvest\", vault=~\"$vaults\", experimental=\"$exp\"})", - "instant": true, - "interval": "", - "legendFormat": "{{strategy}}", - "queryType": "randomWalk", - "refId": "A" - } - ], - "title": "maxDebtPerHarvest", - "transformations": [], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "description": "Vault debtRatio", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" + "description": "Max amount of allocatable funds per harvest", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "1.157920892373162e+59": { + "text": "Max" + }, + "1.157920892373162e+69": { + "text": "Max" + } + }, + "type": "value" + } + ], + "noValue": "N/A", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "light-blue", + "value": null + } + ] + }, + "unit": "none" + }, + "overrides": [] }, - "mappings": [], - "max": 100, - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "purple", - "value": null - } - ] + "gridPos": { + "h": 20, + "w": 4, + "x": 8, + "y": 8 }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 2, - "x": 12, - "y": 110 - }, - "id": 41, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" + "id": 45, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "last" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "10.0.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "exemplar": false, + "expr": "sort_desc(yearn_strategy{network=\"$networks\", param=\"maxDebtPerHarvest\", vault=~\"$vaults\", experimental=\"$exp\"})", + "instant": true, + "interval": "", + "legendFormat": "{{strategy}}", + "queryType": "randomWalk", + "refId": "A" + } ], - "fields": "", - "values": false + "title": "maxDebtPerHarvest", + "transformations": [], + "type": "stat" }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "9.2.0", - "targets": [ { "datasource": { "type": "prometheus", "uid": "DS_PROMETHEUS" }, - "exemplar": true, - "expr": "yearn_vault{network=\"$networks\", param=\"debtRatio\", vault=~\"$vaults\", experimental=\"$exp\"}/100", - "instant": false, - "interval": "", - "legendFormat": "{{param}}", - "queryType": "randomWalk", - "refId": "A" - } - ], - "title": "debtRatio Vault", - "transformations": [], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "description": "Strategies debtRatio summed", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "max": 100, - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "purple", - "value": null - } - ] + "description": "Vault debtRatio", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "max": 100, + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "purple", + "value": null + } + ] + }, + "unit": "percent" + }, + "overrides": [] }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 2, - "x": 14, - "y": 110 - }, - "id": 43, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" + "gridPos": { + "h": 4, + "w": 2, + "x": 12, + "y": 8 + }, + "id": 41, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "10.0.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "exemplar": true, + "expr": "yearn_vault{network=\"$networks\", param=\"debtRatio\", vault=~\"$vaults\", experimental=\"$exp\"}/100", + "instant": false, + "interval": "", + "legendFormat": "{{param}}", + "queryType": "randomWalk", + "refId": "A" + } ], - "fields": "", - "values": false + "title": "debtRatio Vault", + "transformations": [], + "type": "stat" }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "9.2.0", - "targets": [ { "datasource": { "type": "prometheus", "uid": "DS_PROMETHEUS" }, - "exemplar": false, - "expr": "sum(yearn_strategy{network=\"$networks\", param=\"debtRatio\", vault=~\"$vaults\", experimental=\"$exp\"}/100)", - "instant": true, - "interval": "", - "legendFormat": "{{strategy}}", - "queryType": "randomWalk", - "refId": "A" - } - ], - "title": "debtRatio Strategies", - "transformations": [], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "description": "Min amount of allocatable funds per harvest", - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "light-yellow", - "mode": "fixed" + "description": "Strategies debtRatio summed", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "max": 100, + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "purple", + "value": null + } + ] + }, + "unit": "percent" + }, + "overrides": [] }, - "mappings": [], - "noValue": "N/A", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] + "gridPos": { + "h": 4, + "w": 2, + "x": 14, + "y": 8 }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 20, - "w": 4, - "x": 16, - "y": 110 - }, - "id": 44, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "last" + "id": 43, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "10.0.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "exemplar": false, + "expr": "sum(yearn_strategy{network=\"$networks\", param=\"debtRatio\", vault=~\"$vaults\", experimental=\"$exp\"}/100)", + "instant": true, + "interval": "", + "legendFormat": "{{strategy}}", + "queryType": "randomWalk", + "refId": "A" + } ], - "fields": "", - "values": false + "title": "debtRatio Strategies", + "transformations": [], + "type": "stat" }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "9.2.0", - "targets": [ { "datasource": { "type": "prometheus", "uid": "DS_PROMETHEUS" }, - "exemplar": true, - "expr": "sort_desc(yearn_strategy{network=\"$networks\", param=\"minDebtPerHarvest\", vault=~\"$vaults\", experimental=\"$exp\"})", - "instant": false, - "interval": "", - "legendFormat": "{{strategy}}", - "queryType": "randomWalk", - "refId": "A" - } - ], - "title": "minDebtPerHarvest", - "transformations": [], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "description": "Activation Date", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "description": "Min amount of allocatable funds per harvest", + "fieldConfig": { + "defaults": { + "color": { + "fixedColor": "light-yellow", + "mode": "fixed" + }, + "mappings": [], + "noValue": "N/A", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "none" + }, + "overrides": [] }, - "custom": { - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - } + "gridPos": { + "h": 20, + "w": 4, + "x": 16, + "y": 8 }, - "mappings": [], - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 20, - "w": 4, - "x": 20, - "y": 110 - }, - "id": 40, - "options": { - "displayLabels": [], - "legend": { - "displayMode": "list", - "placement": "bottom", - "showLegend": false - }, - "pieType": "pie", - "reduceOptions": { - "calcs": [ - "lastNotNull" + "id": 44, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "last" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "10.0.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "exemplar": true, + "expr": "sort_desc(yearn_strategy{network=\"$networks\", param=\"minDebtPerHarvest\", vault=~\"$vaults\", experimental=\"$exp\"})", + "instant": false, + "interval": "", + "legendFormat": "{{strategy}}", + "queryType": "randomWalk", + "refId": "A" + } ], - "fields": "", - "values": false + "title": "minDebtPerHarvest", + "transformations": [], + "type": "stat" }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.2.0", - "targets": [ { "datasource": { "type": "prometheus", "uid": "DS_PROMETHEUS" }, - "exemplar": true, - "expr": "sort(time() - yearn_strategy{network=\"$networks\", param=\"activation\", vault=~\"$vaults\", experimental=\"$exp\"})", - "hide": false, - "interval": "", - "legendFormat": "{{strategy}}", - "refId": "B" - } - ], - "title": "Date Added ", - "transformations": [], - "transparent": true, - "type": "piechart" - }, - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "description": "Amount of funds to keep for withdrawals", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" + "description": "Activation Date", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + } + }, + "mappings": [], + "unit": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 20, + "w": 4, + "x": 20, + "y": 8 }, - "mappings": [], - "max": 100, - "min": 0, - "noValue": "N/A", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "purple", - "value": null - } - ] + "id": 40, + "options": { + "displayLabels": [], + "legend": { + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "pieType": "pie", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "tooltip": { + "mode": "single", + "sort": "none" + } }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 12, - "y": 114 - }, - "id": 61, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" + "pluginVersion": "9.2.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "exemplar": true, + "expr": "sort(time() - yearn_strategy{network=\"$networks\", param=\"activation\", vault=~\"$vaults\", experimental=\"$exp\"})", + "hide": false, + "interval": "", + "legendFormat": "{{strategy}}", + "refId": "B" + } ], - "fields": "", - "values": false + "title": "Date Added ", + "transformations": [], + "transparent": true, + "type": "piechart" }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "9.2.0", - "targets": [ { "datasource": { "type": "prometheus", "uid": "DS_PROMETHEUS" }, - "exemplar": true, - "expr": "yearn_strategy{network=\"$networks\", param=\"buffer\", vault=~\"$vaults\", experimental=\"$exp\"}/1000", - "instant": false, - "interval": "", - "legendFormat": "{{param}}", - "queryType": "randomWalk", - "refId": "A" - } - ], - "title": "buffer", - "transformations": [], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "description": "availableDepositLimit", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" + "description": "Amount of funds to keep for withdrawals", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "max": 100, + "min": 0, + "noValue": "N/A", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "purple", + "value": null + } + ] + }, + "unit": "percent" + }, + "overrides": [] }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "purple", - "value": null - } - ] + "gridPos": { + "h": 4, + "w": 4, + "x": 12, + "y": 12 }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 12, - "y": 118 - }, - "id": 39, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" + "id": 61, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "10.0.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "exemplar": true, + "expr": "yearn_strategy{network=\"$networks\", param=\"buffer\", vault=~\"$vaults\", experimental=\"$exp\"}/1000", + "instant": false, + "interval": "", + "legendFormat": "{{param}}", + "queryType": "randomWalk", + "refId": "A" + } ], - "fields": "", - "values": false + "title": "buffer", + "transformations": [], + "type": "stat" }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "9.2.0", - "targets": [ { "datasource": { "type": "prometheus", "uid": "DS_PROMETHEUS" }, - "exemplar": true, - "expr": "yearn_vault{network=\"$networks\", param=\"availableDepositLimit\", vault=~\"$vaults\", experimental=\"$exp\"}", - "instant": false, - "interval": "", - "legendFormat": "{{param}}", - "queryType": "randomWalk", - "refId": "A" - } - ], - "title": "Deposit Limit ", - "transformations": [], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" + "description": "availableDepositLimit", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "purple", + "value": null + } + ] + }, + "unit": "short" + }, + "overrides": [] }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "purple", - "value": null - } - ] + "gridPos": { + "h": 4, + "w": 4, + "x": 12, + "y": 16 + }, + "id": 39, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 12, - "y": 122 - }, - "id": 107, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" + "pluginVersion": "10.0.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "exemplar": true, + "expr": "yearn_vault{network=\"$networks\", param=\"availableDepositLimit\", vault=~\"$vaults\", experimental=\"$exp\"}", + "instant": false, + "interval": "", + "legendFormat": "{{param}}", + "queryType": "randomWalk", + "refId": "A" + } ], - "fields": "", - "values": false + "title": "Deposit Limit ", + "transformations": [], + "type": "stat" }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "9.2.0", - "targets": [ { "datasource": { "type": "prometheus", "uid": "DS_PROMETHEUS" }, - "exemplar": true, - "expr": "yearn_vault{network=\"$networks\", param=\"lockedProfit\", vault=~\"$vaults\", experimental=\"$exp\"}", - "instant": false, - "interval": "", - "legendFormat": "", - "queryType": "randomWalk", - "refId": "A" - } - ], - "title": "lockedProfit", - "transformations": [], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "purple", + "value": null + } + ] + }, + "unit": "short" + }, + "overrides": [] }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "purple", - "value": null - } - ] + "gridPos": { + "h": 4, + "w": 4, + "x": 12, + "y": 20 }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 12, - "y": 126 - }, - "id": 108, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" + "id": 107, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "10.0.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "exemplar": true, + "expr": "yearn_vault{network=\"$networks\", param=\"lockedProfit\", vault=~\"$vaults\", experimental=\"$exp\"}", + "instant": false, + "interval": "", + "legendFormat": "", + "queryType": "randomWalk", + "refId": "A" + } ], - "fields": "", - "values": false + "title": "lockedProfit", + "transformations": [], + "type": "stat" }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "9.2.0", - "targets": [ { "datasource": { "type": "prometheus", "uid": "DS_PROMETHEUS" }, - "exemplar": true, - "expr": "1e18 / yearn_vault{network=\"$networks\", param=\"lockedProfitDegradation\", vault=~\"$vaults\", experimental=\"$exp\"}", - "instant": false, - "interval": "", - "legendFormat": "", - "queryType": "randomWalk", + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "purple", + "value": null + } + ] + }, + "unit": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 4, + "x": 12, + "y": 24 + }, + "id": 108, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "10.0.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "exemplar": true, + "expr": "1e18 / yearn_vault{network=\"$networks\", param=\"lockedProfitDegradation\", vault=~\"$vaults\", experimental=\"$exp\"}", + "instant": false, + "interval": "", + "legendFormat": "", + "queryType": "randomWalk", + "refId": "A" + } + ], + "title": "lockedProfitDegradation", + "transformations": [], + "type": "stat" + } + ], + "targets": [ + { + "datasource": { + "type": "datasource", + "uid": "grafana" + }, "refId": "A" } ], - "title": "lockedProfitDegradation", - "transformations": [], - "type": "stat" + "title": "Static Variables", + "type": "row" } ], - "refresh": false, - "schemaVersion": 37, + "refresh": "", + "schemaVersion": 38, "style": "dark", "tags": [], "templating": { "list": [ { - "current": {}, - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" + "current": { + "selected": true, + "text": "eth", + "value": "ETH" }, - "definition": "yearn_strategy{param=\"totalLoss\"}", "hide": 0, "includeAll": false, "label": "network", "multi": false, "name": "networks", - "options": [], - "query": { - "query": "yearn_strategy{param=\"totalLoss\"}", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "/.*network=\"([^/\"]*).*/", + "options": [ + { + "selected": true, + "text": "eth", + "value": "ETH" + }, + { + "selected": false, + "text": "ftm", + "value": "FTM" + }, + { + "selected": false, + "text": "arbi", + "value": "ARB" + }, + { + "selected": false, + "text": "opti", + "value": "OPTI" + }, + { + "selected": false, + "text": "base", + "value": "BASE" + } + ], + "query": "eth : ETH, ftm : FTM, arbi : ARB, opti : OPTI, base : BASE", + "queryValue": "", "skipUrlSync": false, - "sort": 1, - "type": "query" + "type": "custom" }, { - "current": {}, - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" + "current": { + "selected": true, + "text": "yes", + "value": "false" }, - "definition": "yearn_vault{param=\"totalAssets\", network=\"$networks\"}", "hide": 0, "includeAll": false, - "label": "experimental", + "label": "Production?", "multi": false, "name": "exp", - "options": [], - "query": { - "query": "yearn_vault{param=\"totalAssets\", network=\"$networks\"}", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "/.*experimental=\"([^\"]*).*/", + "options": [ + { + "selected": true, + "text": "yes", + "value": "false" + }, + { + "selected": false, + "text": "no", + "value": "true" + } + ], + "query": "yes : false, no : true", + "queryValue": "", "skipUrlSync": false, - "sort": 1, - "type": "query" + "type": "custom" }, { "current": {}, @@ -5504,7 +5563,7 @@ "type": "prometheus", "uid": "DS_PROMETHEUS" }, - "definition": "yearn_strategy{network=\"$networks\", experimental=\"$exp\"}", + "definition": "yearn_vault{param=\"totalAssets\", network=\"$networks\", experimental=\"$exp\"}", "hide": 0, "includeAll": false, "label": "vaults", @@ -5512,8 +5571,8 @@ "name": "vaults", "options": [], "query": { - "query": "yearn_strategy{network=\"$networks\", experimental=\"$exp\"}", - "refId": "StandardVariableQuery" + "query": "yearn_vault{param=\"totalAssets\", network=\"$networks\", experimental=\"$exp\"}", + "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "/.*vault=\"([^\"]*).*/", @@ -5575,13 +5634,13 @@ ] }, "time": { - "from": "now-24h", + "from": "now-30d", "to": "now" }, "timepicker": {}, "timezone": "", "title": "Vault Overview", "uid": "apkUMx6nz", - "version": 53, + "version": 54, "weekStart": "" } \ No newline at end of file diff --git a/grafana/provisioning/dashboards/yearn/Overview.json b/grafana/provisioning/dashboards/yearn/Overview.json index b5793c997..fd6f5ec80 100644 --- a/grafana/provisioning/dashboards/yearn/Overview.json +++ b/grafana/provisioning/dashboards/yearn/Overview.json @@ -1,53 +1,4 @@ { - "__inputs": [ - { - "name": "DS_PROMETHEUS", - "label": "Prometheus", - "description": "", - "type": "datasource", - "pluginId": "prometheus", - "pluginName": "Prometheus" - } - ], - "__elements": {}, - "__requires": [ - { - "type": "grafana", - "id": "grafana", - "name": "Grafana", - "version": "9.2.0" - }, - { - "type": "panel", - "id": "graph", - "name": "Graph (old)", - "version": "" - }, - { - "type": "datasource", - "id": "prometheus", - "name": "Prometheus", - "version": "1.0.0" - }, - { - "type": "panel", - "id": "stat", - "name": "Stat", - "version": "" - }, - { - "type": "panel", - "id": "text", - "name": "Text", - "version": "" - }, - { - "type": "panel", - "id": "timeseries", - "name": "Time series", - "version": "" - } - ], "annotations": { "list": [ { @@ -73,7 +24,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": null, + "id": 33, "links": [], "liveNow": false, "panels": [ @@ -98,7 +49,7 @@ "content": "### Total Value Locked\ntotal value locked across yearn products", "mode": "markdown" }, - "pluginVersion": "9.2.0", + "pluginVersion": "10.2.0", "targets": [ { "datasource": { @@ -116,7 +67,7 @@ "type": "prometheus", "uid": "DS_PROMETHEUS" }, - "description": "This counts all tvl on all chains. This does not count Iron Bank TVL and does not subtract out delegated deposit.", + "description": "sum of v2 vaults tvl", "fieldConfig": { "defaults": { "color": { @@ -139,7 +90,7 @@ }, "gridPos": { "h": 3, - "w": 8, + "w": 4, "x": 4, "y": 0 }, @@ -159,7 +110,7 @@ "text": {}, "textMode": "value" }, - "pluginVersion": "9.2.0", + "pluginVersion": "10.2.0", "targets": [ { "datasource": { @@ -168,7 +119,7 @@ }, "editorMode": "code", "exemplar": true, - "expr": "sum(sum by (network, vault, address, version) (yearn_vault{param=\"tvl\", experimental=\"false\"})) + sum(iearn{param=\"tvl\"}) + sum(yearn{param=\"tvl\"})", + "expr": "sum(sum by (network, vault, address, version) (yearn_vault{param=\"tvl\", experimental=\"false\"})) + yeth{product=\"st-yETH\",param=\"tvl\"}", "hide": false, "instant": false, "interval": "", @@ -206,34 +157,135 @@ "type": "prometheus", "uid": "DS_PROMETHEUS" }, - "description": "total native tvl in layer 1s", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], - "noValue": "-", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "short" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "vecrv share" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#C0D8FF", + "mode": "fixed" + } + }, + { + "id": "unit", + "value": "percentunit" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "vecrv balance" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#8F3BB8", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 3, + "w": 2, + "x": 8, + "y": 0 + }, + "id": 51, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "10.2.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "editorMode": "code", + "exemplar": true, + "expr": "(veyfi{network=\"ETH\", param=\"supply\"} / 10^18) / (31231 - veyfi{network=\"ETH\", param=\"supply\"} / 10^18) ", + "hide": false, + "interval": "", + "legendFormat": "vecrv share", + "range": true, + "refId": "B" + } + ], + "title": "Locked YFI", + "transparent": true, + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "description": "Amount of ETH in st-yETH amm", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "decimals": 2, + "mappings": [], "thresholds": { "mode": "percentage", "steps": [ { - "color": "purple", + "color": "blue", "value": null } ] }, - "unit": "currencyUSD" + "unit": "none" }, "overrides": [] }, "gridPos": { "h": 3, - "w": 3, - "x": 12, + "w": 2, + "x": 11, "y": 0 }, - "id": 44, + "id": 60, "options": { "colorMode": "value", "graphMode": "area", @@ -249,7 +301,7 @@ "text": {}, "textMode": "value" }, - "pluginVersion": "9.2.0", + "pluginVersion": "10.2.0", "targets": [ { "datasource": { @@ -258,44 +310,26 @@ }, "editorMode": "code", "exemplar": true, - "expr": "sum(sum by (vault, version, address) (yearn_vault{param=\"tvl\", experimental=\"false\", network=\"ETH\"})) + sum(sum by (vault, version, address) (yearn_vault{param=\"tvl\", experimental=\"false\", network=\"FTM\"}))", + "expr": "yeth{product=\"st-yETH\", param=\"totalSupply\"}", + "hide": false, "instant": false, "interval": "", - "legendFormat": "l1 tvl", + "legendFormat": "tvl", "queryType": "randomWalk", - "refId": "A" - } - ], - "title": "total L1", - "transformations": [ - { - "id": "filterByValue", - "options": { - "filters": [ - { - "config": { - "id": "equal", - "options": { - "value": 0 - } - }, - "fieldName": "ftm tvl" - } - ], - "match": "any", - "type": "exclude" - } + "refId": "B" } ], + "title": "st-yETH", + "transformations": [], "transparent": true, "type": "stat" }, { "datasource": { "type": "prometheus", - "uid": "DS_PROMETHEUS" + "uid": "PBFE396EC0B189D67" }, - "description": "total native tvl in layer 2 vaults", + "description": "total native tvl in layer 1s", "fieldConfig": { "defaults": { "color": { @@ -319,10 +353,10 @@ "gridPos": { "h": 3, "w": 3, - "x": 15, + "x": 13, "y": 0 }, - "id": 49, + "id": 44, "options": { "colorMode": "value", "graphMode": "area", @@ -338,7 +372,7 @@ "text": {}, "textMode": "value" }, - "pluginVersion": "9.2.0", + "pluginVersion": "10.2.0", "targets": [ { "datasource": { @@ -347,35 +381,16 @@ }, "editorMode": "code", "exemplar": true, - "expr": "sum(sum by (vault, version, address) (yearn_vault{param=\"tvl\", experimental=\"false\", network=\"OPTI\"})) + sum(sum by (vault, version, address) (yearn_vault{param=\"tvl\", experimental=\"false\", network=\"ARB\"}))", + "expr": "(sum(sum by (vault, version, address) (yearn_vault{param=\"tvl\", experimental=\"false\", network=\"ETH\"})) or vector(0)) +\n(sum(sum by (vault, version, address) (yearn_vault{param=\"tvl\", experimental=\"false\", network=\"FTM\"})) or vector(0)) +\nyeth{product=\"st-yETH\",param=\"tvl\"}", "instant": false, "interval": "", - "legendFormat": "ftm tvl", + "legendFormat": "l1 tvl", "queryType": "randomWalk", "refId": "A" } ], - "title": "total L2", - "transformations": [ - { - "id": "filterByValue", - "options": { - "filters": [ - { - "config": { - "id": "equal", - "options": { - "value": 0 - } - }, - "fieldName": "ftm tvl" - } - ], - "match": "any", - "type": "exclude" - } - } - ], + "title": "total L1", + "transformations": [], "transparent": true, "type": "stat" }, @@ -384,19 +399,19 @@ "type": "prometheus", "uid": "DS_PROMETHEUS" }, - "description": "", + "description": "total native tvl in layer 2 vaults", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, - "decimals": 2, "mappings": [], + "noValue": "-", "thresholds": { - "mode": "absolute", + "mode": "percentage", "steps": [ { - "color": "super-light-blue", + "color": "purple", "value": null } ] @@ -408,14 +423,14 @@ "gridPos": { "h": 3, "w": 3, - "x": 18, + "x": 16, "y": 0 }, - "id": 48, + "id": 49, "options": { "colorMode": "value", "graphMode": "area", - "justifyMode": "auto", + "justifyMode": "center", "orientation": "auto", "reduceOptions": { "calcs": [ @@ -424,9 +439,10 @@ "fields": "", "values": false }, - "textMode": "auto" + "text": {}, + "textMode": "value" }, - "pluginVersion": "9.2.0", + "pluginVersion": "10.2.0", "targets": [ { "datasource": { @@ -434,15 +450,17 @@ "uid": "DS_PROMETHEUS" }, "editorMode": "code", - "exemplar": false, - "expr": "sum(treasury_assets{param=\"usd value\",bucket=\"Cash & cash equivalents\"}) - sum(treasury_debt{param=\"usd value\"})", + "exemplar": true, + "expr": "(sum(sum by (vault, version, address) (yearn_vault{param=\"tvl\", experimental=\"false\", network=\"OPTI\"})) or vector(0)) +\n(sum(sum by (vault, version, address) (yearn_vault{param=\"tvl\", experimental=\"false\", network=\"ARB\"})) or vector(0)) +\n(sum(sum by (vault, version, address) (yearn_vault{param=\"tvl\", experimental=\"false\", network=\"BASE\"})) or vector(0))", + "instant": false, "interval": "", - "legendFormat": "Liquid", - "range": true, + "legendFormat": "ftm tvl", + "queryType": "randomWalk", "refId": "A" } ], - "title": "Liquid Treasury", + "title": "total L2", + "transformations": [], "transparent": true, "type": "stat" }, @@ -507,8 +525,8 @@ }, "gridPos": { "h": 3, - "w": 3, - "x": 21, + "w": 2, + "x": 19, "y": 0 }, "id": 50, @@ -526,7 +544,7 @@ }, "textMode": "auto" }, - "pluginVersion": "9.2.0", + "pluginVersion": "10.2.0", "targets": [ { "datasource": { @@ -550,53 +568,122 @@ "type": "prometheus", "uid": "DS_PROMETHEUS" }, - "description": "This is just tvl summed and does not subtract out delegated deposits", + "description": "", "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": "stepAfter", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } + "mode": "thresholds" }, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "index": 0 - } - }, + "decimals": 2, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "super-light-blue", + "value": null + } + ] + }, + "unit": "currencyUSD" + }, + "overrides": [] + }, + "gridPos": { + "h": 3, + "w": 3, + "x": 21, + "y": 0 + }, + "id": 48, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "10.2.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "editorMode": "code", + "exemplar": false, + "expr": "sum(treasury_assets{param=\"usd value\",bucket=\"Cash & cash equivalents\"}) - sum(treasury_debt{param=\"usd value\"})", + "interval": "", + "legendFormat": "Liquid", + "range": true, + "refId": "A" + } + ], + "title": "Liquid Treasury", + "transparent": true, + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "description": "This is just tvl summed and does not subtract out delegated deposits", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "stepAfter", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [ + { + "options": { + "match": "null", + "result": { + "index": 0 + } + }, "type": "special" }, { @@ -663,12 +750,12 @@ }, "editorMode": "code", "exemplar": false, - "expr": "sum(iearn{param=\"tvl\"})", + "expr": "sum(sum by (vault, version, address) (yearn_vault{param=\"tvl\", experimental=\"false\", network=\"ETH\"}))", + "hide": false, "interval": "", - "legendFormat": "earn - eth", - "queryType": "randomWalk", + "legendFormat": "v2 - eth", "range": true, - "refId": "A" + "refId": "D" }, { "datasource": { @@ -677,12 +764,12 @@ }, "editorMode": "code", "exemplar": false, - "expr": "sum(yearn{param=\"tvl\", network=\"ETH\"})", + "expr": "sum(sum by (vault, version, address) (yearn_vault{param=\"tvl\", experimental=\"false\", network=\"FTM\"}))", "hide": false, "interval": "", - "legendFormat": "v1 - eth", + "legendFormat": "v2 - ftm", "range": true, - "refId": "C" + "refId": "E" }, { "datasource": { @@ -691,12 +778,12 @@ }, "editorMode": "code", "exemplar": false, - "expr": "sum(sum by (vault, version, address) (yearn_vault{param=\"tvl\", experimental=\"false\", network=\"ETH\"}))", + "expr": "sum(sum by (vault, version, address) (yearn_vault{param=\"tvl\", experimental=\"false\", network=\"OPTI\"}))", "hide": false, "interval": "", - "legendFormat": "v2 - eth", + "legendFormat": "v2 - opt", "range": true, - "refId": "D" + "refId": "B" }, { "datasource": { @@ -705,12 +792,12 @@ }, "editorMode": "code", "exemplar": false, - "expr": "sum(sum by (vault, version, address) (yearn_vault{param=\"tvl\", experimental=\"false\", network=\"FTM\"}))", + "expr": "sum(sum by (vault, version, address) (yearn_vault{param=\"tvl\", experimental=\"false\", network=\"ARB\"}))", "hide": false, "interval": "", - "legendFormat": "v2 - ftm", + "legendFormat": "v2 - arb", "range": true, - "refId": "E" + "refId": "F" }, { "datasource": { @@ -719,12 +806,12 @@ }, "editorMode": "code", "exemplar": false, - "expr": "sum(sum by (vault, version, address) (yearn_vault{param=\"tvl\", experimental=\"false\", network=\"OPTI\"}))", + "expr": "sum(sum by (vault, version, address) (yearn_vault{param=\"tvl\", experimental=\"false\", network=\"BASE\"}))", "hide": false, "interval": "", - "legendFormat": "v2 - opt", + "legendFormat": "v2 - base", "range": true, - "refId": "B" + "refId": "G" }, { "datasource": { @@ -732,13 +819,12 @@ "uid": "DS_PROMETHEUS" }, "editorMode": "code", - "exemplar": false, - "expr": "sum(sum by (vault, version, address) (yearn_vault{param=\"tvl\", experimental=\"false\", network=\"ARB\"}))", + "expr": "yeth{product=\"st-yETH\",param=\"tvl\"}", "hide": false, - "interval": "", - "legendFormat": "v2 - arb", + "instant": false, + "legendFormat": "{{product}}", "range": true, - "refId": "F" + "refId": "A" } ], "title": "yearn tvl", @@ -756,6 +842,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -769,6 +856,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "stepAfter", "lineWidth": 1, "pointSize": 5, @@ -835,12 +923,12 @@ }, "editorMode": "code", "exemplar": false, - "expr": "sum(delta(iearn{param=\"tvl\", network=\"ETH\"}[1d]))", + "expr": "sum(delta(yearn_vault{param=\"tvl\", network=\"ETH\", experimental=\"false\"}[1d]))", + "hide": false, "interval": "", - "legendFormat": "earn - eth", - "queryType": "randomWalk", + "legendFormat": "v2 - eth", "range": true, - "refId": "A" + "refId": "D" }, { "datasource": { @@ -849,12 +937,12 @@ }, "editorMode": "code", "exemplar": false, - "expr": "sum(delta(yearn{param=\"tvl\", network=\"ETH\"}[1d]))", + "expr": "sum(delta(yearn_vault{param=\"tvl\", network=\"FTM\", experimental=\"false\"}[1d]))", "hide": false, "interval": "", - "legendFormat": "v1 - eth", + "legendFormat": "v2 - ftm", "range": true, - "refId": "C" + "refId": "E" }, { "datasource": { @@ -862,13 +950,11 @@ "uid": "DS_PROMETHEUS" }, "editorMode": "code", - "exemplar": false, - "expr": "sum(delta(yearn_vault{param=\"tvl\", network=\"ETH\", experimental=\"false\"}[1d]))", + "expr": "sum(delta(yearn_vault{param=\"tvl\", network=\"OPTI\", experimental=\"false\"}[1d]))", "hide": false, - "interval": "", - "legendFormat": "v2 - eth", + "legendFormat": "v2 - opt", "range": true, - "refId": "D" + "refId": "B" }, { "datasource": { @@ -876,13 +962,11 @@ "uid": "DS_PROMETHEUS" }, "editorMode": "code", - "exemplar": false, - "expr": "sum(delta(yearn_vault{param=\"tvl\", network=\"FTM\", experimental=\"false\"}[1d]))", + "expr": "sum(delta(yearn_vault{param=\"tvl\", network=\"ARB\", experimental=\"false\"}[1d]))", "hide": false, - "interval": "", - "legendFormat": "v2 - ftm", + "legendFormat": "v2 - arb", "range": true, - "refId": "E" + "refId": "F" }, { "datasource": { @@ -890,11 +974,11 @@ "uid": "DS_PROMETHEUS" }, "editorMode": "code", - "expr": "sum(delta(yearn_vault{param=\"tvl\", network=\"OPTI\", experimental=\"false\"}[1d]))", + "expr": "sum(delta(yearn_vault{param=\"tvl\", network=\"BASE\", experimental=\"false\"}[1d]))", "hide": false, - "legendFormat": "v2 - opt", + "legendFormat": "v2 - base", "range": true, - "refId": "B" + "refId": "G" }, { "datasource": { @@ -902,11 +986,11 @@ "uid": "DS_PROMETHEUS" }, "editorMode": "code", - "expr": "sum(delta(yearn_vault{param=\"tvl\", network=\"ARB\", experimental=\"false\"}[1d]))", + "expr": "sum(delta(yeth{product=\"st-yETH\",param=\"tvl\"}[1d]))", "hide": false, - "legendFormat": "v2 - arb", + "legendFormat": "st-yETH", "range": true, - "refId": "F" + "refId": "A" } ], "title": "yearn tvl daily change", @@ -918,12 +1002,14 @@ "type": "prometheus", "uid": "DS_PROMETHEUS" }, + "description": "Yearn's locked CRV balance", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -937,6 +1023,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "stepAfter", "lineWidth": 1, "pointSize": 5, @@ -1061,7 +1148,7 @@ "refId": "B" } ], - "title": "vecrv balance", + "title": "veCRV", "type": "timeseries" }, { @@ -1069,32 +1156,35 @@ "type": "prometheus", "uid": "DS_PROMETHEUS" }, + "description": "Total locked YFI", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "tvl", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", + "fillOpacity": 50, + "gradientMode": "opacity", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, - "pointSize": 5, + "pointSize": 1, "scaleDistribution": { "type": "linear" }, - "showPoints": "never", + "showPoints": "auto", "spanNulls": true, "stacking": { "group": "A", @@ -1111,16 +1201,58 @@ { "color": "green", "value": null - }, - { - "color": "red", - "value": 80 } ] }, "unit": "short" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Locked YFI" + }, + "properties": [ + { + "id": "custom.fillBelowTo", + "value": "Locked veYFI" + }, + { + "id": "color", + "value": { + "fixedColor": "purple", + "mode": "fixed" + } + }, + { + "id": "custom.fillOpacity", + "value": 50 + }, + { + "id": "custom.fillBelowTo" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Locked veYFI" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "dark-blue", + "mode": "fixed" + } + }, + { + "id": "custom.axisPlacement", + "value": "right" + } + ] + } + ] }, "gridPos": { "h": 7, @@ -1128,24 +1260,21 @@ "x": 12, "y": 10 }, - "id": 32, + "id": 53, "options": { "legend": { "calcs": [ "lastNotNull" ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Last *", - "sortDesc": true + "displayMode": "list", + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "single", - "sort": "asc" + "sort": "none" } }, - "pluginVersion": "9.2.0", "targets": [ { "datasource": { @@ -1153,11 +1282,10 @@ "uid": "DS_PROMETHEUS" }, "editorMode": "code", - "exemplar": false, - "expr": "yearn_vault{param=\"tvl\", experimental=\"false\", vault!~\"yvUSDC 0.2.2|yvDAI 0.2.2|yvWBTC 0.3.1|yvHEGIC 0.3.0\", network=\"ETH\"}", + "exemplar": true, + "expr": "veyfi{network=\"ETH\", param=\"totalSupply\"} / 1000000000000000000", "interval": "", - "legendFormat": "{{vault}} - {{network}}", - "queryType": "randomWalk", + "legendFormat": "Locked veYFI", "range": true, "refId": "A" }, @@ -1168,40 +1296,15 @@ }, "editorMode": "code", "exemplar": true, - "expr": "yearn_vault{param=\"tvl\", experimental=\"false\", network=\"FTM\"}", + "expr": "veyfi{network=\"ETH\", param=\"supply\"} / 1000000000000000000", "hide": false, "interval": "", - "legendFormat": "{{vault}} - FTM", - "queryType": "randomWalk", + "legendFormat": "Locked YFI", "range": true, "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "editorMode": "code", - "expr": "yearn_vault{param=\"tvl\", experimental=\"false\", network=\"OPTI\"}", - "hide": false, - "legendFormat": "{{vault}} - {{network}}", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "editorMode": "code", - "expr": "yearn_vault{param=\"tvl\", experimental=\"false\", network=\"ARB\"}", - "hide": false, - "legendFormat": "{{vault}} - {{network}}", - "range": true, - "refId": "D" } ], - "title": "vault aum", + "title": "veYFI", "type": "timeseries" }, { @@ -1209,17 +1312,18 @@ "type": "prometheus", "uid": "DS_PROMETHEUS" }, + "description": "Boost is how much yETH is staked into st-yETH custom amm. If more yETH goes to lp in the curve yETH-eth pool then less % is staked in st-yETH causing the boost to increase. \nIf pool_supply < total_assets boost > 100%", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, - "axisColorMode": "text", + "axisColorMode": "series", "axisLabel": "", "axisPlacement": "auto", - "axisSoftMax": 0.1, "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, @@ -1229,16 +1333,15 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { - "linearThreshold": 1, - "log": 2, - "type": "symlog" + "type": "linear" }, - "showPoints": "never", - "spanNulls": true, + "showPoints": "auto", + "spanNulls": false, "stacking": { "group": "A", "mode": "none" @@ -1257,37 +1360,79 @@ } ] }, - "unit": "dtdurations" + "unit": "percentunit" }, - "overrides": [] - }, - "gridPos": { + "overrides": [ + { + "matcher": { + "id": "byFrameRefID", + "options": "B" + }, + "properties": [ + { + "id": "custom.axisPlacement", + "value": "right" + }, + { + "id": "custom.spanNulls", + "value": true + }, + { + "id": "custom.axisLabel", + "value": "% ETH staked" + }, + { + "id": "color", + "value": { + "fixedColor": "light-purple", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byFrameRefID", + "options": "A" + }, + "properties": [ + { + "id": "custom.axisLabel", + "value": "st-yETH APY" + }, + { + "id": "color", + "value": { + "fixedColor": "blue", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { "h": 7, "w": 12, "x": 0, "y": 17 }, - "id": 27, + "id": 62, "options": { "legend": { "calcs": [ "lastNotNull" ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Last *", - "sortDesc": false + "displayMode": "list", + "placement": "bottom", + "showLegend": true }, - "timezone": [ - "browser" - ], "tooltip": { "mode": "single", - "sort": "asc" + "sort": "none" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "10.0.1", "targets": [ { "datasource": { @@ -1295,11 +1440,9 @@ "uid": "DS_PROMETHEUS" }, "editorMode": "code", - "exemplar": false, - "expr": "time() - yearn_vault{param=\"lastReport\", experimental=\"false\", vault!~\"yvUSDC 0.2.2|yvDAI 0.2.2|yvWBTC 0.3.1|yvHEGIC 0.3.0\", network=\"ETH\"}", - "interval": "", - "legendFormat": "{{vault}}", - "queryType": "randomWalk", + "expr": "yeth{product=\"st-yETH\",param=\"net_apy\"}", + "instant": false, + "legendFormat": "{{param}}", "range": true, "refId": "A" }, @@ -1309,41 +1452,15 @@ "uid": "DS_PROMETHEUS" }, "editorMode": "code", - "exemplar": false, - "expr": "time() - yearn_vault{param=\"lastReport\", experimental=\"false\", network=\"FTM\"}", + "expr": "yeth{product=\"st-yETH\", param=\"boost\"}", "hide": false, - "interval": "", - "legendFormat": "{{vault}} - FTM", - "queryType": "randomWalk", + "instant": false, + "legendFormat": "% yETH staked in st-yETH", "range": true, "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "editorMode": "code", - "expr": "time() - yearn_vault{param=\"lastReport\", experimental=\"false\", network=\"OPTI\"}", - "hide": false, - "legendFormat": "{{vault}} - OPTI", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "editorMode": "code", - "expr": "time() - yearn_vault{param=\"lastReport\", experimental=\"false\", network=\"ARB\"}", - "hide": false, - "legendFormat": "{{vault}} - ARB", - "range": true, - "refId": "D" } ], - "title": "time since last report", + "title": "st-yETH APY vs % Staked in st-yETH", "type": "timeseries" }, { @@ -1351,14 +1468,16 @@ "type": "prometheus", "uid": "DS_PROMETHEUS" }, + "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, - "axisColorMode": "text", + "axisColorMode": "series", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1370,23 +1489,23 @@ "tooltip": false, "viz": false }, - "lineInterpolation": "stepAfter", + "insertNulls": false, + "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, - "showPoints": "never", + "showPoints": "auto", "spanNulls": true, "stacking": { "group": "A", - "mode": "none" + "mode": "normal" }, "thresholdsStyle": { "mode": "off" } }, - "decimals": 6, "mappings": [], "thresholds": { "mode": "absolute", @@ -1394,160 +1513,54 @@ { "color": "green", "value": null - }, - { - "color": "red", - "value": 80 } ] }, - "unit": "none" + "unit": "currencyUSD" }, "overrides": [ { - "__systemRef": "hideSeriesFrom", "matcher": { - "id": "byNames", - "options": { - "mode": "exclude", - "names": [ - "yvCurve-UST 0.4.3 - ETH", - "yvCurve-HUSD 0.3.5 - ETH", - "yvCurve-EURT 0.4.3 - ETH", - "yvCurve-ibAUD-USDC 0.4.3 - ETH", - "yvCurve-ankrETH 0.3.5 - ETH", - "yvCurve-CVXETH 0.4.3 - ETH", - "yvCurve-d3pool 0.4.3 - ETH", - "yvDAI 0.3.0 - ETH", - "yvCurve-UST 0.3.5 - ETH", - "yvCurve-ibAUD 0.4.3 - ETH", - "yvCurve-tBTC 0.3.5 - ETH", - "yvCurve-EURS 0.3.5 - ETH", - "st-yCRV 0.4.3 - ETH", - "yvCurve-IronBank 0.3.2 - ETH", - "yvCurve-USDT 0.3.5 - ETH", - "yvCurve-RAI 0.4.3 - ETH", - "yvCurve-MIM 0.4.3 - ETH", - "yvCurve-GUSD 0.3.5 - ETH", - "yvCurve-ibCHF-USDC 0.4.3 - ETH", - "yvCurve-DUSD 0.3.5 - ETH", - "yvCurve-STG-USDC 0.4.3 - ETH", - "yvLUSD 0.4.3 - ETH", - "yvCurve-Aave 0.3.5 - ETH", - "yvUSDT 0.4.3 - ETH", - "yvCurve-USDN 0.3.5 - ETH", - "yvCurve-USDK 0.3.5 - ETH", - "yvCurve-triCrypto 0.4.2 - ETH", - "yvCurve-pBTC 0.3.5 - ETH", - "yvBalancer-BoostedAaveUSD 0.4.3 - ETH", - "yvCurve-cvxCRV 0.4.3 - ETH", - "yvCurve-ibCHF 0.4.3 - ETH", - "yvCOMP 0.4.3 - ETH", - "yUSD 0.3.5 - ETH", - "yvCurve-ibKRW 0.4.3 - ETH", - "yvCurve-ibJPY 0.4.3 - ETH", - "yvCurve-ibGBP 0.4.3 - ETH", - "yvCurve-3EUR 0.4.3 - ETH", - "yvCurve-sUSD 0.3.5 - ETH", - "yvCurve-rETHwstETH 0.4.3 - ETH", - "yvCurve-ibBTC 0.4.3 - ETH", - "yvUSDC 0.3.0 - ETH", - "yvCurve-LUSD 0.3.5 - ETH", - "yvCurve-stETH-WETH 0.4.3 - ETH", - "lp-yCRV 0.4.3 - ETH", - "yvCurve-HBTC 0.3.3 - ETH", - "yvLINK 0.4.2 - ETH", - "yvCurve-ibEUR 0.4.3 - ETH", - "yvCurve-CRVETH 0.4.3 - ETH", - "yvCurve-ibGBP-USDC 0.4.3 - ETH", - "yvCurve-BUSD 0.3.5 - ETH", - "yvSUSHI 0.4.3 - ETH", - "yvCurve-renBTC 0.3.5 - ETH", - "yvCurve-alETH 0.4.3 - ETH", - "yvCurve-YFIETH 0.4.3 - ETH", - "yvUSDT 0.3.5 - ETH", - "yvCurve-EURSUSDC 0.4.3 - ETH", - "yvCurve-Pax 0.3.5 - ETH", - "yvCurve-sBTC 0.3.5 - ETH", - "yvCurve-3pool 0.3.5 - ETH", - "yvRAI 0.4.2 - ETH", - "yvCurve-EURN 0.4.3 - ETH", - "yvCurve-mUSD 0.3.5 - ETH", - "yvCurve-yBUSD 0.3.5 - ETH", - "yvCurve-BBTC 0.3.5 - ETH", - "yvCurve-ibJPY-USDC 0.4.3 - ETH", - "yvWBTC 0.3.5 - ETH", - "yvCurve-alUSD 0.3.5 - ETH", - "yvCurve-FRAX 0.3.5 - ETH", - "yv1INCH 0.3.2 - ETH", - "yvCurve-EURTUSD 0.4.3 - ETH", - "yvDAI 0.2.2 - ETH", - "yvCurve-rETH 0.3.5 - ETH", - "yvCurve-RSV 0.3.5 - ETH", - "yvCurve-USDP 0.3.5 - ETH", - "yvCurve-Compound 0.3.5 - ETH", - "yvYFI 0.3.2 - ETH", - "yvCurve-3Crypto 0.4.3 - ETH", - "yvCurve-ibEUR-USDC 0.4.3 - ETH", - "yvSNX 0.3.5 - ETH", - "yvCurve-OUSD 0.4.3 - ETH", - "yvCurve-ibKRW-USDC 0.4.3 - ETH", - "yvUNI 0.3.5 - ETH", - "yvTUSD 0.4.3 - ETH", - "yvWETH 0.4.2 - ETH", - "yvUSDC 0.4.3 - ETH", - "yvsUSD 0.3.3 - ETH", - "yvWETH 0.3.2 - ETH", - "yvKP3RETH-f 0.4.3 - ETH", - "yvCurve-sAave 0.3.5 - ETH", - "yvCurve-USDP 0.4.3 - ETH", - "yvWBTC 0.3.1 - ETH", - "yvCurve-DOLA 0.4.3 - ETH", - "yvCurve-MIMUST 0.4.3 - ETH", - "yvAAVE 0.4.3 - ETH", - "yvDAI 0.4.3 - ETH", - "yvCurve-stETH 0.3.0 - ETH", - "yvYFI 0.4.3 - ETH", - "yvHEGIC 0.3.0 - ETH", - "yvUSDC 0.2.2 - ETH", - "yvCurve-oBTC 0.3.5 - ETH", - "yvCurve-LINK 0.3.5 - ETH", - "yvCurve-TUSD 0.3.5 - ETH", - "yvAVAX 0.4.3 - FTM", - "yvCRV 0.4.3 - FTM", - "yvMIM 0.4.3 - FTM", - "yvBOO 0.4.3 - FTM", - "yvUSDT 0.4.3 - FTM", - "yvDOLA 0.4.3 - FTM", - "yvfBEETS 0.4.3 - FTM", - "yvYFI 0.4.3 - FTM", - "yvFRAX 0.4.3 - FTM", - "yvDAI 0.4.3 - FTM", - "yvCurve-MIM 0.4.3 - FTM", - "yvCurve-Tricrypto 0.4.3 - FTM", - "yvWETH 0.4.3 - FTM", - "yvSPELL 0.4.3 - FTM", - "yvUSDC 0.4.3 - FTM", - "yvCurve-Geist 0.4.3 - FTM", - "yvWBTC 0.4.3 - FTM", - "yvLINK 0.4.3 - FTM", - "yvWBTC 0.4.4 - OPTI", - "yvWETH 0.4.4 - OPTI", - "yvsUSD 0.4.4 - OPTI", - "yvDAI 0.4.4 - OPTI", - "yvCurve-Tricrypto 0.4.3 - ARB" - ], - "prefix": "All except:", - "readOnly": true + "id": "byFrameRefID", + "options": "B" + }, + "properties": [ + { + "id": "custom.axisPlacement", + "value": "right" + }, + { + "id": "custom.axisLabel", + "value": "Ether" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "color", + "value": { + "fixedColor": "#ffffff", + "mode": "fixed" + } } + ] + }, + { + "matcher": { + "id": "byFrameRefID", + "options": "A" }, "properties": [ { - "id": "custom.hideFrom", + "id": "custom.axisLabel", + "value": "TVL" + }, + { + "id": "color", "value": { - "legend": false, - "tooltip": false, - "viz": true + "fixedColor": "#28cac2", + "mode": "fixed" } } ] @@ -1560,24 +1573,22 @@ "x": 12, "y": 17 }, - "id": 24, + "id": 61, "options": { "legend": { "calcs": [ "lastNotNull" ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Last *", - "sortDesc": true + "displayMode": "list", + "placement": "bottom", + "showLegend": true }, "tooltip": { - "mode": "multi", - "sort": "desc" + "mode": "single", + "sort": "none" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "10.0.1", "targets": [ { "datasource": { @@ -1585,25 +1596,10 @@ "uid": "DS_PROMETHEUS" }, "editorMode": "code", - "exemplar": false, - "expr": "yearn_vault{param=\"pricePerShare\",experimental=\"false\", network=\"ETH\"}", - "hide": false, - "interval": "", - "legendFormat": "{{vault}} - {{network}}", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "editorMode": "code", - "exemplar": false, - "expr": "yearn_vault{param=\"pricePerShare\",experimental=\"false\", network=\"FTM\"}", + "expr": "yeth{product=\"st-yETH\",param=\"totalSupply\"}", "hide": false, - "interval": "", - "legendFormat": "{{vault}} - {{network}}", + "instant": false, + "legendFormat": "{{product}} {{param}} ", "range": true, "refId": "B" }, @@ -1613,175 +1609,1285 @@ "uid": "DS_PROMETHEUS" }, "editorMode": "code", - "exemplar": false, - "expr": "yearn_vault{param=\"pricePerShare\",experimental=\"false\", network=\"OPTI\"}", - "hide": false, - "interval": "", - "legendFormat": "{{vault}} - {{network}}", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "editorMode": "code", - "exemplar": false, - "expr": "yearn_vault{param=\"pricePerShare\",experimental=\"false\", network=\"ARB\"}", + "expr": "yeth{product=\"st-yETH\",param=\"tvl\"}", "hide": false, - "interval": "", - "legendFormat": "{{vault}} - {{network}}", + "instant": false, + "legendFormat": "{{product}} {{param}} ", "range": true, - "refId": "D" + "refId": "A" } ], - "title": "share price", + "title": "Total Supply of st-yETH in the AMM pool", "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "DS_PROMETHEUS" - }, - "description": "Annualized Share Price change > 0", - "fill": 0, - "fillGradient": 0, + "collapsed": true, "gridPos": { - "h": 7, + "h": 1, "w": 24, "x": 0, "y": 24 }, - "hiddenSeries": false, - "id": 25, - "legend": { - "alignAsTable": true, - "avg": false, - "current": false, - "hideEmpty": true, - "hideZero": true, - "max": true, - "min": false, - "rightSide": true, - "show": true, - "sort": "max", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "connected", - "options": { - "alertThreshold": false - }, - "percentage": false, - "pluginVersion": "9.2.0", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "$$hashKey": "object:143", - "alias": "yvALCX 0.3.2 0x19b8Bc - exp", - "hiddenSeries": true - }, + "id": 55, + "panels": [ { - "$$hashKey": "object:233", - "alias": "GUSD", - "hiddenSeries": true + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "tvl", + "axisPlacement": "auto", + "barAlignment": 0, + "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": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 12, + "x": 0, + "y": 33 + }, + "id": 56, + "options": { + "legend": { + "calcs": [ + "lastNotNull" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true, + "sortBy": "Last *", + "sortDesc": true + }, + "tooltip": { + "mode": "single", + "sort": "asc" + } + }, + "pluginVersion": "9.2.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "editorMode": "code", + "exemplar": false, + "expr": "yearn_vault{param=\"tvl\", experimental=\"false\"}", + "interval": "", + "legendFormat": "{{vault}} - {{network}}", + "queryType": "randomWalk", + "range": true, + "refId": "A" + } + ], + "title": "vault aum", + "type": "timeseries" }, - { - "$$hashKey": "object:325", - "alias": "curve.fi/pbtc", - "hiddenSeries": true - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": true, - "targets": [ { "datasource": { "type": "prometheus", "uid": "DS_PROMETHEUS" }, - "exemplar": true, - "expr": "delta(yearn_vault{param=\"pricePerShare\",experimental=\"false\", network=\"ETH\"}[1d]) * 365 > 0", - "interval": "", - "legendFormat": "{{vault}}", - "queryType": "randomWalk", - "refId": "A" + "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 + }, + "insertNulls": false, + "lineInterpolation": "stepAfter", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 6, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 12, + "x": 12, + "y": 33 + }, + "id": 57, + "options": { + "legend": { + "calcs": [ + "lastNotNull" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "pluginVersion": "9.2.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "editorMode": "code", + "exemplar": false, + "expr": "yearn_vault{param=\"pricePerShare\",experimental=\"false\"}", + "hide": false, + "interval": "", + "legendFormat": "{{vault}} - {{network}}", + "range": true, + "refId": "A" + } + ], + "title": "share price", + "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "DS_PROMETHEUS" }, - "exemplar": true, - "expr": "delta(yearn_vault{param=\"pricePerShare\",experimental=\"false\", network=\"FTM\"}[1d]) * 365 > 0", - "hide": false, - "interval": "", - "legendFormat": "{{vault}} - FTM", - "queryType": "randomWalk", - "refId": "B" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "price per share change 1d annualized", - "tooltip": { - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:38", - "format": "none", - "logBase": 1, - "show": true + "description": "Time since last report on vault.\nNot all harvests will yield a profit", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "axisSoftMax": 0.1, + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "linearThreshold": 1, + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + } + ] + }, + "unit": "dtdurations" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 39 + }, + "id": 58, + "options": { + "legend": { + "calcs": [ + "lastNotNull" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true, + "sortBy": "Last *", + "sortDesc": false + }, + "timezone": [ + "browser" + ], + "tooltip": { + "mode": "single", + "sort": "asc" + } + }, + "pluginVersion": "9.2.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "editorMode": "code", + "exemplar": false, + "expr": "time() - yearn_vault{param=\"lastReport\", experimental=\"false\"}", + "interval": "", + "legendFormat": "{{vault}} - {{network}}", + "queryType": "randomWalk", + "range": true, + "refId": "A" + } + ], + "title": "harvest", + "type": "timeseries" }, { - "$$hashKey": "object:39", - "format": "short", - "logBase": 1, - "show": false - } - ], - "yaxis": { - "align": false - } - } - ], - "refresh": "5m", - "schemaVersion": 37, - "style": "dark", - "tags": [ - "Overview" - ], - "templating": { - "list": [] + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "description": "Annualized Share Price change", + "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 + }, + "insertNulls": false, + "lineInterpolation": "stepAfter", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [ + { + "matcher": { + "id": "byValue", + "options": { + "op": "gte", + "reducer": "allIsZero", + "value": 0 + } + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "legend": true, + "tooltip": true, + "viz": false + } + } + ] + }, + { + "matcher": { + "id": "byValue", + "options": { + "op": "gte", + "reducer": "allIsNull", + "value": 0 + } + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "legend": true, + "tooltip": true, + "viz": false + } + } + ] + }, + { + "__systemRef": "hideSeriesFrom", + "matcher": { + "id": "byNames", + "options": { + "mode": "exclude", + "names": [ + "yvWETH 0.4.2 - ETH" + ], + "prefix": "All except:", + "readOnly": true + } + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "legend": false, + "tooltip": false, + "viz": true + } + } + ] + } + ] + }, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 39 + }, + "id": 59, + "options": { + "legend": { + "calcs": [ + "max" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "pluginVersion": "10.0.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "editorMode": "code", + "exemplar": true, + "expr": "delta(yearn_vault{param=\"pricePerShare\", experimental=\"false\"}[1d]) * 365 != 365", + "interval": "", + "legendFormat": "{{vault}} - {{network}}", + "queryType": "randomWalk", + "range": true, + "refId": "A" + } + ], + "title": "share price change 1d annualized", + "type": "timeseries" + } + ], + "title": "All ", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "fieldConfig": { + "defaults": { + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 1, + "w": 2, + "x": 4, + "y": 25 + }, + "id": 63, + "options": { + "autoScroll": false, + "displayMode": "minimize", + "emptyValue": false, + "favorites": false, + "filter": true, + "groupSelection": false, + "header": true, + "padding": 0, + "showName": false, + "statusSort": false, + "sticky": false, + "variable": "networks" + }, + "transparent": true, + "type": "volkovlabs-variable-panel" + }, + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "fieldConfig": { + "defaults": { + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 1, + "w": 6, + "x": 6, + "y": 25 + }, + "id": 64, + "options": { + "autoScroll": false, + "displayMode": "minimize", + "emptyValue": false, + "favorites": false, + "filter": true, + "groupSelection": false, + "header": true, + "padding": 0, + "showName": false, + "statusSort": false, + "sticky": false, + "variable": "vaults" + }, + "transparent": true, + "type": "volkovlabs-variable-panel" + }, + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "fieldConfig": { + "defaults": { + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 1, + "w": 6, + "x": 12, + "y": 25 + }, + "id": 65, + "options": { + "autoScroll": false, + "displayMode": "minimize", + "emptyValue": false, + "favorites": false, + "filter": true, + "groupSelection": false, + "header": true, + "padding": 0, + "showName": false, + "statusSort": false, + "sticky": false, + "variable": "address" + }, + "transparent": true, + "type": "volkovlabs-variable-panel" + }, + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "fieldConfig": { + "defaults": { + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 1, + "w": 2, + "x": 18, + "y": 25 + }, + "id": 66, + "options": { + "autoScroll": false, + "displayMode": "minimize", + "emptyValue": false, + "favorites": false, + "filter": true, + "groupSelection": false, + "header": true, + "padding": 0, + "showName": false, + "statusSort": false, + "sticky": false, + "variable": "version" + }, + "transparent": true, + "type": "volkovlabs-variable-panel" + }, + { + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 26 + }, + "id": 54, + "panels": [ + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "tvl", + "axisPlacement": "auto", + "barAlignment": 0, + "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": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 12, + "x": 0, + "y": 27 + }, + "id": 32, + "options": { + "legend": { + "calcs": [ + "lastNotNull" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true, + "sortBy": "Last *", + "sortDesc": true + }, + "tooltip": { + "mode": "single", + "sort": "asc" + } + }, + "pluginVersion": "9.2.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "editorMode": "code", + "exemplar": false, + "expr": "yearn_vault{param=\"tvl\", experimental=\"false\", vault=~\"$vaults\"}", + "interval": "", + "legendFormat": "{{vault}} - {{network}}", + "queryType": "randomWalk", + "range": true, + "refId": "A" + } + ], + "title": "vault aum", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "stepAfter", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 6, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 12, + "x": 12, + "y": 27 + }, + "id": 24, + "options": { + "legend": { + "calcs": [ + "lastNotNull" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "pluginVersion": "9.2.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "editorMode": "code", + "exemplar": false, + "expr": "yearn_vault{param=\"pricePerShare\",experimental=\"false\", vault=~\"$vaults\"}", + "hide": false, + "interval": "", + "legendFormat": "{{vault}} - {{network}}", + "range": true, + "refId": "A" + } + ], + "title": "share price", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "description": "Time since last report on vault.\nNot all harvests will yield a profit", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "axisSoftMax": 0.1, + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "linearThreshold": 1, + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + } + ] + }, + "unit": "dtdurations" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 33 + }, + "id": 27, + "options": { + "legend": { + "calcs": [ + "lastNotNull" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true, + "sortBy": "Last *", + "sortDesc": false + }, + "timezone": [ + "browser" + ], + "tooltip": { + "mode": "single", + "sort": "asc" + } + }, + "pluginVersion": "9.2.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "editorMode": "code", + "exemplar": false, + "expr": "time() - yearn_vault{param=\"lastReport\", experimental=\"false\", vault=~\"$vaults\"}", + "interval": "", + "legendFormat": "{{vault}} - {{network}}", + "queryType": "randomWalk", + "range": true, + "refId": "A" + } + ], + "title": "harvest", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "description": "Annualized Share Price change", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "stepAfter", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [ + { + "matcher": { + "id": "byValue", + "options": { + "op": "gte", + "reducer": "allIsZero", + "value": 0 + } + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "legend": true, + "tooltip": true, + "viz": false + } + } + ] + }, + { + "matcher": { + "id": "byValue", + "options": { + "op": "gte", + "reducer": "allIsNull", + "value": 0 + } + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "legend": true, + "tooltip": true, + "viz": false + } + } + ] + }, + { + "__systemRef": "hideSeriesFrom", + "matcher": { + "id": "byNames", + "options": { + "mode": "exclude", + "names": [ + "yvWETH 0.4.2 - ETH" + ], + "prefix": "All except:", + "readOnly": true + } + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "legend": false, + "tooltip": false, + "viz": true + } + } + ] + } + ] + }, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 33 + }, + "id": 25, + "options": { + "legend": { + "calcs": [ + "max" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "pluginVersion": "10.0.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "editorMode": "code", + "exemplar": true, + "expr": "delta(yearn_vault{param=\"pricePerShare\", experimental=\"false\", vault=~\"$vaults\"}[1d]) * 365 != 365", + "interval": "", + "legendFormat": "{{vault}} - {{network}}", + "queryType": "randomWalk", + "range": true, + "refId": "A" + } + ], + "title": "share price change 1d annualized", + "type": "timeseries" + } + ], + "title": "$vaults", + "type": "row" + } + ], + "refresh": "5m", + "schemaVersion": 38, + "tags": [], + "templating": { + "list": [ + { + "current": { + "selected": false, + "text": "ETH", + "value": "ETH" + }, + "datasource": { + "type": "postgres", + "uid": "P351E3BF3DD845A07" + }, + "definition": "SELECT victoria_metrics_label FROM chains ORDER BY chainid;", + "hide": 2, + "includeAll": false, + "label": "networks", + "multi": false, + "name": "networks", + "options": [], + "query": "SELECT victoria_metrics_label FROM chains ORDER BY chainid;", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "type": "query" + }, + { + "current": { + "selected": false, + "text": "lp-yCRVv2 0.4.6", + "value": "lp-yCRVv2 0.4.6" + }, + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "definition": "yearn_vault{param=\"totalAssets\", network=\"$networks\", experimental=\"false\"}", + "hide": 2, + "includeAll": false, + "label": "vaults", + "multi": false, + "name": "vaults", + "options": [], + "query": { + "qryType": 4, + "query": "yearn_vault{param=\"totalAssets\", network=\"$networks\", experimental=\"false\"}", + "refId": "PrometheusVariableQueryEditor-VariableQuery" + }, + "refresh": 1, + "regex": "/.*vault=\"([^\"]*).*/", + "skipUrlSync": false, + "sort": 1, + "type": "query" + }, + { + "current": { + "selected": false, + "text": "0x6E9455D109202b426169F0d8f01A3332DAE160f3", + "value": "0x6E9455D109202b426169F0d8f01A3332DAE160f3" + }, + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "definition": "yearn_vault{network=\"$networks\", param=\"totalAssets\", vault=~\"$vaults\", experimental=\"false\"}", + "description": "", + "hide": 2, + "includeAll": false, + "label": "address", + "multi": false, + "name": "address", + "options": [], + "query": { + "qryType": 4, + "query": "yearn_vault{network=\"$networks\", param=\"totalAssets\", vault=~\"$vaults\", experimental=\"false\"}", + "refId": "PrometheusVariableQueryEditor-VariableQuery" + }, + "refresh": 1, + "regex": "/.*address=\"([^\"]*).*/", + "skipUrlSync": false, + "sort": 0, + "type": "query" + }, + { + "current": { + "selected": false, + "text": "v2", + "value": "v2" + }, + "datasource": { + "type": "prometheus", + "uid": "DS_PROMETHEUS" + }, + "definition": "yearn_vault{network=\"$networks\", param=\"totalAssets\", vault=~\"$vaults\", experimental=\"false\", address=\"$address\"}", + "description": "The vault version", + "hide": 2, + "includeAll": false, + "label": "version", + "multi": false, + "name": "version", + "options": [], + "query": { + "qryType": 4, + "query": "yearn_vault{network=\"$networks\", param=\"totalAssets\", vault=~\"$vaults\", experimental=\"false\", address=\"$address\"}", + "refId": "PrometheusVariableQueryEditor-VariableQuery" + }, + "refresh": 1, + "regex": "/.*version=\"([^/\"]*).*/", + "skipUrlSync": false, + "sort": 0, + "type": "query" + } + ] }, "time": { - "from": "now-30d", + "from": "now-90d", "to": "now" }, "timepicker": {}, "timezone": "browser", "title": "Overview", "uid": "OWHktH4Vk", - "version": 42, + "version": 18, "weekStart": "" } \ No newline at end of file diff --git a/services/dashboard/docker-compose.infra.yml b/services/dashboard/docker-compose.infra.yml index 4fd50372d..d13f4219c 100644 --- a/services/dashboard/docker-compose.infra.yml +++ b/services/dashboard/docker-compose.infra.yml @@ -38,7 +38,7 @@ services: restart: always grafana: - image: grafana/grafana:10.0.1 + image: grafana/grafana:10.2.0 depends_on: - victoria-metrics - postgres @@ -53,6 +53,7 @@ services: - GF_RENDERING_SERVER_URL=http://renderer:8091/render - GF_RENDERING_CALLBACK_URL=http://grafana:3000/ - GF_LOG_FILTERS=rendering:debug + - GF_INSTALL_PLUGINS=volkovlabs-variable-panel - PGHOST=postgres - PGDATABASE=postgres - PGUSER=postgres