-
Notifications
You must be signed in to change notification settings - Fork 0
/
config-deepflow.yaml
127 lines (119 loc) · 2.99 KB
/
config-deepflow.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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
# 发送统计数据到 influxdb的地址
stats-enabled: false
stats-ip: 127.0.0.1
stats-port: 20044
stats-interval: 10
# 写入数据的时间跨度, 秒
time-interval: 60
# 写入多少条,时间增加time-interval
time-interval-write: 1000000
# 开始写入的数据的时间戳和当前时间的偏差
time-offset: 0
# 共写入多少行后结束
write-total-count: 100000000
# 循环写入次数, 默认1,每次写write-total-count条
writer-loop-count: 1
# 几个线程同时写
write-thread-count: 10
# 发送数据到写队列的速度 条/s,多线程之和, 防止发送过快后,导致写入队列满,就会丢失
send-rate: 200000
# 每多大数据 批量发送一次ck写操作
batch-size: 100000
# 写入队列的长度
queue-size: 10000000
engine: MergeTree()
storage: default
ttl: 7
# 写入的数据库名称, 若不存在自动创建
db-name: test
# 写入的table名称, 若不存在自动创建
table-name: test_deepflow
# 写入的column信息, 默认写入time列,作为partition, 默认1天为一个partition
columns:
- name: uint32_0
type: UInt32
value-range: [1, 100000, 10000] # string min_len =16, max_len=16, 10000 表示取值10000种
- name: uint32_1
type: UInt32
value-range: [1, 100000, 10000]
- name: uint32_3
type: UInt32
value-range: [1, 100000, 10000]
- name: uint32_4
type: UInt32
value-range: [1, 100000, 10000]
- name: uint32_5
type: UInt32
value-range: [1, 100000, 10000]
- name: uint32_6
type: UInt32
value-range: [1, 100000, 10000]
- name: uint32_7
type: UInt32
value-range: [1, 100000, 10000]
- name: uint32_8
type: UInt32
value-range: [1, 100000, 10000]
- name: uint32_9
type: UInt32
value-range: [1, 100000, 10000]
- name: uint32_10
type: UInt32
value-range: [1, 100000, 10000]
- name: uint32_11
type: UInt32
value-range: [1, 100000, 10000]
- name: uint32_12
type: UInt32
value-range: [1, 100000, 10000]
- name: uint32_13
type: UInt32
value-range: [1, 100000, 10000]
- name: uint32_14
type: UInt32
value-range: [1, 100000, 10000]
- name: uint32_15
type: UInt32
value-range: [1, 100000, 10000]
- name: uint32_16
type: UInt32
value-range: [1, 100000, 10000]
- name: uint32_17
type: UInt32
value-range: [1, 100000, 10000]
- name: uint32_18
type: UInt32
value-range: [1, 100000, 10000]
- name: uint32_19
type: UInt32
value-range: [1, 100000, 10000]
- name: uint32_20
type: UInt32
value-range: [1, 100000, 10000]
- name: uint32_21
type: UInt32
value-range: [1, 100000, 10000]
- name: uint32_22
type: UInt32
value-range: [1, 100000, 10000]
- name: uint32_23
type: UInt32
value-range: [1, 100000, 10000]
- name: uint32_24
type: UInt32
value-range: [1, 100000, 10000]
- name: uint32_25
type: UInt32
value-range: [1, 100000, 10000]
- name: uint32_26
type: UInt32
value-range: [1, 100000, 10000]
- name: uint32_27
type: UInt32
value-range: [1, 100000, 10000]
- name: uint32_28
type: UInt32
value-range: [1, 100000, 10000]
- name: uint32_29
type: UInt32
value-range: [1, 100000, 10000]