[Grafana] Remove Promtail because it's EoL

This commit is contained in:
2026-06-04 12:11:57 -07:00
parent 9d2af374c1
commit c23eba7e66

View File

@@ -1,7 +1,8 @@
{ config, ... }:
let
lib = import ./lib.nix config;
in {
in
{
imports = [
./shared-postgres.nix
];
@@ -43,25 +44,4 @@ in {
};
environment = { };
};
services.promtail = {
enable = true;
configuration = {
server.http_listen_port = 9080;
clients = [
{ url = "https://loki.blazestar.net/loki/api/v1/push"; }
];
scrape_configs = [{
job_name = "journal";
journal = {
max_age = "12h";
labels = { job = "systemd-journal"; };
};
relabel_configs = [{
source_labels = ["__journal__systemd_unit"];
target_label = "unit";
}];
}];
};
};
}