module

package
v0.0.0-...-b302cea Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: Apache-2.0 Imports: 34 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

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