Documentation ¶
Index ¶
- type Attrs
- func (i *Attrs) AutoName() bool
- func (i *Attrs) ExportsOTelMetrics() bool
- func (i *Attrs) ExportsOTelTraces() bool
- func (i *Attrs) GetUID() UID
- func (i *Attrs) Job() string
- func (i *Attrs) SetAutoName()
- func (i *Attrs) SetExportsOTelMetrics()
- func (i *Attrs) SetExportsOTelTraces()
- func (i *Attrs) String() string
- type InstrumentableType
- type UID
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attrs ¶ added in v1.9.0
type Attrs struct { // Instance uniquely identifies a service instance. It is not exported // in the metrics or traces, but it is used to compose the Instance UID UID SDKLanguage InstrumentableType 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 EnvVars map[string]string // contains filtered or unexported fields }
Attrs stores the metadata attributes of a service/resource
func (*Attrs) ExportsOTelMetrics ¶ added in v1.9.0
func (*Attrs) ExportsOTelTraces ¶ added in v1.9.0
func (*Attrs) SetAutoName ¶ added in v1.9.0
func (i *Attrs) SetAutoName()
func (*Attrs) SetExportsOTelMetrics ¶ added in v1.9.0
func (i *Attrs) SetExportsOTelMetrics()
func (*Attrs) SetExportsOTelTraces ¶ added in v1.9.0
func (i *Attrs) SetExportsOTelTraces()
type InstrumentableType ¶ added in v0.3.1
type InstrumentableType int
const ( InstrumentableGolang InstrumentableType = iota + 1 InstrumentableJava InstrumentableDotnet InstrumentablePython InstrumentableRuby InstrumentableNodejs InstrumentableRust InstrumentableGeneric InstrumentablePHP )
func (InstrumentableType) String ¶ added in v0.3.1
func (it InstrumentableType) String() string
Click to show internal directories.
Click to hide internal directories.