Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ops
/
monitor-service
·
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
zhengyouwei
8 years ago
Commit
8a9f8167385af2c57175ffa03973fc42db494336
1 parent
f084548e
pid tag
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
monitor-service-influxdb/src/main/java/com/monitor/influxdb/mapper/impl/NodeHostMapperImpl.java
monitor-service-influxdb/src/main/java/com/monitor/influxdb/mapper/impl/NodeHostMapperImpl.java
View file @
8a9f816
...
...
@@ -18,9 +18,9 @@ public class NodeHostMapperImpl extends InfluxDBQuery implements NodeHostMapper
Point
point
=
Point
.
measurement
(
InfluxDBContants
.
NODE_MEM_INFO
)
.
tag
(
"ip"
,
ip
)
.
tag
(
"name"
,
name
)
.
tag
(
"pid"
,
String
.
valueOf
(
pid
))
.
addField
(
"useMem"
,
useMem
)
.
addField
(
"totalMem"
,
totalMem
)
.
addField
(
"pid"
,
pid
)
.
addField
(
"projectMem"
,
projectMem
)
.
addField
(
"projectCpu"
,
projectCpu
)
.
time
(
System
.
currentTimeMillis
()
*
1000000
+
random
.
nextInt
(
999999
),
TimeUnit
.
NANOSECONDS
)
...
...
Please
register
or
login
to post a comment