Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultProbe ¶
type DefaultProbe struct {
// contains filtered or unexported fields
}
type Probe ¶
type Probe interface { Table(metric *model.Metric, args map[string]string) ([]*model.Sample, error) Row(metric *model.Metric, args map[string]string) (*model.Sample, error) }
Probe collects the data of metrics
func NewProbe ¶
func NewProbe(cfg *env.Properties) Probe
func NewShellProbe ¶
func NewShellProbe(cfg *env.Properties) Probe
type ShellProbe ¶
type ShellProbe struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.