rico0: add dns for promtail

This commit is contained in:
Adithya 2024-07-21 19:19:02 +05:30
parent 902573f029
commit 18d29bc8d6
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C
2 changed files with 6 additions and 1 deletions

View file

@ -63,6 +63,11 @@ _: {
"grafana.labs.adtya.xyz" = "10.10.10.10,fd7c:585c:c4ae::10"; "grafana.labs.adtya.xyz" = "10.10.10.10,fd7c:585c:c4ae::10";
"loki.labs.adtya.xyz" = "10.10.10.10,fd7c:585c:c4ae::10"; "loki.labs.adtya.xyz" = "10.10.10.10,fd7c:585c:c4ae::10";
"prometheus.labs.adtya.xyz" = "10.10.10.10,fd7c:585c:c4ae::10"; "prometheus.labs.adtya.xyz" = "10.10.10.10,fd7c:585c:c4ae::10";
"promtail.rico0.labs.adtya.xyz" = "10.10.10.10,fd7c:585c:c4ae::10";
"promtail.rico1.labs.adtya.xyz" = "10.10.10.11,fd7c:585c:c4ae::11";
"promtail.rico2.labs.adtya.xyz" = "10.10.10.12,fd7c:585c:c4ae::12";
"promtail.wynne.labs.adtya.xyz" = "10.10.10.13,fd7c:585c:c4ae::13";
"promtail.layne.labs.adtya.xyz" = "10.10.10.14,fd7c:585c:c4ae::14";
"transmission.labs.adtya.xyz" = "10.10.10.14,fd7c:585c:c4ae::14"; "transmission.labs.adtya.xyz" = "10.10.10.14,fd7c:585c:c4ae::14";
}; };
}; };

View file

@ -32,7 +32,7 @@
matches = "_TRANSPORT=kernel"; matches = "_TRANSPORT=kernel";
labels = { job = "systemd-journal"; host = "${config.networking.hostName}"; }; labels = { job = "systemd-journal"; host = "${config.networking.hostName}"; };
}; };
relabel_config = [ relabel_configs = [
{ {
source_labels = [ "__journal__systemd_unit" ]; source_labels = [ "__journal__systemd_unit" ];
target_label = "unit"; target_label = "unit";