svc

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InstrumentableGolang = InstrumentableType(iota)
	InstrumentableJava
	InstrumentableDotnet
	InstrumentablePython
	InstrumentableRuby
	InstrumentableNodejs
	InstrumentableRust
	InstrumentableGeneric
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ID

type ID struct {
	// UID might coincide with other fields (usually, Instance), but UID
	// can't be overriden by the user, so it's the only field that can be
	// used for internal differentiation of the users.
	// UID is not exported in the metrics or traces.
	UID UID

	Name string
	// AutoName is true if the Name has been automatically set by Beyla (e.g. executable name when
	// the Name is empty). This will allow later refinement of the Name value (e.g. to override it
	// again with Kubernetes metadata).
	AutoName    bool
	Namespace   string
	SDKLanguage InstrumentableType
	Instance    string

	Metadata map[string]string
}

ID stores the metadata attributes of a service/resource TODO: rename to svc.Attributes

func (*ID) String

func (i *ID) String() string

type InstrumentableType added in v0.3.1

type InstrumentableType int

func (InstrumentableType) String added in v0.3.1

func (it InstrumentableType) String() string

type UID added in v1.2.0

type UID string

UID uniquely identifies a service instance

Jump to

Keyboard shortcuts

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