@
blueware, NodeJS剽窃的更厉害,只是改改注释,就号称是自己的东西,还吹嘘自己是中国第一个APM,能算是程序猿的耻辱么?估计离关门也不远了吧。。。
diff lib/agent.js ~/node_modules/newrelic/lib/agent.js
42c42
< * orchestrator for OneAPM within instrumented applications.
---
> * orchestrator for New Relic within instrumented applications.
135c135
< logger.warn("The OneAPM Node.js agent is disabled by its configuration. " +
---
> logger.warn("The New Relic Node.js agent is disabled by its configuration. " +
145c145
< "file or via the ONEAPM_LICENSE_KEY environment variable?");
---
> "file or via the NEW_RELIC_LICENSE_KEY environment variable?");
155c155
<
logger.info("Starting OneAPM for Node.js connection process.");
---
>
logger.info("Starting New Relic for Node.js connection process.");
198c198
< logger.warn(error, "Got error shutting down connection to OneAPM:");
---
> logger.warn(error, "Got error shutting down connection to New Relic:");
202c202
<
logger.info("Stopped OneAPM for Node.js.");
---
>
logger.info("Stopped New Relic for Node.js.");
242c242
< callback(new Error("Not connected to OneAPM!"));
---
> callback(new Error("Not connected to New Relic!"));
341c341
<
logger.info(error, "Error on submission to OneAPM (data held for redelivery):");
---
>
logger.info(error, "Error on submission to New Relic (data held for redelivery):");
443c443
< callback(new Error("not connected to OneAPM (metrics will be held)"));
---
> callback(new Error("not connected to New Relic (metrics will be held)"));
460c460
< callback(new Error("not connected to OneAPM (errors will be held)"));
---
> callback(new Error("not connected to New Relic (errors will be held)"));
505c505
< callback(new Error("not connected to OneAPM (slow trace data will be held)"));
---
> callback(new Error("not connected to New Relic (slow trace data will be held)"));