kube-logging / logging-operator

Logging operator for Kubernetes
https://kube-logging.dev
Apache License 2.0
1.52k stars 326 forks source link

Make severity configurable in PrometheusRules #1775

Open aditya7302 opened 3 weeks ago

aditya7302 commented 3 weeks ago

Fixes #1749

Made changes in pkg/sdk/logging/api/v1beta1/common_types.go to add a severity metrics in the Metrics struct and made changes in fluentbit, fluentd and syslog packages prometheusrules.go and buffervolumeprometheusrules.go .

OverOrion commented 2 weeks ago

Hey @aditya7302,

Thank you for your contribution, currently the CI fails, because the generated CRD files/docs have not been committed. Run the following to fix this:

make check-diff
git add -u
git commit
pepov commented 2 weeks ago

@aditya7302 can you please take a look at the original issue? Making the severity configurable alone is unfortunately not a good solution, see: https://github.com/kube-logging/logging-operator/issues/1749#issuecomment-2208284749