File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -37,4 +37,4 @@ MONGO_INITDB_PORT=27017
3737
3838# OpenTelemetry Configuration
3939OTEL_SERVICE_NAME = otel-collector
40- OTEL_EXPORTER_OTLP_ENDPOINT = otel-collector:4317
40+ OTEL_EXPORTER_OTLP_ENDPOINT = http:// otel-collector:4317
Original file line number Diff line number Diff line change 11services :
22 api :
33 container_name : rag-api
4+ environment :
5+ - NODE_ENV=local
46 ports :
57 - " ${PORT:-8080}:8080"
68 depends_on :
Original file line number Diff line number Diff line change @@ -30,12 +30,12 @@ const resource = new Resource({
3030
3131// Trace Exporter
3232const otelTraceExporter = new OTLPTraceExporter ( {
33- url : process . env . OTEL_EXPORTER_OTLP_ENDPOINT || 'otel-collector:4317' ,
33+ url : process . env . OTEL_EXPORTER_OTLP_ENDPOINT || 'http:// otel-collector:4317' ,
3434} ) ;
3535
3636// Log Exporter
3737const otelLogExporter = new OTLPLogExporter ( {
38- url : process . env . OTEL_EXPORTER_OTLP_ENDPOINT || 'otel-collector:4317' ,
38+ url : process . env . OTEL_EXPORTER_OTLP_ENDPOINT || 'http:// otel-collector:4317' ,
3939} ) ;
4040
4141// Logger Provider
You can’t perform that action at this time.
0 commit comments