Skip to content
This repository was archived by the owner on Jun 17, 2021. It is now read-only.
This repository was archived by the owner on Jun 17, 2021. It is now read-only.

Segmentation fault #141

@rysinal

Description

@rysinal

node version v8.16.2
skyapm-nodejs@2.0.1

My script file is as follows:

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
});

I try to run, but throws an error:

Segmentation fault

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions