forked from cortexproject/cortex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcortex.yaml
74 lines (63 loc) · 1.36 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
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
store_gateway:
sharding_enabled: true
sharding_ring:
replication_factor: 1
kvstore:
store: consul
consul:
host: consul:8500
tsdb:
dir: /data/cortex-tsdb-ingester
ship_interval: 1m
block_ranges_period: [ 2h ]
retention_period: 3h
backend: s3
bucket_store:
sync_dir: /data/cortex-tsdb-querier
s3:
endpoint: minio:9000
bucket_name: cortex-tsdb
access_key_id: cortex
secret_access_key: supersecret
insecure: true
storage:
engine: tsdb
ruler:
enable_api: true
enable_sharding: true
poll_interval: 2s
storage:
type: s3
s3:
bucketnames: cortex-rules
s3forcepathstyle: true
s3: http://cortex:supersecret@minio.:9000
ring:
kvstore:
store: consul
consul:
host: consul:8500