Torjus Håkestad feff1d06eb
Some checks failed
Run nix flake check / flake-check (push) Has been cancelled
Configure tempo otlp reciever
2025-05-24 22:08:36 +02:00

38 lines
727 B
Nix

{ ... }:
{
services.tempo = {
enable = true;
settings = {
server = {
http_listen_port = 3200;
grpc_listen_port = 3201;
};
distributor = {
receivers = {
otlp = {
protocols = {
http = {
endpoint = "localhost:4318";
cors = {
allowed_origins = [ "*.home.2rjus.net" ];
};
};
};
};
};
};
storage = {
trace = {
backend = "local";
local = {
path = "/var/lib/tempo";
};
wal = {
path = "/var/lib/tempo/wal";
};
};
};
};
};
}