Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
ErrProbeNotCompiled is thrown when a flow probe was not compiled within the binary
Functions ¶
This section is empty.
Types ¶
type Bundle ¶ added in v0.21.0
Bundle describes a bundle of probes (topology of flow)
func NewBundle ¶ added in v0.21.0
func NewBundle() *Bundle
NewBundle creates a new probe handler bundle
func (*Bundle) AddHandler ¶ added in v0.25.0
AddHandler adds a probe to the bundle
func (*Bundle) EnabledProbes ¶ added in v0.25.0
EnabledProbes returns all enabled probes name
func (*Bundle) GetHandler ¶ added in v0.25.0
GetHandler retrieve a specific handler
func (*Bundle) GetStatus ¶ added in v0.25.0
GetStatus returns the status of all the probes
type Handler ¶ added in v0.25.0
type Handler interface {
Start()
Stop()
}
Handler describes a ProbeHandler. A ProbeHandler aims to create probe
type ServiceStatus ¶ added in v0.25.0
type ServiceStatus struct {
Status common.ServiceState
}
ServiceStatus describes the status returned by GetStatus
type StatusReporter ¶ added in v0.25.0
type StatusReporter interface {
GetStatus() interface{}
}
StatusReporter can be implemented by probes to report their status
Source Files
¶
- bundle.go
Click to show internal directories.
Click to hide internal directories.