cluster/services/ipfs: switch to cluster otlp trace endpoint

This commit is contained in:
Max Headroom 2023-06-02 17:38:12 +02:00
parent 0d820db604
commit f41265ed00

View file

@ -1,11 +1,11 @@
{ config, ... }:
{ cluster, ... }:
{
systemd.services.ipfs = {
environment = {
OTEL_TRACES_EXPORTER = "otlp";
OTEL_EXPORTER_OTLP_PROTOCOL = "grpc";
OTEL_EXPORTER_OTLP_ENDPOINT = config.links.tempo-otlp-grpc.url;
OTEL_EXPORTER_OTLP_ENDPOINT = cluster.config.links.tempo-otlp-grpc.url;
OTEL_TRACES_SAMPLER = "parentbased_traceidratio";
OTEL_TRACES_SAMPLER_ARG = "0.50";
};