prometheus/prometheus

Help/Description entry for recording rules

Aberta

#11.969 aberto em 13 de fev. de 2023

 (4 comentários) (0 reação) (0 responsável)Go (10.408 forks)batch import
component/ruleshelp wanted

Métricas do repositório

Stars
 (64.042 estrelas)
Métricas de merge de PR
 (Mesclagem média 11d 5h) (118 fundiu PRs em 30d)

Description

Proposal

Today we have

  • HELP entry for metrics
  • Description and Summary for Alerting rules

But nothing for Recording rules, I think it will be beneficial to have/support a description entry for it

Example:

groups:
  - name: rules
    rules:
      - record: xxx:yyyy_yyy:zzzz
        expr: <PromQL expression>
        description: "foo bar"

This will help understanding the rule, generating automatic documentations etc

Guia do colaborador