limits
This commit is contained in:
parent
b65124d36a
commit
67a099a597
1 changed files with 24 additions and 0 deletions
|
@ -4,6 +4,10 @@ services:
|
|||
pyroscope:
|
||||
image: grafana/pyroscope:1.5.0
|
||||
restart: unless-stopped
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 1g
|
||||
expose:
|
||||
- 4040
|
||||
volumes:
|
||||
|
@ -15,6 +19,10 @@ services:
|
|||
otel-collector:
|
||||
image: otel/opentelemetry-collector-contrib:0.97.0
|
||||
restart: always
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 1g
|
||||
command: "--config=/etc/otel-collector-config.yaml"
|
||||
volumes:
|
||||
- ./otel-collector/config.yaml:/etc/otel-collector-config.yaml
|
||||
|
@ -33,6 +41,10 @@ services:
|
|||
loki:
|
||||
image: grafana/loki:2.9.6
|
||||
restart: unless-stopped
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 1g
|
||||
expose:
|
||||
- "3100"
|
||||
command: -config.file=/etc/loki/config.yaml
|
||||
|
@ -43,6 +55,10 @@ services:
|
|||
prometheus:
|
||||
image: prom/prometheus:v2.51.1
|
||||
restart: unless-stopped
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 1g
|
||||
expose:
|
||||
- "9090"
|
||||
volumes:
|
||||
|
@ -56,6 +72,10 @@ services:
|
|||
tempo:
|
||||
image: grafana/tempo:2.4.1
|
||||
restart: unless-stopped
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 1g
|
||||
command: ["-config.file=/etc/tempo/config.yaml"]
|
||||
depends_on:
|
||||
- prometheus
|
||||
|
@ -70,6 +90,10 @@ services:
|
|||
grafana:
|
||||
image: grafana/grafana:10.4.1
|
||||
restart: unless-stopped
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 1g
|
||||
links:
|
||||
- loki
|
||||
- prometheus
|
||||
|
|
Loading…
Reference in a new issue