-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathagent.yml
65 lines (56 loc) · 1.26 KB
/
agent.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
env:
API_BINDING: "0.0.0.0:2900"
path.data: data
path.logs: log
path.configs: "config"
configs.auto_reload: true
resource_limit.cpu.max_num_of_cpus: 1
resource_limit:
memory:
max_in_bytes: 533708800 #50MB
task:
max_concurrent_tasks: 3
stats:
include_storage_stats_in_api: false
elastic:
skip_init_metadata_on_start: true
health_check:
enabled: true
interval: 60s
availability_check:
enabled: false
interval: 60s
disk_queue:
max_msg_size: 20485760
max_bytes_per_file: 20485760
max_used_bytes: 524288000
retention.max_num_of_local_files: 1
compress:
idle_threshold: 1
num_of_files_decompress_ahead: 0
segment:
enabled: true
api:
enabled: true
network:
binding: $[[env.API_BINDING]]
# tls:
# enabled: true
# cert_file: /etc/ssl.crt
# key_file: /etc/ssl.key
# skip_insecure_verify: false
agent:
configs:
#for managed client's setting
managed: true # managed by remote servers
panic_on_config_error: false #ignore config error
interval: "1s"
servers: # config servers
- "http://localhost:9000"
max_backup_files: 5
soft_delete: false
# tls: #for mTLS connection with config servers
# enabled: true
# cert_file: /etc/ssl.crt
# key_file: /etc/ssl.key
# skip_insecure_verify: false