forked from cloudalchemy/ansible-cortex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.yml
119 lines (83 loc) · 2.05 KB
/
main.yml
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
---
cortex_version: 1.7.0
cortex_all_in_one: true
cortex_web_listen_address: "0.0.0.0:9009"
cortex_binary_local_dir: ''
cortex_skip_install: false
cortex_limit_nofile: 10240
cortex_services: {}
cortex_interface: "{{ ansible_default_ipv4.interface }}"
cortex_config_file: 'cortex.yml.j2'
cortex_config_dir: /etc/cortex
cortex_db_dir: /var/lib/cortex
cortex_system_user: "cortex"
cortex_system_group: "cortex"
cortex_auth_enabled: false
cortex_environment_location: /etc/default
cortex_env_variables: {}
cortex_server:
http_listen_port: 9009
# Configure the server to allow messages up to 100MB.
grpc_server_max_recv_msg_size: 104857600
grpc_server_max_send_msg_size: 104857600
grpc_server_max_concurrent_streams: 1000
cortex_distributor:
shard_by_all_labels: true
pool:
health_check_ingesters: true
cortex_ingester_client:
grpc_client_config:
max_recv_msg_size: 104857600
max_send_msg_size: 104857600
grpc_compression: gzip
cortex_ingester:
lifecycler:
interface_names: [ "{{ cortex_interface }}" ]
join_after: 0
min_ready_duration: 0s
final_sleep: 0s
num_tokens: 512
ring:
kvstore:
store: inmemory
replication_factor: 1
cortex_storage:
engine: blocks
cortex_blocks_storage:
tsdb:
dir: "{{ cortex_db_dir }}/tsdb"
bucket_store:
sync_dir: "{{ cortex_db_dir }}/tsdb-sync"
backend: filesystem
filesystem:
dir: ./data/tsdb
cortex_compactor:
data_dir: "{{ cortex_db_dir }}/compactor"
sharding_ring:
kvstore:
store: inmemory
cortex_frontend_worker:
match_max_concurrent: true
cortex_ruler:
enable_api: true
enable_sharding: false
storage:
type: local
local:
directory: "{{ cortex_config_dir }}/rules"
cortex_api: {}
cortex_querier: {}
cortex_flusher: {}
cortex_chunk_store: {}
cortex_schema: {}
cortex_limits: {}
cortex_prealloc: {}
cortex_frontend: {}
cortex_query_range: {}
cortex_table_manager: {}
cortex_store_gateway: {}
cortex_purger: {}
cortex_configs: {}
cortex_alertmanager: {}
cortex_runtime_config: {}
cortex_memberlist: {}