MCPcopy
hub / github.com/prometheus/prometheus / Load

Method Load

rules/manager.go:327–327  ·  view source on GitHub ↗
(identifier string, ignoreUnknownFields bool, nameValidationScheme model.ValidationScheme)

Source from the content-addressed store, hash-verified

325// GroupLoader is responsible for loading rule groups from arbitrary sources and parsing them.
326type GroupLoader interface {
327 Load(identifier string, ignoreUnknownFields bool, nameValidationScheme model.ValidationScheme) (*rulefmt.RuleGroups, []error)
328 Parse(query string) (parser.Expr, error)
329}
330

Callers 15

appenderV2Method · 0.65
AppendMethod · 0.65
UseXOR2FloatEncodingMethod · 0.65
NewHeadFunction · 0.65
resetInMemoryStateMethod · 0.65
InitMethod · 0.65
loadMmappedChunksMethod · 0.65
ApplyConfigMethod · 0.65
truncateWALMethod · 0.65
truncateOOOMethod · 0.65

Implementers 1

FileLoaderrules/manager.go

Calls

no outgoing calls