Skip to content

Commit 5a4373c

Browse files
committed
chore: Minor fixes
1 parent 62dfd85 commit 5a4373c

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

docker/docker-compose.dev.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22
services:
33
api:
44
image: ${APPLICATION_IMAGE}
5+
environment:
6+
- NODE_ENV=development

docker/docker-compose.prod.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
services:
33
api:
44
image: ${APPLICATION_IMAGE}
5+
environment:
6+
- NODE_ENV=production
57

68
# add logging in production environment
79
otel-collector:

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const otelTraceExporter = new OTLPTraceExporter({
3535

3636
// Log Exporter
3737
const otelLogExporter = new OTLPLogExporter({
38-
url: process.env.OTEL_EXPORTER_OTLP_ENDPOINT || 'otel-collectort:4317',
38+
url: process.env.OTEL_EXPORTER_OTLP_ENDPOINT || 'otel-collector:4317',
3939
});
4040

4141
// Logger Provider

0 commit comments

Comments
 (0)