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

Implement Prometheus-style recording rules #3765

Closed
dannykopping opened this issue May 25, 2021 · 0 comments · Fixed by #3766
Closed

Implement Prometheus-style recording rules #3765

dannykopping opened this issue May 25, 2021 · 0 comments · Fixed by #3766
Assignees

Comments

@dannykopping
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Loki currently supports Prometheus-style alert rules. Prometheus also supports recording rules, and Loki should implement this functionality too.

This feature will allow users to produce Prometheus metrics from logs.

Describe the solution you'd like
Loki should evaluate recording rules using LogQL, and make the resulting samples available to Prometheus (or Cortex/Thanos).

Describe alternatives you've considered
Currently there is no other mechanism to generate Prometheus metrics from logs.

Additional context
N/A

@dannykopping dannykopping self-assigned this May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant