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, 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
Source Files ¶
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. |
Click to show internal directories.
Click to hide internal directories.