Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-apm
·
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
陈峰
2017-10-20 10:43:07 +0800
Commit
4693e49ca2a22038e928552f65c4be7be89ea894
1 parent
e5a2f4aa
add user agent
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
middleware/apm.js
middleware/apm.js
View file @
4693e49
...
...
@@ -95,7 +95,8 @@ module.exports = (req, res, next) => {
type
:
durationType
[
item
.
tp
]
},
fields
:
{
duration
:
duration
duration
:
duration
,
useragent
:
req
.
get
(
'user-agent'
)
}
}));
}
...
...
Please
register
or
login
to post a comment