Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricsService ¶
type MetricsService struct {
gorest.RestService `root:"/api/" consumes:"application/json" produces:"application/json"`
Config *config.Config
TargetManager retrieval.TargetManager
Storage *metric.TieredStorage
// contains filtered or unexported fields
}
func (MetricsService) Metrics ¶
func (serv MetricsService) Metrics() string
func (MetricsService) Query ¶
func (serv MetricsService) Query(expr string, formatJson string) string
func (MetricsService) QueryRange ¶
func (MetricsService) SetTargets ¶
func (serv MetricsService) SetTargets(targetGroups []TargetGroup, jobName string)
type TargetGroup ¶
Notes ¶
Bugs ¶
Validate that this ScrapeInterval is in fact the proper one for the job.
Click to show internal directories.
Click to hide internal directories.