xuxueli / xxl-job

A distributed task scheduling framework.(分布式任务调度平台XXL-JOB)
http://www.xuxueli.com/xxl-job/
GNU General Public License v3.0
27.47k stars 10.86k forks source link

如何加入Prometheus的监控中去? #1970

Closed beelzebub2006 closed 1 year ago

beelzebub2006 commented 4 years ago

如何加入Prometheus的监控中去?

dususu commented 3 years ago

同问

wuxiaoyi commented 3 years ago

可以引入

<dependency>
    <groupId>io.micrometer</groupId>
    <artifactId>micrometer-registry-prometheus</artifactId>
</dependency>

监控点url: xxx/xxl-job-admin/actuator/prometheus 配置到Prometheus平台就好了

dususu commented 3 years ago

@wuxiaoyi 谢谢~ 知道了

system51 commented 1 year ago

@wuxiaoyi 你说的引入是在哪里引入啊?

xiaoshumiao6 commented 4 months ago

你们搞定了吗? Prometheus 监控?

image
huangsijun17 commented 3 months ago

可以引入

<dependency>
  <groupId>io.micrometer</groupId>
  <artifactId>micrometer-registry-prometheus</artifactId>
</dependency>

监控点url: xxx/xxl-job-admin/actuator/prometheus 配置到Prometheus平台就好了

我这添加后只有一些Java的指标,怎么加入xxl-job的执行信息等呢?