nixos-config/config/services/tempo.nix

31 lines
709 B
Nix
Raw Normal View History

2023-12-10 10:27:30 +00:00
{lib, ...}: {
services.tempo = {
enable = true;
settings = {
server = {
http_listen_address = "0.0.0.0";
http_listen_port = 2144;
graceful_shutdown_timeout = "10s";
};
2023-12-10 12:57:47 +00:00
distributor.receivers = {
2023-12-10 10:27:30 +00:00
otlp.protocols = {
grpc = {};
http = {};
};
jaeger.protocols = {
thrift_http = {};
grpc = {};
thrift_binary = {};
thrift_compact = {};
};
};
2023-12-10 12:57:47 +00:00
storage.trace = {
backend = "local";
wal.path = "/var/lib/tempo/wal";
local.path = "/var/lib/tempo/blocks";
};
2023-12-10 10:27:30 +00:00
};
};
services.opentelemetry-collector.enable = lib.mkForce false;
}