Documentation ¶
Index ¶
- type Discoverer
- type Monitor
- func (q *Monitor) AddMetricsHandler(r *mux.Router)
- func (q *Monitor) DoDiscover(ctx context.Context, interval time.Duration, region, query string) error
- func (q *Monitor) DoObserve(ctx context.Context, interval time.Duration, promUrl, promQ, promL string) error
- func (q *Monitor) InitMetrics(prefix string)
- func (q *Monitor) NextItem(r string) (interface{}, bool)
- func (q *Monitor) NextName(r string) (string, bool)
- type Queue
- type State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Discoverer ¶
type Monitor ¶
type Monitor struct { Discoverer // contains filtered or unexported fields }
func NewMonitorQueue ¶
func NewMonitorQueue(d Discoverer, metricsPrefix, outfilepath string, log *zerolog.Logger) *Monitor
func (*Monitor) AddMetricsHandler ¶
func (*Monitor) DoDiscover ¶
func (*Monitor) InitMetrics ¶
Click to show internal directories.
Click to hide internal directories.