Documentation ¶
Index ¶
- type Family
- type Monitor
- func (m *Monitor) GetConfig(ctx context.Context) (promconfig.Config, error)
- func (m *Monitor) GetGlobalConfig() promconfig.GlobalConfig
- func (m *Monitor) GetMetrics(ctx context.Context) (_ Result, retErr error)
- func (m *Monitor) GetScrapeConfig() []*promconfig.ScrapeConfig
- func (m *Monitor) WaitForReady(inCtx context.Context, inCtxCancel context.CancelFunc) error
- type Result
- type Summary
- type SummaryFamily
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Family ¶
type Family struct {
// contains filtered or unexported fields
}
type Monitor ¶
type Monitor struct {
// contains filtered or unexported fields
}
func NewMonitor ¶
func (*Monitor) GetGlobalConfig ¶ added in v0.24.0
func (m *Monitor) GetGlobalConfig() promconfig.GlobalConfig
func (*Monitor) GetMetrics ¶
func (*Monitor) GetScrapeConfig ¶
func (m *Monitor) GetScrapeConfig() []*promconfig.ScrapeConfig
func (*Monitor) WaitForReady ¶
type Result ¶
type Result struct {
// contains filtered or unexported fields
}
func (Result) Summary ¶
func (r Result) Summary(name string) SummaryFamily
type SummaryFamily ¶
type SummaryFamily struct {
// contains filtered or unexported fields
}
func (SummaryFamily) AllLabels ¶
func (f SummaryFamily) AllLabels() []labels.Labels
AllLabels returns the set of labels present for this family of Summaries.
Click to show internal directories.
Click to hide internal directories.