Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Explore ¶
type Explore struct {
// contains filtered or unexported fields
}
Explore will explore Target before it assigned to Shard
func New ¶
func New(scrapeManager *scrape.Manager, log logrus.FieldLogger) *Explore
New create a new Explore
func (*Explore) ApplyConfig ¶
func (e *Explore) ApplyConfig(cfg *prom.ConfigInfo) error
ApplyConfig delete invalid job's targets according to config the new targets will be add by UpdateTargets
func (*Explore) Get ¶
func (e *Explore) Get(hash uint64) *target.ScrapeStatus
Get return the target scrape status of the target by hash if target is never explored, it will be send to explore
Click to show internal directories.
Click to hide internal directories.