diff --git a/dashboard-config/provisioning/dashboards/default.yml b/dashboard-config/provisioning/dashboards/default.yml
index f07f8d5f..23e4bf03 100644
--- a/dashboard-config/provisioning/dashboards/default.yml
+++ b/dashboard-config/provisioning/dashboards/default.yml
@@ -4,6 +4,7 @@ providers:
- name: boavizta
folder: Services # The folder where to place the dashboards
type: file
+ allowUiUpdates: true
options:
path: /var/lib/grafana/dashboards
foldersFromFilesStructure: true
diff --git a/dashboard-config/provisioning/dashboards/grafana-dashboard-cloud-impacts.template-for-manual-import.json b/dashboard-config/provisioning/dashboards/grafana-dashboard-cloud-impacts.template-for-manual-import.json
new file mode 100644
index 00000000..09515c89
--- /dev/null
+++ b/dashboard-config/provisioning/dashboards/grafana-dashboard-cloud-impacts.template-for-manual-import.json
@@ -0,0 +1,1612 @@
+{
+ "__inputs": [
+ {
+ "name": "DS_CLOUD-SCANNER-PROMETHEUS",
+ "label": "cloud-scanner-prometheus",
+ "description": "",
+ "type": "datasource",
+ "pluginId": "prometheus",
+ "pluginName": "Prometheus"
+ }
+ ],
+ "__elements": {},
+ "__requires": [
+ {
+ "type": "panel",
+ "id": "bargauge",
+ "name": "Bar gauge",
+ "version": ""
+ },
+ {
+ "type": "grafana",
+ "id": "grafana",
+ "name": "Grafana",
+ "version": "10.4.1"
+ },
+ {
+ "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": [
+ {
+ "builtIn": 1,
+ "datasource": {
+ "type": "grafana",
+ "uid": "-- Grafana --"
+ },
+ "enable": true,
+ "hide": true,
+ "iconColor": "rgba(0, 211, 255, 1)",
+ "name": "Annotations & Alerts",
+ "target": {
+ "limit": 100,
+ "matchAny": false,
+ "tags": [],
+ "type": "dashboard"
+ },
+ "type": "dashboard"
+ }
+ ]
+ },
+ "description": "",
+ "editable": true,
+ "fiscalYearStartMonth": 0,
+ "graphTooltip": 0,
+ "id": null,
+ "links": [
+ {
+ "asDropdown": false,
+ "icon": "external link",
+ "includeVars": false,
+ "keepTime": false,
+ "tags": [],
+ "targetBlank": true,
+ "title": "Boavizta methodology",
+ "tooltip": "",
+ "type": "link",
+ "url": "https://boavizta.org/blog/boavizta-api-automated-evaluation-of-ict-impacts-on-the-environment"
+ }
+ ],
+ "liveNow": false,
+ "panels": [
+ {
+ "collapsed": true,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 0
+ },
+ "id": 40,
+ "panels": [
+ {
+ "datasource": {
+ "type": "datasource",
+ "uid": "grafana"
+ },
+ "gridPos": {
+ "h": 2,
+ "w": 19,
+ "x": 0,
+ "y": 1
+ },
+ "id": 23,
+ "options": {
+ "code": {
+ "language": "plaintext",
+ "showLineNumbers": false,
+ "showMiniMap": false
+ },
+ "content": "\r\n
\r\nBoavizta Cloud-Scanner - Environmental impacts of EC2 instances and block storage",
+ "mode": "html"
+ },
+ "pluginVersion": "10.4.1",
+ "transparent": true,
+ "type": "text"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_CLOUD-SCANNER-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": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 5,
+ "w": 5,
+ "x": 19,
+ "y": 1
+ },
+ "id": 4,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ },
+ "editorMode": "builder",
+ "expr": "boavizta_number_of_resources_assessed",
+ "legendFormat": "{{country}} ({{awsregion}})",
+ "range": true,
+ "refId": "Number of resources"
+ }
+ ],
+ "title": "Number of resources (taken into assessment)",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "datasource",
+ "uid": "grafana"
+ },
+ "gridPos": {
+ "h": 12,
+ "w": 19,
+ "x": 0,
+ "y": 3
+ },
+ "id": 20,
+ "options": {
+ "code": {
+ "language": "plaintext",
+ "showLineNumbers": false,
+ "showMiniMap": false
+ },
+ "content": "Cloud-scanner returns environmental impacts of your AWS usage.\n\nIt combines real time inventory and usage data from an AWS account with impact data from Boavizta API.\n\n## Resource considered\n\n- EC2 instances (type and CPU load)\n- Block storage (type and size)\n\n## Indicators\n\n- 🔥 Global Warming Potential - GWP (CO2eq)\n- ⚡ Primary Energy - PE (KWH or Mega Joules)\n- 🌍 Abiotic Depletion Potential - ADP: resources like mineral, water (kgSbeq)\n\n## Scopes\n\n- Use (displayed here for **one hour** of use)\n- Embodied impacts (i.e. manufacture related impacts, amortized for one hour of use)\n\n## Data and methodology\n\n- https://boavizta.github.io/cloud-scanner/\n- https://www.boavizta.org/en\n- https://boavizta.org/en/blog/empreinte-de-la-fabrication-d-un-serveur\n\n\n",
+ "mode": "markdown"
+ },
+ "pluginVersion": "10.4.1",
+ "title": "Explanations",
+ "transparent": true,
+ "type": "text"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "thresholds"
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 3,
+ "w": 5,
+ "x": 19,
+ "y": 6
+ },
+ "id": 24,
+ "options": {
+ "colorMode": "value",
+ "graphMode": "area",
+ "justifyMode": "auto",
+ "orientation": "auto",
+ "reduceOptions": {
+ "calcs": [
+ "lastNotNull"
+ ],
+ "fields": "",
+ "values": false
+ },
+ "showPercentChange": false,
+ "textMode": "auto",
+ "wideLayout": true
+ },
+ "pluginVersion": "10.4.1",
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ },
+ "disableTextWrap": false,
+ "editorMode": "code",
+ "expr": "count by(country) (boavizta_resource_duration_of_use_hours{resource_tags=~\".*$tags_to_include.*\"})",
+ "fullMetaSearch": false,
+ "includeNullMetadata": true,
+ "instant": false,
+ "legendFormat": "__auto",
+ "range": true,
+ "refId": "A",
+ "useBackend": false
+ }
+ ],
+ "title": "Number of resources - any state",
+ "type": "stat"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "thresholds"
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 3,
+ "w": 5,
+ "x": 19,
+ "y": 9
+ },
+ "id": 31,
+ "options": {
+ "colorMode": "value",
+ "graphMode": "area",
+ "justifyMode": "auto",
+ "orientation": "auto",
+ "reduceOptions": {
+ "calcs": [
+ "lastNotNull"
+ ],
+ "fields": "",
+ "values": false
+ },
+ "showPercentChange": false,
+ "textMode": "auto",
+ "wideLayout": true
+ },
+ "pluginVersion": "10.4.1",
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ },
+ "disableTextWrap": false,
+ "editorMode": "builder",
+ "expr": "count by(resource_type) (boavizta_resource_duration_of_use_hours)",
+ "fullMetaSearch": false,
+ "includeNullMetadata": true,
+ "instant": false,
+ "legendFormat": "__auto",
+ "range": true,
+ "refId": "A",
+ "useBackend": false
+ }
+ ],
+ "title": "Type of resources",
+ "type": "stat"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "thresholds"
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 3,
+ "w": 5,
+ "x": 19,
+ "y": 12
+ },
+ "id": 30,
+ "options": {
+ "colorMode": "value",
+ "graphMode": "area",
+ "justifyMode": "auto",
+ "orientation": "auto",
+ "reduceOptions": {
+ "calcs": [
+ "lastNotNull"
+ ],
+ "fields": "",
+ "values": false
+ },
+ "showPercentChange": false,
+ "textMode": "auto",
+ "wideLayout": true
+ },
+ "pluginVersion": "10.4.1",
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ },
+ "disableTextWrap": false,
+ "editorMode": "builder",
+ "expr": "count by(country) (boavizta_resource_duration_of_use_hours{resource_state!=\"Stopped\"})",
+ "fullMetaSearch": false,
+ "includeNullMetadata": true,
+ "instant": false,
+ "legendFormat": "__auto",
+ "range": true,
+ "refId": "A",
+ "useBackend": false
+ }
+ ],
+ "title": "Number of resources - Running",
+ "type": "stat"
+ }
+ ],
+ "title": "Introduction",
+ "type": "row"
+ },
+ {
+ "collapsed": false,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 1
+ },
+ "id": 37,
+ "panels": [],
+ "title": "Primary Energy",
+ "type": "row"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "thresholds"
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "kwatth"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 5,
+ "w": 9,
+ "x": 0,
+ "y": 2
+ },
+ "id": 21,
+ "options": {
+ "colorMode": "value",
+ "graphMode": "area",
+ "justifyMode": "auto",
+ "orientation": "auto",
+ "reduceOptions": {
+ "calcs": [
+ "lastNotNull"
+ ],
+ "fields": "",
+ "values": false
+ },
+ "showPercentChange": false,
+ "textMode": "auto",
+ "wideLayout": true
+ },
+ "pluginVersion": "10.4.1",
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ },
+ "disableTextWrap": false,
+ "editorMode": "code",
+ "expr": "sum by(country) (boavizta_resource_pe_use_megajoules{resource_tags=~\".*$tags_to_include.*\"}) * 0.277778",
+ "fullMetaSearch": false,
+ "includeNullMetadata": true,
+ "instant": false,
+ "legendFormat": "__auto",
+ "range": true,
+ "refId": "Energy Use by region",
+ "useBackend": false
+ }
+ ],
+ "title": "⚡ Primary Energy (Use) for 1 hour",
+ "type": "stat"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "thresholds"
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ }
+ ]
+ },
+ "unit": "kwatth"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 5,
+ "w": 10,
+ "x": 9,
+ "y": 2
+ },
+ "id": 29,
+ "options": {
+ "displayMode": "lcd",
+ "maxVizHeight": 300,
+ "minVizHeight": 16,
+ "minVizWidth": 8,
+ "namePlacement": "auto",
+ "orientation": "horizontal",
+ "reduceOptions": {
+ "calcs": [
+ "lastNotNull"
+ ],
+ "fields": "",
+ "values": false
+ },
+ "showUnfilled": true,
+ "sizing": "auto",
+ "valueMode": "text"
+ },
+ "pluginVersion": "10.4.1",
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ },
+ "disableTextWrap": false,
+ "editorMode": "code",
+ "exemplar": false,
+ "expr": "sum(boavizta_resource_pe_embodied_megajoules{awsregion=~\"$region\", resource_type=~\"$resource_type\", resource_tags=~\".*$tags_to_include.*\"}) * 0.277778 * 24 * 365",
+ "format": "time_series",
+ "fullMetaSearch": false,
+ "includeNullMetadata": true,
+ "instant": false,
+ "legendFormat": "Total",
+ "range": true,
+ "refId": "Total",
+ "useBackend": false
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ },
+ "disableTextWrap": false,
+ "editorMode": "code",
+ "expr": "sum by(awsregion) (boavizta_resource_pe_embodied_megajoules{awsregion=~\"$region\", resource_type=~\"$resource_type\", resource_tags=~\".*$tags_to_include.*\"}) * 0.277778 * 24 * 365",
+ "fullMetaSearch": false,
+ "hide": false,
+ "includeNullMetadata": true,
+ "instant": false,
+ "legendFormat": "__auto",
+ "range": true,
+ "refId": "By region",
+ "useBackend": false
+ }
+ ],
+ "title": "⚡ Primary Energy (Embodied) - by region - projected for 1 year",
+ "type": "bargauge"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "bars",
+ "fillOpacity": 100,
+ "gradientMode": "hue",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "kwatth"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 5,
+ "w": 9,
+ "x": 0,
+ "y": 7
+ },
+ "id": 26,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ },
+ "disableTextWrap": false,
+ "editorMode": "code",
+ "exemplar": false,
+ "expr": "sum(boavizta_resource_pe_use_megajoules{awsregion=~\"$region\", resource_type=~\"$resource_type\", resource_tags=~\".*$tags_to_include.*\"} * 0.277778)",
+ "format": "time_series",
+ "fullMetaSearch": false,
+ "includeNullMetadata": true,
+ "instant": false,
+ "legendFormat": "Total",
+ "range": true,
+ "refId": "Total",
+ "useBackend": false
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ },
+ "disableTextWrap": false,
+ "editorMode": "code",
+ "expr": "sum by(awsregion) (boavizta_resource_pe_use_megajoules{awsregion=~\"$region\", resource_type=~\"$resource_type\", resource_tags=~\".*$tags_to_include.*\"}) * 0.277778",
+ "fullMetaSearch": false,
+ "hide": false,
+ "includeNullMetadata": true,
+ "instant": false,
+ "legendFormat": "__auto",
+ "range": true,
+ "refId": "By region",
+ "useBackend": false
+ }
+ ],
+ "title": "⚡ Primary Energy (Use) - by region",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "thresholds"
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ }
+ ]
+ },
+ "unit": "kwatth"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 5,
+ "w": 10,
+ "x": 9,
+ "y": 7
+ },
+ "id": 41,
+ "options": {
+ "displayMode": "lcd",
+ "maxVizHeight": 300,
+ "minVizHeight": 16,
+ "minVizWidth": 8,
+ "namePlacement": "auto",
+ "orientation": "horizontal",
+ "reduceOptions": {
+ "calcs": [
+ "lastNotNull"
+ ],
+ "fields": "",
+ "values": false
+ },
+ "showUnfilled": true,
+ "sizing": "auto",
+ "valueMode": "text"
+ },
+ "pluginVersion": "10.4.1",
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ },
+ "disableTextWrap": false,
+ "editorMode": "code",
+ "exemplar": false,
+ "expr": "sum(boavizta_resource_pe_use_megajoules{awsregion=~\"$region\", resource_type=~\"$resource_type\", resource_tags=~\".*$tags_to_include.*\"}) * 0.277778 * 24 * 365",
+ "format": "time_series",
+ "fullMetaSearch": false,
+ "includeNullMetadata": true,
+ "instant": false,
+ "legendFormat": "Total",
+ "range": true,
+ "refId": "Total",
+ "useBackend": false
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ },
+ "disableTextWrap": false,
+ "editorMode": "code",
+ "expr": "sum by(awsregion) (boavizta_resource_pe_use_megajoules{awsregion=~\"$region\", resource_type=~\"$resource_type\", resource_tags=~\".*$tags_to_include.*\"}) * 0.277778 * 24 * 365",
+ "fullMetaSearch": false,
+ "hide": false,
+ "includeNullMetadata": true,
+ "instant": false,
+ "legendFormat": "__auto",
+ "range": true,
+ "refId": "By region",
+ "useBackend": false
+ }
+ ],
+ "title": "⚡ Primary Energy (Use) - by region - projected for 1 year",
+ "type": "bargauge"
+ },
+ {
+ "collapsed": false,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 12
+ },
+ "id": 39,
+ "panels": [],
+ "title": "Global Warming Potential",
+ "type": "row"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "thresholds"
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "masskg"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 5,
+ "w": 9,
+ "x": 0,
+ "y": 13
+ },
+ "id": 42,
+ "links": [
+ {
+ "targetBlank": true,
+ "title": "",
+ "url": "https://www.google.com/search"
+ }
+ ],
+ "options": {
+ "colorMode": "value",
+ "graphMode": "area",
+ "justifyMode": "auto",
+ "orientation": "auto",
+ "reduceOptions": {
+ "calcs": [
+ "lastNotNull"
+ ],
+ "fields": "",
+ "values": false
+ },
+ "showPercentChange": false,
+ "textMode": "auto",
+ "wideLayout": true
+ },
+ "pluginVersion": "10.4.1",
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ },
+ "disableTextWrap": false,
+ "editorMode": "code",
+ "expr": "sum(boavizta_resource_gwp_use_kgco2eq{awsregion=~\"$region\", resource_type=~\"$resource_type\",resource_tags=~\".*$tags_to_include.*\"})",
+ "fullMetaSearch": false,
+ "includeNullMetadata": true,
+ "instant": false,
+ "legendFormat": "total",
+ "range": true,
+ "refId": "Total",
+ "useBackend": false
+ }
+ ],
+ "title": "🔥 Global Warming Potential (Use) - for an hour (Kg Co2 eq) ",
+ "type": "stat"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "thresholds"
+ },
+ "mappings": [],
+ "min": 0,
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ }
+ ]
+ },
+ "unit": "masskg"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 5,
+ "w": 10,
+ "x": 9,
+ "y": 13
+ },
+ "id": 34,
+ "links": [
+ {
+ "targetBlank": true,
+ "title": "",
+ "url": "https://www.google.com/search"
+ }
+ ],
+ "options": {
+ "displayMode": "lcd",
+ "maxVizHeight": 300,
+ "minVizHeight": 16,
+ "minVizWidth": 8,
+ "namePlacement": "auto",
+ "orientation": "horizontal",
+ "reduceOptions": {
+ "calcs": [
+ "lastNotNull"
+ ],
+ "fields": "",
+ "values": false
+ },
+ "showUnfilled": true,
+ "sizing": "auto",
+ "valueMode": "text"
+ },
+ "pluginVersion": "10.4.1",
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ },
+ "disableTextWrap": false,
+ "editorMode": "code",
+ "expr": "sum(boavizta_resource_gwp_use_kgco2eq{awsregion=~\"$region\", resource_type=~\"$resource_type\",resource_tags=~\".*$tags_to_include.*\"} ) * 24 * 365",
+ "fullMetaSearch": false,
+ "includeNullMetadata": true,
+ "instant": false,
+ "legendFormat": "Total",
+ "range": true,
+ "refId": "Total",
+ "useBackend": false
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ },
+ "disableTextWrap": false,
+ "editorMode": "builder",
+ "expr": "sum by(awsregion) (boavizta_resource_gwp_use_kgco2eq{awsregion=~\"$region\", resource_type=~\"$resource_type\", resource_tags=~\".*$tags_to_include.*\"}) * 24 * 365",
+ "fullMetaSearch": false,
+ "hide": false,
+ "includeNullMetadata": true,
+ "instant": false,
+ "legendFormat": "__auto",
+ "range": true,
+ "refId": "By region",
+ "useBackend": false
+ }
+ ],
+ "title": "🔥 GWP (Use) - by region (Kg Co2 eq) - projected for 1 year",
+ "type": "bargauge"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "bars",
+ "fillOpacity": 100,
+ "gradientMode": "hue",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "masskg"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 5,
+ "w": 9,
+ "x": 0,
+ "y": 18
+ },
+ "id": 27,
+ "links": [
+ {
+ "targetBlank": true,
+ "title": "",
+ "url": "https://www.google.com/search"
+ }
+ ],
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ },
+ "disableTextWrap": false,
+ "editorMode": "code",
+ "expr": "sum(boavizta_resource_gwp_use_kgco2eq{awsregion=~\"$region\", resource_type=~\"$resource_type\",resource_tags=~\".*$tags_to_include.*\"})",
+ "fullMetaSearch": false,
+ "includeNullMetadata": true,
+ "instant": false,
+ "legendFormat": "total",
+ "range": true,
+ "refId": "Total",
+ "useBackend": false
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ },
+ "disableTextWrap": false,
+ "editorMode": "code",
+ "expr": "sum by(awsregion) (boavizta_resource_gwp_use_kgco2eq{awsregion=~\"$region\", resource_type=~\"$resource_type\", resource_tags=~\".*$tags_to_include.*\"})",
+ "fullMetaSearch": false,
+ "hide": false,
+ "includeNullMetadata": true,
+ "instant": false,
+ "legendFormat": "__auto",
+ "range": true,
+ "refId": "By region",
+ "useBackend": false
+ }
+ ],
+ "title": "🔥 Global Warming Potential (Use) - by region (Kg Co2 eq) ",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "thresholds"
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ }
+ ]
+ },
+ "unit": "masskg"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 5,
+ "w": 10,
+ "x": 9,
+ "y": 18
+ },
+ "id": 32,
+ "links": [
+ {
+ "targetBlank": true,
+ "title": "",
+ "url": "https://www.google.com/search"
+ }
+ ],
+ "options": {
+ "displayMode": "lcd",
+ "maxVizHeight": 300,
+ "minVizHeight": 16,
+ "minVizWidth": 8,
+ "namePlacement": "auto",
+ "orientation": "horizontal",
+ "reduceOptions": {
+ "calcs": [
+ "lastNotNull"
+ ],
+ "fields": "",
+ "values": false
+ },
+ "showUnfilled": true,
+ "sizing": "auto",
+ "valueMode": "text"
+ },
+ "pluginVersion": "10.4.1",
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ },
+ "disableTextWrap": false,
+ "editorMode": "code",
+ "expr": "sum(boavizta_resource_gwp_embodied_kgco2eq{awsregion=~\"$region\", resource_type=~\"$resource_type\", resource_tags=~\".*$tags_to_include.*\"}) * 24 * 365",
+ "fullMetaSearch": false,
+ "includeNullMetadata": true,
+ "instant": false,
+ "legendFormat": "Total",
+ "range": true,
+ "refId": "Total",
+ "useBackend": false
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ },
+ "disableTextWrap": false,
+ "editorMode": "code",
+ "expr": "sum by(awsregion) (boavizta_resource_gwp_embodied_kgco2eq{awsregion=~\"$region\", resource_type=~\"$resource_type\", resource_tags=~\".*$tags_to_include.*\"}) * 24 * 365",
+ "fullMetaSearch": false,
+ "hide": false,
+ "includeNullMetadata": true,
+ "instant": false,
+ "legendFormat": "__auto",
+ "range": true,
+ "refId": "By region",
+ "useBackend": false
+ }
+ ],
+ "title": "🔥 GWP (Embodied) - by region (Kg Co2 eq) - projection for 1 year",
+ "type": "bargauge"
+ },
+ {
+ "collapsed": false,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 23
+ },
+ "id": 38,
+ "panels": [],
+ "title": "Abiotic Depletion Potential (ADP)",
+ "type": "row"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ },
+ "description": "",
+ "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": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "masskg"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 5,
+ "w": 9,
+ "x": 0,
+ "y": 24
+ },
+ "id": 28,
+ "links": [
+ {
+ "targetBlank": true,
+ "title": "",
+ "url": "https://www.google.com/search"
+ }
+ ],
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ },
+ "disableTextWrap": false,
+ "editorMode": "code",
+ "expr": "sum(boavizta_resource_adp_use_kgsbeq{awsregion=~\"$region\", resource_type=~\"$resource_type\", resource_tags=~\".*$tags_to_include.*\"})",
+ "fullMetaSearch": false,
+ "includeNullMetadata": true,
+ "instant": false,
+ "legendFormat": "total",
+ "range": true,
+ "refId": "Total",
+ "useBackend": false
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ },
+ "disableTextWrap": false,
+ "editorMode": "code",
+ "expr": "sum by(awsregion) (boavizta_resource_adp_use_kgsbeq{awsregion=~\"$region\", resource_type=~\"$resource_type\", resource_tags=~\".*$tags_to_include.*\"})",
+ "fullMetaSearch": false,
+ "hide": false,
+ "includeNullMetadata": true,
+ "instant": false,
+ "legendFormat": "__auto",
+ "range": true,
+ "refId": "By region",
+ "useBackend": false
+ }
+ ],
+ "title": "🌍ADP - Abiotic Depletion Potential (Use) - by region (Kg sb eq) ",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ },
+ "description": "",
+ "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": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "masskg"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 5,
+ "w": 10,
+ "x": 9,
+ "y": 24
+ },
+ "id": 33,
+ "links": [
+ {
+ "targetBlank": true,
+ "title": "",
+ "url": "https://www.google.com/search"
+ }
+ ],
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ },
+ "disableTextWrap": false,
+ "editorMode": "code",
+ "expr": "sum(boavizta_resource_adp_embodied_kgsbeq{awsregion=~\"$region\", resource_type=~\"$resource_type\", resource_tags=~\".*$tags_to_include.*\"}) * 24 * 365 * 5",
+ "fullMetaSearch": false,
+ "includeNullMetadata": true,
+ "instant": false,
+ "legendFormat": "total",
+ "range": true,
+ "refId": "Total",
+ "useBackend": false
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ },
+ "disableTextWrap": false,
+ "editorMode": "code",
+ "expr": "sum by(awsregion) (boavizta_resource_adp_embodied_kgsbeq{awsregion=~\"$region\", resource_type=~\"$resource_type\", resource_tags=~\".*$tags_to_include.*\"}) * 24 * 365 * 5",
+ "fullMetaSearch": false,
+ "hide": false,
+ "includeNullMetadata": true,
+ "instant": false,
+ "legendFormat": "__auto",
+ "range": true,
+ "refId": "By region",
+ "useBackend": false
+ }
+ ],
+ "title": "🌍ADP - Abiotic Depletion Potential (Embodied) - by region (Kg sb eq) ",
+ "type": "timeseries"
+ }
+ ],
+ "refresh": "",
+ "schemaVersion": 39,
+ "tags": [],
+ "templating": {
+ "list": [
+ {
+ "current": {},
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ },
+ "definition": "label_values(awsregion)",
+ "hide": 0,
+ "includeAll": true,
+ "multi": true,
+ "name": "region",
+ "options": [],
+ "query": {
+ "qryType": 1,
+ "query": "label_values(awsregion)",
+ "refId": "PrometheusVariableQueryEditor-VariableQuery"
+ },
+ "refresh": 1,
+ "regex": "",
+ "skipUrlSync": false,
+ "sort": 0,
+ "type": "query"
+ },
+ {
+ "allValue": "",
+ "current": {},
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ },
+ "definition": "label_values(resource_type)",
+ "hide": 0,
+ "includeAll": true,
+ "label": "Resource type",
+ "multi": true,
+ "name": "resource_type",
+ "options": [],
+ "query": {
+ "qryType": 1,
+ "query": "label_values(resource_type)",
+ "refId": "PrometheusVariableQueryEditor-VariableQuery"
+ },
+ "refresh": 1,
+ "regex": "",
+ "skipUrlSync": false,
+ "sort": 0,
+ "type": "query"
+ },
+ {
+ "current": {
+ "selected": false,
+ "text": "",
+ "value": ""
+ },
+ "description": "",
+ "hide": 0,
+ "label": "Tags to include",
+ "name": "tags_to_include",
+ "options": [
+ {
+ "selected": true,
+ "text": "",
+ "value": ""
+ }
+ ],
+ "query": "",
+ "skipUrlSync": false,
+ "type": "textbox"
+ }
+ ]
+ },
+ "time": {
+ "from": "now-5m",
+ "to": "now"
+ },
+ "timepicker": {},
+ "timezone": "",
+ "title": "Cloud Impact",
+ "uid": "e2cad6b6-5c70-4bf4-9d8e-6e57dfdfa597",
+ "version": 3,
+ "weekStart": ""
+}
diff --git a/dashboard-config/provisioning/dashboards/grafana-dashboard-cloud-impacts.template.json b/dashboard-config/provisioning/dashboards/grafana-dashboard-cloud-impacts.template.json
index 09515c89..9b85620d 100644
--- a/dashboard-config/provisioning/dashboards/grafana-dashboard-cloud-impacts.template.json
+++ b/dashboard-config/provisioning/dashboards/grafana-dashboard-cloud-impacts.template.json
@@ -1,53 +1,4 @@
{
- "__inputs": [
- {
- "name": "DS_CLOUD-SCANNER-PROMETHEUS",
- "label": "cloud-scanner-prometheus",
- "description": "",
- "type": "datasource",
- "pluginId": "prometheus",
- "pluginName": "Prometheus"
- }
- ],
- "__elements": {},
- "__requires": [
- {
- "type": "panel",
- "id": "bargauge",
- "name": "Bar gauge",
- "version": ""
- },
- {
- "type": "grafana",
- "id": "grafana",
- "name": "Grafana",
- "version": "10.4.1"
- },
- {
- "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": [
{
@@ -129,7 +80,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ "uid": "cloud-scanner-prometheus-demo-uid"
},
"fieldConfig": {
"defaults": {
@@ -208,7 +159,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ "uid": "cloud-scanner-prometheus-demo-uid"
},
"editorMode": "builder",
"expr": "boavizta_number_of_resources_assessed",
@@ -249,7 +200,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ "uid": "cloud-scanner-prometheus-demo-uid"
},
"fieldConfig": {
"defaults": {
@@ -301,7 +252,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ "uid": "cloud-scanner-prometheus-demo-uid"
},
"disableTextWrap": false,
"editorMode": "code",
@@ -321,7 +272,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ "uid": "cloud-scanner-prometheus-demo-uid"
},
"fieldConfig": {
"defaults": {
@@ -373,7 +324,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ "uid": "cloud-scanner-prometheus-demo-uid"
},
"disableTextWrap": false,
"editorMode": "builder",
@@ -393,7 +344,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ "uid": "cloud-scanner-prometheus-demo-uid"
},
"fieldConfig": {
"defaults": {
@@ -445,7 +396,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ "uid": "cloud-scanner-prometheus-demo-uid"
},
"disableTextWrap": false,
"editorMode": "builder",
@@ -482,7 +433,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ "uid": "cloud-scanner-prometheus-demo-uid"
},
"fieldConfig": {
"defaults": {
@@ -535,7 +486,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ "uid": "cloud-scanner-prometheus-demo-uid"
},
"disableTextWrap": false,
"editorMode": "code",
@@ -555,7 +506,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ "uid": "cloud-scanner-prometheus-demo-uid"
},
"fieldConfig": {
"defaults": {
@@ -606,7 +557,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ "uid": "cloud-scanner-prometheus-demo-uid"
},
"disableTextWrap": false,
"editorMode": "code",
@@ -624,7 +575,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ "uid": "cloud-scanner-prometheus-demo-uid"
},
"disableTextWrap": false,
"editorMode": "code",
@@ -645,7 +596,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ "uid": "cloud-scanner-prometheus-demo-uid"
},
"fieldConfig": {
"defaults": {
@@ -725,7 +676,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ "uid": "cloud-scanner-prometheus-demo-uid"
},
"disableTextWrap": false,
"editorMode": "code",
@@ -743,7 +694,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ "uid": "cloud-scanner-prometheus-demo-uid"
},
"disableTextWrap": false,
"editorMode": "code",
@@ -764,7 +715,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ "uid": "cloud-scanner-prometheus-demo-uid"
},
"fieldConfig": {
"defaults": {
@@ -815,7 +766,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ "uid": "cloud-scanner-prometheus-demo-uid"
},
"disableTextWrap": false,
"editorMode": "code",
@@ -833,7 +784,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ "uid": "cloud-scanner-prometheus-demo-uid"
},
"disableTextWrap": false,
"editorMode": "code",
@@ -867,7 +818,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ "uid": "cloud-scanner-prometheus-demo-uid"
},
"fieldConfig": {
"defaults": {
@@ -927,7 +878,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ "uid": "cloud-scanner-prometheus-demo-uid"
},
"disableTextWrap": false,
"editorMode": "code",
@@ -947,7 +898,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ "uid": "cloud-scanner-prometheus-demo-uid"
},
"fieldConfig": {
"defaults": {
@@ -1006,7 +957,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ "uid": "cloud-scanner-prometheus-demo-uid"
},
"disableTextWrap": false,
"editorMode": "code",
@@ -1022,7 +973,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ "uid": "cloud-scanner-prometheus-demo-uid"
},
"disableTextWrap": false,
"editorMode": "builder",
@@ -1043,7 +994,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ "uid": "cloud-scanner-prometheus-demo-uid"
},
"fieldConfig": {
"defaults": {
@@ -1130,7 +1081,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ "uid": "cloud-scanner-prometheus-demo-uid"
},
"disableTextWrap": false,
"editorMode": "code",
@@ -1146,7 +1097,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ "uid": "cloud-scanner-prometheus-demo-uid"
},
"disableTextWrap": false,
"editorMode": "code",
@@ -1167,7 +1118,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ "uid": "cloud-scanner-prometheus-demo-uid"
},
"fieldConfig": {
"defaults": {
@@ -1225,7 +1176,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ "uid": "cloud-scanner-prometheus-demo-uid"
},
"disableTextWrap": false,
"editorMode": "code",
@@ -1241,7 +1192,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ "uid": "cloud-scanner-prometheus-demo-uid"
},
"disableTextWrap": false,
"editorMode": "code",
@@ -1275,7 +1226,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ "uid": "cloud-scanner-prometheus-demo-uid"
},
"description": "",
"fieldConfig": {
@@ -1363,7 +1314,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ "uid": "cloud-scanner-prometheus-demo-uid"
},
"disableTextWrap": false,
"editorMode": "code",
@@ -1379,7 +1330,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ "uid": "cloud-scanner-prometheus-demo-uid"
},
"disableTextWrap": false,
"editorMode": "code",
@@ -1400,7 +1351,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ "uid": "cloud-scanner-prometheus-demo-uid"
},
"description": "",
"fieldConfig": {
@@ -1488,7 +1439,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ "uid": "cloud-scanner-prometheus-demo-uid"
},
"disableTextWrap": false,
"editorMode": "code",
@@ -1504,7 +1455,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ "uid": "cloud-scanner-prometheus-demo-uid"
},
"disableTextWrap": false,
"editorMode": "code",
@@ -1532,7 +1483,7 @@
"current": {},
"datasource": {
"type": "prometheus",
- "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ "uid": "cloud-scanner-prometheus-demo-uid"
},
"definition": "label_values(awsregion)",
"hide": 0,
@@ -1556,7 +1507,7 @@
"current": {},
"datasource": {
"type": "prometheus",
- "uid": "${DS_CLOUD-SCANNER-PROMETHEUS}"
+ "uid": "cloud-scanner-prometheus-demo-uid"
},
"definition": "label_values(resource_type)",
"hide": 0,
diff --git a/dashboard-config/provisioning/datasources/prometheus-datasource.yml b/dashboard-config/provisioning/datasources/prometheus-datasource.yml
index 017ded86..47846635 100644
--- a/dashboard-config/provisioning/datasources/prometheus-datasource.yml
+++ b/dashboard-config/provisioning/datasources/prometheus-datasource.yml
@@ -6,6 +6,7 @@ datasources:
# Access mode - proxy (server in the UI) or direct (browser in the UI).
access: proxy
url: http://prometheus_boa:9090
+ uid: cloud-scanner-prometheus-demo-uid
jsonData:
httpMethod: POST