module

package
v0.0.0-...-9dd33c3 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Overview

Package module implements a system-probe Module interface for the discovery component.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDiscoveryModule

func NewDiscoveryModule(_ *sysconfigtypes.Config, deps module.FactoryDependencies) (module.Module, error)

NewDiscoveryModule creates a new discovery system probe module.

Types

type EnvReader

type EnvReader struct {
	// contains filtered or unexported fields
}

EnvReader reads the environment variables from /proc/<pid>/environ file.

type InjectedProcess

type InjectedProcess struct {
	LocalHostname   string   `msgp:"local_hostname"`
	InjectedEnv     [][]byte `msgp:"injected_envs"`
	LanguageName    string   `msgp:"language_name"`
	TracerVersion   string   `msgp:"tracer_version"`
	InjectorVersion string   `msgp:"injector_version"`
}

InjectedProcess represents the data injected by the auto-injector into the process.

func (*InjectedProcess) MarshalMsg

func (z *InjectedProcess) MarshalMsg(b []byte) (o []byte, err error)

MarshalMsg implements msgp.Marshaler

func (*InjectedProcess) Msgsize

func (z *InjectedProcess) Msgsize() (s int)

Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message

func (*InjectedProcess) UnmarshalMsg

func (z *InjectedProcess) UnmarshalMsg(bts []byte) (o []byte, err error)

UnmarshalMsg implements msgp.Unmarshaler

Directories

Path Synopsis
testutil
fake_server
Package main is a simple TCP server which accepts any command line arguments, in order to test service discovery which uses the command line for detection.
Package main is a simple TCP server which accepts any command line arguments, in order to test service discovery which uses the command line for detection.

Jump to

Keyboard shortcuts

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