55 lines
1.3 KiB
YAML
55 lines
1.3 KiB
YAML
# Do not use this configuration in production.
|
|
# It is for demonstration purposes only.
|
|
# Run Mimir in single process mode, with all components running in 1 process.
|
|
target: all
|
|
# ,alertmanager,overrides-exporter
|
|
|
|
# Configure Mimir to use Minio as object storage backend.
|
|
common:
|
|
storage:
|
|
backend: s3
|
|
s3:
|
|
endpoint: s3.tobiasmanske.de
|
|
access_key_id: "{{ mimir.s3.access_key }}"
|
|
secret_access_key: "{{ mimir.s3.secret_key }}"
|
|
bucket_name: mimir
|
|
|
|
# Blocks storage requires a prefix when using a common object storage bucket.
|
|
blocks_storage:
|
|
s3:
|
|
bucket_name: mimir-blocks
|
|
tsdb:
|
|
dir: /mimir/tsdb
|
|
flush_blocks_on_shutdown: true
|
|
|
|
ingester:
|
|
ring:
|
|
replication_factor: 1
|
|
|
|
store_gateway:
|
|
sharding_ring:
|
|
replication_factor: 1
|
|
|
|
ruler:
|
|
rule_path: /tmp/ruler
|
|
alertmanager_url: http://alertmanager:9093/
|
|
tenant_federation:
|
|
enabled: true
|
|
ring:
|
|
# Quickly detect unhealthy rulers to speed up the tutorial.
|
|
heartbeat_period: 2s
|
|
heartbeat_timeout: 10s
|
|
|
|
ruler_storage:
|
|
backend: local
|
|
local:
|
|
directory: /data/rules
|
|
#
|
|
# alertmanager:
|
|
# data_dir: /data/alertmanager
|
|
# fallback_config_file: /etc/alertmanager-fallback-config.yaml
|
|
# external_url: http://localhost:9009/alertmanager
|
|
|
|
server:
|
|
log_level: warn
|