Fix tempo/loki/mimir

This commit is contained in:
2025-05-29 13:22:58 +00:00
parent a775e51995
commit faa49e32d8
2 changed files with 18 additions and 3 deletions
+15 -2
View File
@@ -1,5 +1,4 @@
{pkgs, ...}: {
services.opentelemetry-collector = {
enable = true;
package = pkgs.opentelemetry-collector-contrib;
@@ -11,6 +10,7 @@
configuration = {
server = {
http_listen_port = 1880;
grpc_listen_port = 9095;
};
};
};
@@ -20,6 +20,7 @@
configuration = {
server = {
http_listen_port = 1881;
grpc_listen_port = 9096;
};
storage_config = {
filesystem = {
@@ -35,7 +36,7 @@
from = "2020-05-15";
store = "tsdb";
object_store = "filesystem";
schema= "v13";
schema = "v13";
index = {
prefix = "index_";
period = "24h";
@@ -51,6 +52,18 @@
settings = {
server = {
http_listen_port = 1882;
grpc_listen_port = 9097;
};
storage = {
trace = {
backend = "local";
local = {
path = "/var/lib/tempo";
};
wal = {
path = "/var/lib/tempo/wal";
};
};
};
};
};
+3 -1
View File
@@ -23,10 +23,12 @@
"/var/lib/flatpak"
"/var/lib/tcc"
"/var/lib/flood"
"/var/lib/loki"
"/var/lib/transmission"
"/var/lib/gitea"
"/var/lib/acme"
"/var/lib/loki"
"/var/lib/mimir"
"/var/lib/tempo"
"/etc/NetworkManager/system-connections"
"/etc/tailord/"
];