1.2.6 • Published 6 years ago

@ajs031985/skyapm-nodejs-agent v1.2.6

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
6 years ago

��# nodejs-agent ## Installation nodejs module > npm install skyapm-nodejs-agent@latest --save ## Initialization It s important that the agent is started before you require any other modules in your Node.js application. and you should require and start the agent in your application s main file. javascript require('skyapm-nodejs-agent').start({ // Service name is showed in sky-walking-ui. Suggestion: set an unique name for each service, one // service's nodes share the same code. // this value cannot be empty. serviceName: 'test', // Collector agent_gRPC/grpc service addresses. // default value: localhost:11800 directServers: 'localhost:11800' });