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
37
37
38
38
# OpenTelemetry Configuration
39
39
OTEL_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 1
1
services :
2
2
api :
3
3
container_name : rag-api
4
+ environment :
5
+ - NODE_ENV=local
4
6
ports :
5
7
- " ${PORT:-8080}:8080"
6
8
depends_on :
Original file line number Diff line number Diff line change @@ -30,12 +30,12 @@ const resource = new Resource({
30
30
31
31
// Trace Exporter
32
32
const 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' ,
34
34
} ) ;
35
35
36
36
// Log Exporter
37
37
const 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' ,
39
39
} ) ;
40
40
41
41
// Logger Provider
You can’t perform that action at this time.
0 commit comments