VEGAS/ipfs: log traces to Tempo

This commit is contained in:
Max Headroom 2022-06-17 21:29:22 +02:00
parent a6f613dc31
commit 3ff51f2f13

View file

@ -10,6 +10,14 @@ in
aspect.modules.ipfs
];
systemd.services.ipfs.environment = {
OTEL_TRACES_EXPORTER = "otlp";
OTEL_EXPORTER_OTLP_PROTOCOL = "grpc";
OTEL_EXPORTER_OTLP_ENDPOINT = "http://127.0.0.1:${config.portsStr.tempo-otlp-grpc}";
OTEL_TRACES_SAMPLER = "parentbased_traceidratio";
OTEL_TRACES_SAMPLER_ARG = "0.01";
};
systemd.slices.remotefshost.sliceConfig = {
IOWeight = 5;
IOReadIOPSMax = [