Przeglądaj źródła

fix: correct OTEL_TRACES_SAMPLER_ARG value in production environment

Yuki Takei 8 miesięcy temu
rodzic
commit
13392d302f
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      apps/app/.env.production

+ 1 - 1
apps/app/.env.production

@@ -7,6 +7,6 @@ MIGRATIONS_DIR=dist/migrations/
 
 
 # OpenTelemetry Official Configuration
 # OpenTelemetry Official Configuration
 # Environment variables starting with 'OTEL_' are automatically loaded by the OpenTelemetry SDK
 # Environment variables starting with 'OTEL_' are automatically loaded by the OpenTelemetry SDK
-OTEL_TRACES_SAMPLER_ARG=0.1
+OTEL_TRACES_SAMPLER_ARG=0.01
 OTEL_METRIC_EXPORT_INTERVAL=300000
 OTEL_METRIC_EXPORT_INTERVAL=300000
 OTEL_EXPORTER_OTLP_ENDPOINT="https://telemetry.growi.org"
 OTEL_EXPORTER_OTLP_ENDPOINT="https://telemetry.growi.org"