Documentation
¶
Index ¶
- type Attrs
- func (i *Attrs) AutoName() bool
- func (i *Attrs) ExportsOTelMetrics() bool
- func (i *Attrs) ExportsOTelMetricsSpan() 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) SetExportsOTelMetricsSpan()
- func (i *Attrs) SetExportsOTelTraces()
- func (i *Attrs) String() string
- type InstrumentableType
- type ServiceNameNamespace
- type UID
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attrs ¶
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 ExportModes services.ExportModes // contains filtered or unexported fields }
Attrs stores the metadata attributes of a service/resource
func (*Attrs) ExportsOTelMetrics ¶
func (*Attrs) ExportsOTelMetricsSpan ¶
func (*Attrs) ExportsOTelTraces ¶
func (*Attrs) SetAutoName ¶
func (i *Attrs) SetAutoName()
func (*Attrs) SetExportsOTelMetrics ¶
func (i *Attrs) SetExportsOTelMetrics()
func (*Attrs) SetExportsOTelMetricsSpan ¶
func (i *Attrs) SetExportsOTelMetricsSpan()
func (*Attrs) SetExportsOTelTraces ¶
func (i *Attrs) SetExportsOTelTraces()
type InstrumentableType ¶
type InstrumentableType int
const ( InstrumentableGolang InstrumentableType = iota + 1 InstrumentableJava InstrumentableDotnet InstrumentablePython InstrumentableRuby InstrumentableNodejs InstrumentableRust InstrumentableGeneric InstrumentablePHP )
func (InstrumentableType) String ¶
func (it InstrumentableType) String() string
type ServiceNameNamespace ¶
type UID ¶
UID uniquely identifies a service instance across the whole system according to the OpenTelemetry specification: (name, namespace, instance)
func (*UID) NameNamespace ¶
func (uid *UID) NameNamespace() ServiceNameNamespace
Click to show internal directories.
Click to hide internal directories.