QuestionQ58Verified/PromQLCopy linkReport a problemAsk AstroTutorSave questionHow can you select all up metrics whose instance label matches the fe-.* regular expression?Aup{instance=regexp(fe-.*)}Bup{instance~"fe-.*"}Cup{instance=~"fe-.*"}Dup{instance="fe-.*"}Show AnswerAnswerExplanationPromQL uses the =~ operator for regular-expression label matching, so instance=~"fe-.*" selects up series whose instance label matches that expression.Learn morePrometheus — Querying basicsShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion