MCPcopy Create free account
hub / github.com/prometheus/common / Matcher

Struct Matcher

model/silence.go:25–29  ·  view source on GitHub ↗

Matcher describes a matches the value of a given label.

Source from the content-addressed store, hash-verified

23
24// Matcher describes a matches the value of a given label.
25type Matcher struct {
26 Name LabelName `json:"name"`
27 Value string `json:"value"`
28 IsRegex bool `json:"isRegex"`
29}
30
31func (m *Matcher) UnmarshalJSON(b []byte) error {
32 type plain Matcher

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected