From 6e74b0e916eb68636880d7a8372e3f2daaa17ce2 Mon Sep 17 00:00:00 2001
From: Ingolf Wagner <contact@ingolf-wagner.de>
Date: Thu, 27 Feb 2025 08:16:14 +0700
Subject: [PATCH] :wrench: update loki instance_name

---
 flake.lock                          | 6 +++---
 machines/chungus/telemetry/loki.nix | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/flake.lock b/flake.lock
index 054c335..36674ad 100644
--- a/flake.lock
+++ b/flake.lock
@@ -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": {
diff --git a/machines/chungus/telemetry/loki.nix b/machines/chungus/telemetry/loki.nix
index 96bd3c1..d227d4f 100644
--- a/machines/chungus/telemetry/loki.nix
+++ b/machines/chungus/telemetry/loki.nix
@@ -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 = [