Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Loki Recording Rules #340

Open
cbartz opened this issue Jan 29, 2024 · 2 comments
Open

Support for Loki Recording Rules #340

cbartz opened this issue Jan 29, 2024 · 2 comments

Comments

@cbartz
Copy link

cbartz commented Jan 29, 2024

Enhancement Proposal

Providing alert rules via the logging | loki_push_api integration is possible, but it does not seem to be possible to pass recording rules (although cos-lib seems to support it https://github.com/canonical/cos-lib/blob/main/src/cosl/rules.py#L396).

It would be nice if the charm supported this as well. The charm may also need to be adapted to allow integration with the
receive-remote-write | prometheus_remote_write integration, as the metrics generated are written to Prometheus using the remote-write endpoint.

@lucabello
Copy link
Contributor

It looks like we should use cos-lib in the Loki charm.

@lucabello
Copy link
Contributor

This should be fixed in #354.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants