Format drifted files to satisfy the treefmt flake-check gate

Pure formatting (nixfmt/prettier/yamlfmt); no behavior change. These
files predate the current treefmt config and were failing nix flake
check; reformatting them makes the gate green again.
This commit is contained in:
Berwn
2026-06-18 14:49:48 +07:00
parent 1cb6f39ea2
commit dc21348727
6 changed files with 54 additions and 20 deletions
+23 -5
View File
@@ -26,7 +26,10 @@
"fieldConfig": {
"defaults": {
"color": { "mode": "thresholds" },
"thresholds": { "mode": "absolute", "steps": [{ "color": "green", "value": null }] },
"thresholds": {
"mode": "absolute",
"steps": [{ "color": "green", "value": null }]
},
"noValue": "no data",
"mappings": [
{
@@ -41,7 +44,11 @@
"overrides": []
},
"options": {
"reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false },
"reduceOptions": {
"calcs": ["lastNotNull"],
"fields": "",
"values": false
},
"colorMode": "background",
"graphMode": "none",
"textMode": "auto",
@@ -72,7 +79,11 @@
"overrides": []
},
"options": {
"reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false },
"reduceOptions": {
"calcs": ["lastNotNull"],
"fields": "",
"values": false
},
"colorMode": "none",
"graphMode": "none",
"textMode": "auto",
@@ -110,7 +121,11 @@
"overrides": []
},
"options": {
"reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false },
"reduceOptions": {
"calcs": ["lastNotNull"],
"fields": "",
"values": false
},
"colorMode": "background",
"graphMode": "none",
"textMode": "auto",
@@ -168,7 +183,10 @@
"id": 6,
"datasource": { "type": "prometheus", "uid": "victoriametrics" },
"gridPos": { "h": 8, "w": 12, "x": 12, "y": 6 },
"fieldConfig": { "defaults": { "unit": "short", "min": 0, "max": 1 }, "overrides": [] },
"fieldConfig": {
"defaults": { "unit": "short", "min": 0, "max": 1 },
"overrides": []
},
"targets": [
{
"refId": "A",
+17 -5
View File
@@ -224,7 +224,10 @@
"options": { "showHeader": true },
"fieldConfig": {
"defaults": {
"custom": { "align": "auto", "cellOptions": { "type": "color-background" } },
"custom": {
"align": "auto",
"cellOptions": { "type": "color-background" }
},
"thresholds": {
"mode": "absolute",
"steps": [
@@ -245,15 +248,21 @@
"overrides": [
{
"matcher": { "id": "byName", "options": "zone" },
"properties": [{ "id": "custom.cellOptions", "value": { "type": "auto" } }]
"properties": [
{ "id": "custom.cellOptions", "value": { "type": "auto" } }
]
},
{
"matcher": { "id": "byName", "options": "query" },
"properties": [{ "id": "custom.cellOptions", "value": { "type": "auto" } }]
"properties": [
{ "id": "custom.cellOptions", "value": { "type": "auto" } }
]
},
{
"matcher": { "id": "byName", "options": "instance" },
"properties": [{ "id": "custom.cellOptions", "value": { "type": "auto" } }]
"properties": [
{ "id": "custom.cellOptions", "value": { "type": "auto" } }
]
}
]
},
@@ -283,7 +292,10 @@
"id": 22,
"datasource": { "type": "prometheus", "uid": "victoriametrics" },
"gridPos": { "h": 8, "w": 12, "x": 12, "y": 43 },
"fieldConfig": { "defaults": { "unit": "short", "min": 0, "max": 1 }, "overrides": [] },
"fieldConfig": {
"defaults": { "unit": "short", "min": 0, "max": 1 },
"overrides": []
},
"targets": [
{
"refId": "A",