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:
|
pyroscope:
|
||||||
image: grafana/pyroscope:1.5.0
|
image: grafana/pyroscope:1.5.0
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: 1g
|
||||||
expose:
|
expose:
|
||||||
- 4040
|
- 4040
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -15,6 +19,10 @@ services:
|
||||||
otel-collector:
|
otel-collector:
|
||||||
image: otel/opentelemetry-collector-contrib:0.97.0
|
image: otel/opentelemetry-collector-contrib:0.97.0
|
||||||
restart: always
|
restart: always
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: 1g
|
||||||
command: "--config=/etc/otel-collector-config.yaml"
|
command: "--config=/etc/otel-collector-config.yaml"
|
||||||
volumes:
|
volumes:
|
||||||
- ./otel-collector/config.yaml:/etc/otel-collector-config.yaml
|
- ./otel-collector/config.yaml:/etc/otel-collector-config.yaml
|
||||||
|
@ -33,6 +41,10 @@ services:
|
||||||
loki:
|
loki:
|
||||||
image: grafana/loki:2.9.6
|
image: grafana/loki:2.9.6
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: 1g
|
||||||
expose:
|
expose:
|
||||||
- "3100"
|
- "3100"
|
||||||
command: -config.file=/etc/loki/config.yaml
|
command: -config.file=/etc/loki/config.yaml
|
||||||
|
@ -43,6 +55,10 @@ services:
|
||||||
prometheus:
|
prometheus:
|
||||||
image: prom/prometheus:v2.51.1
|
image: prom/prometheus:v2.51.1
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: 1g
|
||||||
expose:
|
expose:
|
||||||
- "9090"
|
- "9090"
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -56,6 +72,10 @@ services:
|
||||||
tempo:
|
tempo:
|
||||||
image: grafana/tempo:2.4.1
|
image: grafana/tempo:2.4.1
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: 1g
|
||||||
command: ["-config.file=/etc/tempo/config.yaml"]
|
command: ["-config.file=/etc/tempo/config.yaml"]
|
||||||
depends_on:
|
depends_on:
|
||||||
- prometheus
|
- prometheus
|
||||||
|
@ -70,6 +90,10 @@ services:
|
||||||
grafana:
|
grafana:
|
||||||
image: grafana/grafana:10.4.1
|
image: grafana/grafana:10.4.1
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: 1g
|
||||||
links:
|
links:
|
||||||
- loki
|
- loki
|
||||||
- prometheus
|
- prometheus
|
||||||
|
|
Loading…
Reference in a new issue