From 4c1117a8741c882d93ff31b87ded6931f066a016 Mon Sep 17 00:00:00 2001
From: Florian Sesser <florian@private.storage>
Date: Fri, 26 Aug 2022 14:40:25 +0000
Subject: [PATCH] Promtail: Add 'host' label to tahoe corruption advisory
 scrape job

It should have a host label just like the journal scraper does.
---
 morph/lib/storage.nix | 1 +
 1 file changed, 1 insertion(+)

diff --git a/morph/lib/storage.nix b/morph/lib/storage.nix
index 461d24e6..dc7e6c61 100644
--- a/morph/lib/storage.nix
+++ b/morph/lib/storage.nix
@@ -55,6 +55,7 @@ in {
             {
               labels = {
                 job = "tahoe-corruption-advisories";
+                host = config.networking.hostName;
                 __path__ = "/storage/corruption-advisories/*";
               };
             }
-- 
GitLab