Skip to content

Make severity configurable in PrometheusRules #1749

Closed
@sebastiangaiser

Description

@sebastiangaiser

Is your feature request related to a problem? Please describe.
Currently the severity is hardcoded in the PrometheusRules like here

Describe the solution you'd like
It would be great to have them configurable via the Logging CR e.g.:

spec:
  fluentd:
    metrics:
      prometheusRules: true
      severity: my-custom-severity
  fluentbit:
    metrics:
      prometheusRules: true
      severity: my-custom-severity
  syslogNG:
    metrics:
      prometheusRules: true
      severity: my-custom-severity

Describe alternatives you've considered
My current workaround is to disable the PrometheusRules and deploy them in the way I want

Additional context
Logging Operator docs: https://kube-logging.dev/docs/operation/alerting/

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions