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 InstanceConfig ¶
type MetricValue ¶
type MetricValue struct { Metric string `json:"metric"` Endpoint string `json:"endpoint"` Value float64 `json:"value"` CounterType string `json:"counterType"` // GAUGE | COUNTER | SUBTRACT | DERIVE Tags string `json:"tags"` // a=1,b=2,c=3 }
from github.com/didi/nightingale/src/common/dataobj
Click to show internal directories.
Click to hide internal directories.