Skip to content
New issue

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

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

Already on GitHub? # to your account

Loki integration #5

Open
4 tasks done
luissimas opened this issue Feb 10, 2025 · 0 comments
Open
4 tasks done

Loki integration #5

luissimas opened this issue Feb 10, 2025 · 0 comments
Assignees

Comments

@luissimas
Copy link
Member

luissimas commented Feb 10, 2025

Description

Loki is a solution for ingesting and querying logs. Incus provides a native integration with Loki that can be configured. The integration can be set up by collecting all Loki push endpoints and then configuring them in Incus. With that set up, Incus will start pushing logs and events to Loki.

Definition of done

  • The charm has an optional requires relation with the interface loki_push_api
  • When the relation is present, the Loki endpoints are configured on Incus
  • When the relation is removed, the Loki endpoints are removed from Incus's configuration
  • The charm exposes config option to configure the loki.loglevel and loki.types settings on Incus

Resources

https://charmhub.io/loki-k8s
https://charmhub.io/loki-k8s/libraries/loki_push_api
https://linuxcontainers.org/incus/docs/main/server_config/#server-options-loki

@ViniRodrig ViniRodrig self-assigned this Feb 14, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants