Change observability service ports and add Arrtrix content management

- Update ports for Alloy, Grafana, Loki, Prometheus, Promtail, Tempo,
  and
  Uptime Kuma to new ranges
- Add Arrtrix content management commands and subscriptions
- Implement Radarr and Sonarr client logic for movie and series
  management
- Add matrix commands for download and subscription management
- Add subscription repository with database schema and logic
- Update Arrtrix config and example config for content section
- Update help text and command processor to include new commands
- Update vendor hash for Arrtrix package
This commit is contained in:
Chris Kruining 2026-04-16 10:41:16 +02:00
parent 9b93f017b6
commit e26e25b566
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2
24 changed files with 1340 additions and 82 deletions

View file

@ -13,7 +13,7 @@ in
config = mkIf cfg.enable {
services.prometheus = {
enable = true;
port = 9002;
port = 9200;
extraFlags = optionals config.${namespace}.services.observability.alloy.enable [
"--web.enable-remote-write-receiver"
];
@ -24,7 +24,7 @@ in
{
job_name = "prometheus";
static_configs = [
{ targets = [ "localhost:9002" ]; }
{ targets = [ "localhost:9200" ]; }
];
}
@ -39,7 +39,7 @@ in
{
job_name = "alloy";
static_configs = [
{ targets = [ "localhost:9007" ]; }
{ targets = [ "localhost:9700" ]; }
];
}
]
@ -47,7 +47,7 @@ in
{
job_name = "tempo";
static_configs = [
{ targets = [ "localhost:9006" ]; }
{ targets = [ "localhost:9600" ]; }
];
}
];
@ -55,13 +55,13 @@ in
exporters = {
node = {
enable = true;
port = 9005;
port = 9201;
enabledCollectors = [ "systemd" ];
openFirewall = true;
};
};
};
networking.firewall.allowedTCPPorts = [ 9002 ];
networking.firewall.allowedTCPPorts = [ 9200 ];
};
}