Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Yoho-Documents
/
Share
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
wangshijie
9 years ago
Commit
55715c1fc12d96bd6c5fe0ef7ef7af50e6e63cff
1 parent
058bb4a4
modify
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
技术分享/com.yoho.core事件及系统监控机制的实现逻辑.md
技术分享/com.yoho.core事件及系统监控机制的实现逻辑.md
View file @
55715c1
...
...
@@ -65,3 +65,12 @@ Spring发布一个事件之后,所有注册的事件监听器,都会收到
```
-
InfluxDataReporter实现了EventReporter自定义接口,在init初始化方法中创建了InfluxDB链接并设置了一些参数。
-
实现report方法,进行具体的InfluxDB写入。
-
要使用InfluxDB功能,pom中要加入
```
xml
<dependency>
<groupId>
org.influxdb
</groupId>
<artifactId>
influxdb-java
</artifactId>
<version>
2.1
</version>
</dependency>
```
...
...
Please
register
or
login
to post a comment