You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 17, 2021. It is now read-only.
console.log("SW_AGENT_NAME:" + process.env.SW_AGENT_NAME)
console.log("SW_AGENT_COLLECTOR_BACKEND_SERVICES:" + process.env.SW_AGENT_COLLECTOR_BACKEND_SERVICES)
require('skyapm-nodejs').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: process.env.SW_AGENT_NAME,
// The identifier of the instance
instanceName: process.env.HOSTNAME,
// Collector agent_gRPC/grpc service addresses.
// default value: localhost:11800
directServers: process.env.SW_AGENT_COLLECTOR_BACKEND_SERVICES
});