Skip to content

Commit 2dbcb0a

Browse files
committed
update configs
1 parent f402370 commit 2dbcb0a

5 files changed

Lines changed: 10 additions & 9 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,5 @@ EXPOSE 8000
6060
# Make entrypoint script executable
6161
RUN chmod +x /code/docker-entrypoint.sh
6262

63-
ENTRYPOINT ["/code/docker-entrypoint.sh"]
63+
ENTRYPOINT ["bash","/code/docker-entrypoint.sh"]
6464
CMD ["uvicorn", "DataSpace.asgi:application", "--host", "0.0.0.0", "--port", "8000"]

api/migrations/0001_initial.py

100644100755
File mode changed.

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: "3.9"
1+
22
services:
33
backend:
44
build: .

otel-collector-config.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ processors:
1010
batch:
1111

1212
exporters:
13-
logging:
14-
loglevel: warn
13+
# 'logging' is replaced by 'debug'
14+
debug:
15+
verbosity: normal # 'normal' is equivalent to the old 'info'/'warn' levels
1516
otlp/elastic:
1617
endpoint: "apm-server:8200"
1718
tls:
@@ -26,9 +27,9 @@ service:
2627
pipelines:
2728
traces:
2829
receivers: [otlp]
29-
exporters: [logging, otlp/elastic]
30-
processors: [batch]
30+
processors: [memory_limiter, batch] # Added memory_limiter to the pipeline
31+
exporters: [debug, otlp/elastic]
3132
metrics:
3233
receivers: [otlp]
33-
exporters: [logging, otlp/elastic]
34-
processors: [batch]
34+
processors: [memory_limiter, batch] # Added memory_limiter to the pipeline
35+
exporters: [debug, otlp/elastic]

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ django-stubs==4.2.7
112112
djangorestframework-stubs==3.14.5
113113

114114
#whitenoise for managing static files
115-
whitenoise==6.9.0
115+
whitenoise==6.9.0
116116

117117
# Activity stream for tracking user actions
118118
django-activity-stream==2.0.0

0 commit comments

Comments
 (0)