Documentation ¶
Index ¶
- type Manager
- func (rm *Manager) CollectWithState(ctx context.Context, state registry.GatherState, app storage.Appender) error
- func (rm *Manager) DiagnosticArchive(_ context.Context, archive types.ArchiveWriter) error
- func (rm *Manager) InputMetricMatchers() []matcher.Matchers
- func (rm *Manager) MetricNames() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager is a wrapper handling everything related to prometheus recording rules.
func NewManager ¶
func (*Manager) CollectWithState ¶
func (*Manager) DiagnosticArchive ¶
func (*Manager) InputMetricMatchers ¶
InputMetricMatchers returns a list of matchers for metrics used as input or recording rules. Those metrics should pass from input if you expect recording rule to work correctly.
func (*Manager) MetricNames ¶
MetricNames returns a list of all recording rules metric names. This is used for dynamic generation of metrics filter.
Click to show internal directories.
Click to hide internal directories.