Add s/s graph

main
mathan 2024-02-18 16:39:29 -08:00
parent a73c638116
commit 3e34e4ca02
1 changed files with 26 additions and 8 deletions

View File

@ -1175,7 +1175,7 @@
}, },
{ {
"id": "unit", "id": "unit",
"value": "commits/s" "value": "s/s"
} }
] ]
} }
@ -1210,15 +1210,33 @@
"uid": "PBFA97CFB590B2093" "uid": "PBFA97CFB590B2093"
}, },
"disableTextWrap": false, "disableTextWrap": false,
"editorMode": "code", "editorMode": "builder",
"expr": "time() - label_replace(repo_commit_received_timestamp, \"remote\", \"$1\", \"remote\", \"https://(.*).us-(west|east).host.bsky.network\")", "expr": "time() - label_replace(repo_commit_received_timestamp, \"remote\", \"$1\", \"remote\", \"https://(.*).us-(west|east).host.bsky.network\")",
"fullMetaSearch": false, "fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true, "includeNullMetadata": true,
"instant": false, "instant": false,
"legendFormat": "{{remote}}", "legendFormat": "{{remote}}",
"range": true, "range": true,
"refId": "A", "refId": "A",
"useBackend": false "useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "label_replace(rate(repo_commit_received_timestamp[$rate_interval]), \"remote\", \"$1\", \"remote\", \"https://(.*).us-(west|east).host.bsky.network\")",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
"instant": false,
"legendFormat": "{{remote}}",
"range": true,
"refId": "B",
"useBackend": false
} }
], ],
"title": "Delay", "title": "Delay",
@ -1598,8 +1616,8 @@
"auto_min": "10s", "auto_min": "10s",
"current": { "current": {
"selected": false, "selected": false,
"text": "5m", "text": "30m",
"value": "5m" "value": "30m"
}, },
"hide": 0, "hide": 0,
"label": "Rate interval", "label": "Rate interval",
@ -1611,7 +1629,7 @@
"value": "1m" "value": "1m"
}, },
{ {
"selected": true, "selected": false,
"text": "5m", "text": "5m",
"value": "5m" "value": "5m"
}, },
@ -1621,7 +1639,7 @@
"value": "10m" "value": "10m"
}, },
{ {
"selected": false, "selected": true,
"text": "30m", "text": "30m",
"value": "30m" "value": "30m"
}, },
@ -1655,13 +1673,13 @@
] ]
}, },
"time": { "time": {
"from": "now-1h", "from": "now-3h",
"to": "now" "to": "now"
}, },
"timepicker": {}, "timepicker": {},
"timezone": "", "timezone": "",
"title": "Bluesky indexer", "title": "Bluesky indexer",
"uid": "aXw6dQhSz", "uid": "aXw6dQhSz",
"version": 20, "version": 22,
"weekStart": "" "weekStart": ""
} }