Skip to content

Commit

Permalink
Configuration addition to disable rate-limiter's stat log generation
Browse files Browse the repository at this point in the history
  • Loading branch information
slahirucd7 committed Feb 17, 2025
1 parent b300035 commit fb43bd1
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ services:
- LOG_LEVEL=DEBUG
- LOCAL_CACHE_SIZE_IN_BYTES=1024000
- LIMIT_RESPONSE_HEADERS_ENABLED=false
- DISABLE_STATS=true
# Redis
- REDIS_SOCKET_TYPE=tcp
- REDIS_URL=redis:6379
Expand Down
1 change: 1 addition & 0 deletions rate-limiter/src/main/resources/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ ENV GRPC_HOST=0.0.0.0
ENV GRPC_PORT=8091
ENV USE_STATSD=false
ENV LOG_LEVEL=INFO
ENV DISABLE_STATS=true
ENV LOCAL_CACHE_SIZE_IN_BYTES=1024000

ENV GRPC_SERVER_USE_TLS=true
Expand Down
1 change: 1 addition & 0 deletions resources/docker-compose/apim/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ services:
- PORT=8090
- USE_STATSD=false
- LOG_LEVEL=INFO
- DISABLE_STATS=true
- LOCAL_CACHE_SIZE_IN_BYTES=1024000
- LIMIT_RESPONSE_HEADERS_ENABLED=false
# Redis
Expand Down
1 change: 1 addition & 0 deletions resources/docker-compose/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ services:
- LOG_LEVEL=INFO
- LOCAL_CACHE_SIZE_IN_BYTES=1024000
- LIMIT_RESPONSE_HEADERS_ENABLED=false
- DISABLE_STATS=true
# Redis
- REDIS_SOCKET_TYPE=tcp
- REDIS_URL=redis:6379
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ spec:
value: "false"
- name: LOG_LEVEL
value: "DEBUG"
- name: DISABLE_STATS
value: "true"
- name: LOCAL_CACHE_SIZE_IN_BYTES
value: "1024000"
- name: LIMIT_RESPONSE_HEADERS_ENABLED
Expand Down

0 comments on commit fb43bd1

Please sign in to comment.