Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Check ¶
Check doesn't need additional fields
func (*Check) Configure ¶
func (c *Check) Configure(rawInstance integration.Data, rawInitConfig integration.Data, source string) error
Configure the Prom check
type InitConfig ¶
type InitConfig struct {
Timeout int `json:"timeout"`
}
type InstanceConfig ¶
type InstanceConfig struct { Protocol string `json:"protocol" description:"udp or tcp"` Port int `json:"port"` InitConfig `json:"-"` // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.