2023-08-07 01:01:39 +02:00
|
|
|
# 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
|
2023-08-09 02:41:20 +02:00
|
|
|
tsdb:
|
|
|
|
dir: /mimir/tsdb
|
2023-08-09 02:44:28 +02:00
|
|
|
flush_blocks_on_shutdown: true
|
2023-08-07 01:01:39 +02:00
|
|
|
|
|
|
|
ingester:
|
|
|
|
ring:
|
|
|
|
replication_factor: 1
|
|
|
|
|
|
|
|
store_gateway:
|
|
|
|
sharding_ring:
|
|
|
|
replication_factor: 1
|
|
|
|
|
2024-01-09 23:31:44 +01:00
|
|
|
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
|
2023-08-07 01:01:39 +02:00
|
|
|
#
|
|
|
|
# alertmanager:
|
|
|
|
# data_dir: /data/alertmanager
|
|
|
|
# fallback_config_file: /etc/alertmanager-fallback-config.yaml
|
|
|
|
# external_url: http://localhost:9009/alertmanager
|
|
|
|
|
|
|
|
server:
|
|
|
|
log_level: warn
|