Documentation ¶
Index ¶
Constants ¶
View Source
const ( InstrumentableGolang = InstrumentableType(iota) InstrumentableJava InstrumentableDotnet InstrumentablePython InstrumentableRuby InstrumentableNodejs InstrumentableRust InstrumentableGeneric InstrumentablePHP )
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). Namespace string SDKLanguage InstrumentableType Instance string Metadata map[attr.Name]string // ProcPID is the PID of the instrumented process as seen by Beyla's /proc filesystem. // It is stored here at process discovery time, because it might differ form the // UserPID and HostPID fields of the request.PidInfo struct. ProcPID int32 // HostName running the process. It will default to the Beyla host and will be overridden // by other metadata if available (e.g., Pod Name, Node Name, etc...) HostName string // contains filtered or unexported fields }
ID stores the metadata attributes of a service/resource TODO: rename to svc.Attributes
func (*ID) ExportsOTelMetrics ¶ added in v1.8.0
func (*ID) ExportsOTelTraces ¶ added in v1.8.0
func (*ID) SetAutoName ¶ added in v1.8.0
func (i *ID) SetAutoName()
func (*ID) SetExportsOTelMetrics ¶ added in v1.8.0
func (i *ID) SetExportsOTelMetrics()
func (*ID) SetExportsOTelTraces ¶ added in v1.8.0
func (i *ID) SetExportsOTelTraces()
type InstrumentableType ¶ added in v0.3.1
type InstrumentableType int
func (InstrumentableType) String ¶ added in v0.3.1
func (it InstrumentableType) String() string
Click to show internal directories.
Click to hide internal directories.