Skip to content

Commit

Permalink
Update compose.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Weifeng Wang <[email protected]>
  • Loading branch information
qclaogui committed Apr 1, 2024
1 parent 5500929 commit 81ea572
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
23 changes: 17 additions & 6 deletions compose.override.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,15 @@ services:
profiles.agent.grafana.com/service_name: grafana
profiles.agent.grafana.com/port: 6060
logs.agent.grafana.com/log-format: logfmt
volumes:
- ./monitoring-mixins/pyroscope-mixin/deploy/dashboards_out:/var/lib/grafana/dashboards/pyroscope-mixin
- ./monitoring-mixins/loki-mixin/deploy/dashboards_out:/var/lib/grafana/dashboards/loki-mixin
# - ./monitoring-mixins/tempo-mixin/deploy/dashboards_out:/var/lib/grafana/dashboards/tempo-mixin
environment:
- GF_LOG_LEVEL=warn
- GF_SECURITY_ADMIN_PASSWORD=${GF_SECURITY_ADMIN_PASSWORD:-admin_password}
- GF_FEATURE_TOGGLES_ENABLE=traceqlEditor tracesEmbeddedFlameGraph traceqlSearch correlations metricsSummary traceToMetrics traceToProfiles
- GF_DIAGNOSTICS_PROFILING_ENABLED=true
- GF_DIAGNOSTICS_PROFILING_ADDR=0.0.0.0
- GF_DIAGNOSTICS_PROFILING_PORT=6060
GF_LOG_LEVEL: ${GF_LOG_LEVEL:-warn}
GF_DIAGNOSTICS_PROFILING_ENABLED: true
GF_DIAGNOSTICS_PROFILING_ADDR: 0.0.0.0
GF_DIAGNOSTICS_PROFILING_PORT: 6060

# override compose.yaml included service tempo's labels and environment to enabled profiles and traces data collection
tempo:
Expand All @@ -75,6 +77,15 @@ services:
<<: *jaeger-environment
JAEGER_TAGS: app=mimir

# override included service mimirtool for rules and alerts pre-provisioning
mimirtool:
volumes:
- ./monitoring-mixins/loki-mixin/deploy/loki-mixin-rules.yaml:/rules/loki-mixin-rules.yaml
- ./monitoring-mixins/loki-mixin/deploy/loki-mixin-alerts.yaml:/rules/loki-mixin-alerts.yaml
- ./monitoring-mixins/pyroscope-mixin/deploy/pyroscope-mixin-rules.yaml:/rules/pyroscope-mixin-rules.yaml
# - ./monitoring-mixins/tempo-mixin/deploy/tempo-mixin-rules.yaml:/rules/tempo-mixin-rules.yaml
# - ./monitoring-mixins/tempo-mixin/deploy/tempo-mixin-alerts.yaml:/rules/tempo-mixin-alerts.yaml

# override compose.yaml included service pyroscope's labels and environment to enabled traces data collection
pyroscope:
labels:
Expand Down
1 change: 1 addition & 0 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ version: '3.9'
include:
- path: ./docker-compose/common/compose-include/minio.yaml
- path: ./docker-compose/common/compose-include/memcached.yaml
- path: ./docker-compose/common/compose-include/inbucket.yaml
- path: ./docker-compose/common/compose-include/mimirtool.yaml
# Grafana LGTMP Stack Components
- path: ./docker-compose/common/compose-include/loki.yaml
Expand Down

0 comments on commit 81ea572

Please sign in to comment.