Skip to content

Instantly share code, notes, and snippets.

@koss822
Created July 6, 2023 12:38
Show Gist options
  • Save koss822/aa50fafdb26752007966c65f5e3efc45 to your computer and use it in GitHub Desktop.
Save koss822/aa50fafdb26752007966c65f5e3efc45 to your computer and use it in GitHub Desktop.
{
"datasource": {
"type": "prometheus",
"uid": "yTVXipTVz"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "light-orange",
"mode": "palette-classic"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "currencyCZK"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 7,
"x": 0,
"y": 23
},
"id": 24,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "yTVXipTVz"
},
"editorMode": "builder",
"expr": "exchange_rate{currency=\"emu-euro\"}",
"legendFormat": "{{currency}}",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "yTVXipTVz"
},
"editorMode": "builder",
"expr": "exchange_rate{currency=\"usa-dolar\"}",
"hide": false,
"legendFormat": "{{currency}}",
"range": true,
"refId": "B"
}
],
"title": "Euro / Dolar",
"type": "stat"
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment