forked from cortexproject/cortex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcortex.yaml
101 lines (84 loc) · 1.97 KB
/
cortex.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
auth_enabled: false
distributor:
shard_by_all_labels: true
pool:
health_check_ingesters: true
ingester_client:
grpc_client_config:
# Configure the client to allow messages up to 100MB.
max_recv_msg_size: 104857600
max_send_msg_size: 104857600
use_gzip_compression: true
ingester:
max_transfer_retries: 1
lifecycler:
# We want to start immediately.
join_after: 0
final_sleep: 0s
num_tokens: 512
ring:
kvstore:
store: consul
consul:
host: consul:8500
replication_factor: 1
querier:
# Used when the blocks sharding is disabled.
store_gateway_addresses: store-gateway-1:9008,store-gateway-2:9009
tsdb:
dir: /tmp/cortex-tsdb-ingester
ship_interval: 1m
block_ranges_period: [ 2h ]
retention_period: 3h
backend: s3
bucket_store:
sync_dir: /tmp/cortex-tsdb-querier
consistency_delay: 5s
index_cache:
backend: memcached
memcached:
addresses: dns+memcached:11211
chunks_cache:
backend: memcached
memcached:
addresses: dns+memcached:11211
metadata_cache:
backend: memcached
memcached:
addresses: dns+memcached:11211
s3:
endpoint: minio:9000
bucket_name: cortex-tsdb
access_key_id: cortex
secret_access_key: supersecret
insecure: true
ruler:
enable_api: true
storage:
type: configdb
configdb:
configs_api_url: http://configstore:80/
storage:
engine: tsdb
compactor:
compaction_interval: 30s
data_dir: /tmp/cortex-compactor
consistency_delay: 1m
sharding_enabled: true
sharding_ring:
kvstore:
store: consul
consul:
host: consul:8500
store_gateway:
sharding_enabled: true
sharding_ring:
replication_factor: 1
heartbeat_period: 5s
heartbeat_timeout: 15s
kvstore:
store: consul
consul:
host: consul:8500
frontend_worker:
frontend_address: "query-frontend:9007"