Authored by 陈峰

use oneapm 2.19

... ... @@ -8,9 +8,9 @@
const config = require('./config/common');
// use one apm
// if (config.useOneapm) {
// require('oneapm');
// }
if (config.useOneapm) {
require('oneapm');
}
const express = require('express');
const path = require('path');
... ...
... ... @@ -43,7 +43,7 @@
"mint-ui": "^1.0.2",
"moment": "^2.14.1",
"morgan": "^1.7.0",
"oneapm": "/Users/chenfeng/Downloads/OneAPM_nodejs_Agent_lastversion.tar.gz",
"oneapm": "^2.1.9",
"request-promise": "^4.2.1",
"sass-loader": "^6.0.6",
"serve-favicon": "^2.3.0",
... ...
... ... @@ -5241,25 +5241,12 @@ once@~1.3.0:
dependencies:
wrappy "1"
oneapm-config@/home/lifeng/Projects/nodeagent/dev/_pack_/oneapm-config:
version "1.2.0"
resolved "http://npm.yoho.cn/oneapm-config/-/oneapm-config-1.2.0.tgz#0458fe68a4ec07cd5d2399ce47d505f4c1baf431"
dependencies:
oneapm-util "^1.0.0"
oneapm-config@^1.0.0, oneapm-config@^1.2.0:
version "1.2.0"
resolved "http://registry.npm.taobao.org/oneapm-config/download/oneapm-config-1.2.0.tgz#0458fe68a4ec07cd5d2399ce47d505f4c1baf431"
dependencies:
oneapm-util "^1.0.0"
oneapm-logger@/home/lifeng/Projects/nodeagent/dev/_pack_/oneapm-logger:
version "2.0.0"
resolved "http://npm.yoho.cn/oneapm-logger/-/oneapm-logger-2.0.0.tgz#5c9ccd547b55f3f09fda75e5ee37bc394d785ce7"
dependencies:
bunyan "0.14.6"
oneapm-config "^1.0.0"
oneapm-logger@^2.0.0:
version "2.0.0"
resolved "http://registry.npm.taobao.org/oneapm-logger/download/oneapm-logger-2.0.0.tgz#5c9ccd547b55f3f09fda75e5ee37bc394d785ce7"
... ... @@ -5267,16 +5254,6 @@ oneapm-logger@^2.0.0:
bunyan "0.14.6"
oneapm-config "^1.0.0"
oneapm-server@/home/lifeng/Projects/nodeagent/dev/_pack_/oneapm-server:
version "1.0.0"
resolved "http://npm.yoho.cn/oneapm-server/-/oneapm-server-1.0.0.tgz#6adcf8c4fd3a9226b6fe304a83f6b480430fb98b"
dependencies:
debug "^2.6.1"
oneapm-config "^1.0.0"
oneapm-logger "^2.0.0"
oneapm-util "^1.0.0"
request "^2.79.0"
oneapm-server@^1.0.0:
version "1.1.0"
resolved "http://registry.npm.taobao.org/oneapm-server/download/oneapm-server-1.1.0.tgz#8a0e3e8aa9435537f92e19e6e35c75e04d251bbc"
... ... @@ -5287,33 +5264,13 @@ oneapm-server@^1.0.0:
oneapm-util "^1.0.0"
request "^2.79.0"
oneapm-util@/home/lifeng/Projects/nodeagent/dev/_pack_/oneapm-util:
version "1.0.0"
resolved "http://npm.yoho.cn/oneapm-util/-/oneapm-util-1.0.0.tgz#54680b0dfa00a9ced882f05043c9fbcc231b98cc"
oneapm-util@^1.0.0:
version "1.0.0"
resolved "http://registry.npm.taobao.org/oneapm-util/download/oneapm-util-1.0.0.tgz#54680b0dfa00a9ced882f05043c9fbcc231b98cc"
oneapm@/Users/chenfeng/Downloads/OneAPM_nodejs_Agent_lastversion.tar.gz:
version "2.1.4"
resolved "/Users/chenfeng/Downloads/OneAPM_nodejs_Agent_lastversion.tar.gz#5ea306f0976505441444dd1e1a24dca2a72c3afe"
dependencies:
bunyan "0.14.6"
continuation-local-storage "^3.1.0"
debug "^2.1.3"
is-docker "^1.0.0"
oneapm-config "/home/lifeng/Projects/nodeagent/dev/_pack_/oneapm-config"
oneapm-logger "/home/lifeng/Projects/nodeagent/dev/_pack_/oneapm-logger"
oneapm-server "/home/lifeng/Projects/nodeagent/dev/_pack_/oneapm-server"
oneapm-util "/home/lifeng/Projects/nodeagent/dev/_pack_/oneapm-util"
pidusage-fork "^0.1.1"
semver "^4.3.6"
sqlstring "^2.2.0"
oneapm@^2.1.7:
version "2.1.7"
resolved "http://registry.npm.taobao.org/oneapm/download/oneapm-2.1.7.tgz#2dd15bd0eaac2d98d21e37e70c463e6bbc2dd579"
oneapm@^2.1.9:
version "2.1.9"
resolved "http://npm.yoho.cn/oneapm/-/oneapm-2.1.9.tgz#0497a950759b799e32ece035d0c7c2b0096ceb28"
dependencies:
bunyan "0.14.6"
continuation-local-storage "^3.1.0"
... ...