mirror of
https://github.com/didi/KnowStreaming.git
synced 2026-01-04 03:42:08 +08:00
@@ -78,17 +78,17 @@ data:
|
|||||||
thread-pool:
|
thread-pool:
|
||||||
scheduled:
|
scheduled:
|
||||||
thread-num: 2 # @Scheduled任务的线程池大小,默认是一个
|
thread-num: 2 # @Scheduled任务的线程池大小,默认是一个
|
||||||
collector:
|
collector: # 采集模块的配置
|
||||||
future-util:
|
future-util: # 采集模块线程池配置
|
||||||
num: 1
|
num: 3 # 线程池个数
|
||||||
thread-num: 8
|
thread-num: 64 # 每个线程池核心线程数
|
||||||
queue-size: 10000
|
queue-size: 10000 # 每个线程池队列大小
|
||||||
select-suitable-enable: true
|
select-suitable-enable: true # 任务是否自动选择合适的线程池,非主要,可不修改
|
||||||
suitable-queue-size: 1000
|
suitable-queue-size: 1000 # 线程池理想的队列大小,非主要,可不修改
|
||||||
task:
|
task: # 任务模块的配置
|
||||||
heaven:
|
heaven: # 采集任务配置
|
||||||
thread-num: 20
|
thread-num: 20 # 采集任务线程池核心线程数
|
||||||
queue-size: 1000
|
queue-size: 1000 # 采集任务线程池队列大小
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -118,6 +118,9 @@ data:
|
|||||||
base-path: /metrics
|
base-path: /metrics
|
||||||
exposure:
|
exposure:
|
||||||
include: '*'
|
include: '*'
|
||||||
|
health:
|
||||||
|
elasticsearch:
|
||||||
|
enabled: false
|
||||||
metrics:
|
metrics:
|
||||||
export:
|
export:
|
||||||
prometheus:
|
prometheus:
|
||||||
|
|||||||
Reference in New Issue
Block a user