-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathagent.yml
More file actions
85 lines (74 loc) · 1.8 KB
/
agent.yml
File metadata and controls
85 lines (74 loc) · 1.8 KB
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
env:
WEB_BINDING: "0.0.0.0:9000"
MANAGED: false
REMOTE_CONFIG_SERVERS: ["http://localhost:9000"]
REMOTE_CONFIG_INTERVAL: "1s"
SECURITY_ENABLED: true
SECURITY_MANAGED_ENABLED: false
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
metadata_refresh:
enabled: false
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: 8589934592 # 8GB
retention.max_num_of_local_files: 1
compress:
idle_threshold: 1
num_of_files_decompress_ahead: 0
segment:
enabled: true
api:
disable_api_directory: true
enabled: false
web:
embedding_api: false
enabled: true
network:
binding: $[[env.WEB_BINDING]]
ui:
vfs: true
# tls:
# enabled: true
# cert_file: /etc/ssl.crt
# key_file: /etc/ssl.key
# skip_insecure_verify: false
security:
enabled: $[[env.SECURITY_ENABLED]]
managed: $[[env.SECURITY_MANAGED_ENABLED]]
agent:
metrics:
enabled: true
configs:
#for managed client's setting
managed: $[[env.MANAGED]] # managed by remote servers
panic_on_config_error: false #ignore config error
allow_generated_metrics_tasks: false # allow auto-generated metrics tasks (e.g. k8s)
interval: $[[env.REMOTE_CONFIG_INTERVAL]]
servers: $[[env.REMOTE_CONFIG_SERVERS]] # config servers
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