ildkule: adjust matrix version annotations for nixos matrix module

This commit is contained in:
Daniel Lovbrotte Olsen 2023-06-20 14:01:44 +02:00
parent e73b7d2cd1
commit 699569249a
1 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@
"uid": "${datasource}" "uid": "${datasource}"
}, },
"enable": true, "enable": true,
"expr": "changes(process_start_time_seconds{instance=\"matrix.org\",job=~\"synapse\"}[$bucket_size]) * on (instance, job) group_left(version) synapse_build_info{instance=\"matrix.org\",job=\"synapse\"}", "expr": "changes(process_start_time_seconds{instance=\"$instance\",job=~\"master\"}[$bucket_size]) * on (instance, job) group_left(version) synapse_build_info{instance=\"$instance\",job=\"master\"}",
"iconColor": "purple", "iconColor": "purple",
"name": "deploys", "name": "deploys",
"titleFormat": "Deployed {{version}}" "titleFormat": "Deployed {{version}}"
@ -761,7 +761,7 @@
"uid": "${datasource}" "uid": "${datasource}"
}, },
"editorMode": "code", "editorMode": "code",
"expr": "synapse_build_info{instance=\"$instance\", job=\"synapse\"} - 1", "expr": "synapse_build_info{instance=\"$instance\", job=\"master\"} - 1",
"legendFormat": "version {{version}}", "legendFormat": "version {{version}}",
"range": true, "range": true,
"refId": "deployed_synapse_versions" "refId": "deployed_synapse_versions"