This is node agent for pinpoint
For details, please refer to pinpoint introduction
Please refer to node agent plugin development guide
-
express
-
mqtt-connection
-
amqp-rpc
-
redis
For feature requests and bug reports, feel free to post them here.
-
installation(For details, please refer to quick start)
1 git clone git@github.com:peaksnail/pinpoint-node-agent.git
2 cd pinpoint-node-agent && npm install
3 insert "require('${path}/pinpoint-node-agent')" into the entry file on the first line of your project
4 restart your project
-
configuration
1 agent.id: node application id
2 agent.application: node application name
3 trace.manager.enable: using child process handle serializtion and data sending to improve performance
4 trace.metadata.retention: let node agent wait n(configuration)ms to send trace data after the finish of current callstack
5 profiler.collector.ip: collector ip
about 7% when trace.manager.enable is true and 30% when trace.manager.enable is false
ServiceType code must be unique.For more details,please refer to plugin development guide