Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
"Quicklook" c-lightning Prometheus Dashboard (Grafana)
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"id": 26,
"links": [],
"panels": [
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "prometheus",
"description": "Peers connected, by label",
"fill": 1,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 0
},
"id": 4,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum(lightning_peer_connected{instance=\"10.128.0.8:9900\"})",
"format": "time_series",
"interval": "",
"intervalFactor": 10,
"legendFormat": "Lightning Store",
"refId": "A"
},
{
"expr": "sum(lightning_peer_connected{instance=\"10.128.0.11:9900\"})",
"format": "time_series",
"interval": "",
"intervalFactor": 10,
"legendFormat": "Excellion",
"refId": "B"
},
{
"expr": "sum(lightning_peer_connected{instance=\"10.138.0.57:9900\"})",
"format": "time_series",
"interval": "",
"intervalFactor": 10,
"legendFormat": "Satellite API Mainnet",
"refId": "C"
},
{
"expr": "sum(lightning_peer_connected{instance=\"10.138.0.56:9900\"})",
"format": "time_series",
"intervalFactor": 10,
"legendFormat": "Satellite API Testnet",
"refId": "D"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Node Peers (Active)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": null,
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "prometheus",
"description": "Current HTLC count",
"fill": 1,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 0
},
"id": 6,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum(lightning_channel_htlcs{instance=\"10.128.0.8:9900\"}) ",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Lightning Store",
"refId": "A"
},
{
"expr": "sum(lightning_channel_htlcs{instance=\"10.128.0.11:9900\"})",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Excellion",
"refId": "B"
},
{
"expr": "sum(lightning_channel_htlcs{instance=\"10.138.0.57:9900\"})",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Satellite API Mainnet",
"refId": "C"
},
{
"expr": "sum(lightning_channel_htlcs{instance=\"10.138.0.56:9900\"})",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Satellite API Testnet",
"refId": "D"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "HTLCs (inflight)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "prometheus",
"fill": 1,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 9
},
"id": 2,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum(lightning_channel_capacity{instance=\"10.128.0.8:9900\"})",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Lightning Store",
"refId": "B"
},
{
"expr": "sum(lightning_channel_capacity{instance=\"10.128.0.11:9900\"})",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Excellion",
"refId": "A"
},
{
"expr": "sum(lightning_channel_capacity{instance=\"10.138.0.57:9900\"})",
"format": "time_series",
"hide": false,
"intervalFactor": 1,
"legendFormat": "Satellite API Mainnet",
"refId": "C"
},
{
"expr": "sum(lightning_channel_capacity{instance=\"10.138.0.56:9900\"})",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Satellite API Testnet",
"refId": "D"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Channel Capacity",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "prometheus",
"fill": 1,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 9
},
"id": 8,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum(lightning_channel_spendable{instance=\"10.128.0.8:9900\"})",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Lightning Store",
"refId": "A"
},
{
"expr": "sum(lightning_channel_spendable{instance=\"10.128.0.11:9900\"})",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Excellion",
"refId": "B"
},
{
"expr": "sum(lightning_channel_spendable{instance=\"10.138.0.57:9900\"})",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Satellite API Mainnet",
"refId": "C"
},
{
"expr": "sum(lightning_channel_spendable{instance=\"10.138.0.56:9900\"})",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Satellite API Testnet",
"refId": "D"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Spendable Balance (msats)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}
],
"schemaVersion": 18,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-3d",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"timezone": "",
"title": "Quicklook",
"uid": "_sH8eftZk",
"version": 13
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.