![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SpringBoot
Anny的blog
这个作者很懒,什么都没留下…
展开
-
Linux下安装Prometheus和Grafana
上次介绍的是在Windows环境下配置Prometheus和Grafana,详见https://blog.csdn.net/qq_28323595/article/details/108624022,本次介绍Linux下操作步骤。 1.安装Prometheus 1.1 下载与上传 下载Prometheushttps://prometheus.io/download/,我下载的是prometheus-2.21.0.linux-amd64.tar.gz。 可以使用xftp上传,也可以使用rz命令 1.原创 2020-09-17 16:03:57 · 596 阅读 · 0 评论 -
Windows环境下搭建prometheus和grafana 并监控springboot2+ 服务
1.安装prometheus 可以去官网下载https://prometheus.io/download/,我使用的是prometheus-2.21.0.windows-amd64.tar.gz。下载完后进行解压,执行prometheus.exe,默认端口是9090,本地访问http://127.0.0.1:9090,看到如下页面说明prometheus启动成功。 prometheus.yml是prometheus的配置文件,新增加对一个服务的监控在配置文件中新增相对应的job,重启prometheu.原创 2020-09-16 17:38:03 · 1293 阅读 · 1 评论 -
SpringBoot集成quartz创建定时任务
1.在pom.xml中添加依赖 <!--spring boot集成quartz--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-quartz</artifactId> </dependency> 2.创建SchedulerListener类 package com原创 2020-08-21 11:45:58 · 222 阅读 · 0 评论