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

Loki alerts are not being pushed to AlertManager #396

Closed
michaeldmitry opened this issue May 8, 2024 · 0 comments · Fixed by #397
Closed

Loki alerts are not being pushed to AlertManager #396

michaeldmitry opened this issue May 8, 2024 · 0 comments · Fixed by #397

Comments

@michaeldmitry
Copy link
Contributor

michaeldmitry commented May 8, 2024

Bug Description

When loki alerts are triggered, loki-k8s fails to push them to alert manager, so alerts are not being displayed.
By inspecting loki logs, the issue appears to be related to the alert manager api version used by loki.

To Reproduce

  1. juju deploy cos-lite --trust
  2. write a loki alert rule that you expect to trigger an alert frequently in "your_charm"
  3. juju integrate "your_charm":logging loki:logging
  4. wait for the alert to trigger
  5. open alert manager dashboard (get from juju run traefik/0 show-proxied-endpoints)
  6. The alert is not displayed
  7. check logs of loki (kubectl logs -n <model_name> loki-0 -c loki)
  8. search for "410 Gone"

Environment

juju version: 3.4.2
microk8s version: MicroK8s v1.28.7 revision 6532
loki version: latest/stable revision 128

Relevant log output

Screenshot from 2024-05-08 11-57-24
Screenshot from 2024-05-08 11-56-09

Additional context

No response

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

Successfully merging a pull request may close this issue.

1 participant