detection

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Copyright 2020 New Relic Corporation. All rights reserved. SPDX-License-Identifier: Apache-2.0

Index

Constants

View Source
const InfraAgentProcessName = "newrelic-infra"

Variables

This section is empty.

Functions

func GetInfraAgentProcess

func GetInfraAgentProcess() (int32, error)

GetInfraAgentProcess returns the pid for the infra-agent process.

func IsContainerized

func IsContainerized(pid int32, dockerAPIVersion string) (isContainerized bool, containerID string, err error)

IsContainerized is checking if a pid is running inside a docker container.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL