cluster/services/ipfs: switch to cluster otlp trace endpoint
This commit is contained in:
parent
0d820db604
commit
f41265ed00
1 changed files with 2 additions and 2 deletions
|
@ -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";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue