ソースを参照

add OpenTelemetry default configuration for dev

Yuki Takei 1 年間 前
コミット
25b4512d2e
1 ファイル変更4 行追加2 行削除
  1. 4 2
      apps/app/.env.development

+ 4 - 2
apps/app/.env.development

@@ -4,8 +4,6 @@
 ##
 MIGRATIONS_DIR=src/migrations/
 
-OPENTELEMETRY_ENABLED=false
-
 APP_SITE_URL=http://localhost:3000
 FILE_UPLOAD=mongodb
 # MONGO_GRIDFS_TOTAL_LIMIT=10485760
@@ -32,3 +30,7 @@ QUESTIONNAIRE_SERVER_ORIGIN="http://host.docker.internal:3003"
 # AUDIT_LOG_ACTION_GROUP_SIZE=SMALL
 # AUDIT_LOG_ADDITIONAL_ACTIONS=
 # AUDIT_LOG_EXCLUDE_ACTIONS=
+
+# OpenTelemetry Configuration
+OPENTELEMETRY_ENABLED=false
+OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317