diff --git a/hosts/VEGAS/services/ipfs/default.nix b/hosts/VEGAS/services/ipfs/default.nix index 0ceb2f6..5f1d657 100644 --- a/hosts/VEGAS/services/ipfs/default.nix +++ b/hosts/VEGAS/services/ipfs/default.nix @@ -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 = [