Prometheus stores data in time series with metric names and labels like handler, method, code, etc.
Matchers are used to filter data in Prometheus, common matchers include Equality Matcher (=), Negative Equality Matcher (!=), Regular Expression Matcher (=~), and Negative Regex Matcher (!~).
Equality Matcher (=) checks if a label is exactly equal to a value, Negative Equality Matcher (!=) selects all time series except those where the label equals the value.
Regular Expression Matcher (=~) allows regex pattern matching, and Negative Regex Matcher (!~) excludes label values that match the regex.