Documentation
¶
Index ¶
Constants ¶
View Source
const ( NodeVersionConst = "NODE_VERSION" PythonVersionConst = "PYTHON_VERSION" JavaVersionConst = "JAVA_VERSION" )
View Source
const (
NewRelicAgentEnv = "NEW_RELIC_CONFIG_FILE"
)
Variables ¶
View Source
var LangsVersionEnvs = map[string]struct{}{NodeVersionConst: {}, PythonVersionConst: {}, JavaVersionConst: {}}
LangsVersionEnvs is a map of environment variables used for detecting the versions of different languages
View Source
var OtherAgentCmdSubString = map[string]string{
"newrelic.jar": "New Relic Agent",
}
View Source
var OtherAgentEnvs = map[string]string{ NewRelicAgentEnv: "New Relic Agent", }
Functions ¶
This section is empty.
Types ¶
type Details ¶
type Details struct { ProcessID int ExePath string CmdLine string Environments ProcessEnvs }
func FindAllProcesses ¶
Find all processes in the system. The function accepts a predicate function that can be used to filter the results.
func GetPidDetails ¶
func (*Details) GetDetailedEnvsValue ¶ added in v1.0.93
Click to show internal directories.
Click to hide internal directories.