2022-10-19 21:25:19 +03:00
|
|
|
{ config, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
systemd.services.ipfs = {
|
|
|
|
environment = {
|
|
|
|
OTEL_TRACES_EXPORTER = "otlp";
|
|
|
|
OTEL_EXPORTER_OTLP_PROTOCOL = "grpc";
|
|
|
|
OTEL_EXPORTER_OTLP_ENDPOINT = config.links.tempo-otlp-grpc.url;
|
|
|
|
OTEL_TRACES_SAMPLER = "parentbased_traceidratio";
|
2023-05-14 00:29:53 +03:00
|
|
|
OTEL_TRACES_SAMPLER_ARG = "0.50";
|
2022-10-19 21:25:19 +03:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|