🔧 update loki instance_name

This commit is contained in:
Ingolf Wagner 2025-02-27 08:16:14 +07:00
parent aec360748f
commit 6e74b0e916
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
2 changed files with 5 additions and 5 deletions
flake.lock
machines/chungus/telemetry

6
flake.lock generated
View file

@ -1405,11 +1405,11 @@
"treefmt-nix": "treefmt-nix_8"
},
"locked": {
"lastModified": 1740556259,
"narHash": "sha256-k8f7+Ir+DiK7rVH1RoHt8Do/Y8JKagTlNoSwgOPVsU0=",
"lastModified": 1740618320,
"narHash": "sha256-NNggBFBa6RQ701gMfT33qhg7/lC7c7dzXPxVD/qYajE=",
"owner": "mrvandalo",
"repo": "nixos-telemetry",
"rev": "3481a8b1c94fc5adc4ae7c1ba9695e6fe59389de",
"rev": "ca38308c54a4a65a849134e43079e35e18ac40f5",
"type": "github"
},
"original": {

View file

@ -7,7 +7,7 @@
default_labels_enabled = {
exporter = true;
job = true;
instance = true;
instance_name = true;
level = true;
};
};
@ -16,7 +16,7 @@
{
action = "insert";
key = "loki.attribute.labels";
value = "job, unit, boot_id, instance, facility, facility_label, priority, priority_label";
value = "job, unit, boot_id, instance_name, facility, facility_label, priority, priority_label";
}
];
resource.attributes = [