Loki
- Canonical Observability
Channel | Revision | Published | Runs on |
---|---|---|---|
latest/stable | 161 | 03 Dec 2024 | |
latest/candidate | 177 | 03 Dec 2024 | |
latest/beta | 181 | 03 Dec 2024 | |
latest/edge | 184 | 18 Dec 2024 | |
1.0/stable | 104 | 12 Dec 2023 | |
1.0/candidate | 104 | 22 Nov 2023 | |
1.0/beta | 104 | 22 Nov 2023 | |
1.0/edge | 104 | 22 Nov 2023 |
juju deploy loki-k8s
Deploy Kubernetes operators easily with Juju, the Universal Operator Lifecycle Manager. Need a Kubernetes cluster? Install MicroK8s to create a full CNCF-certified Kubernetes system in under 60 seconds.
Platform:
Integrating Loki
Loki integrates with the following:
- Any charm that supports the
loki_push_api
interface. You can integrate it using the Loki Charm library. The documentation of the charm library, available through Charmhub provides further details. The information exchanged through theloki_push
interface can be broken down into two parts
-
Loki charm provides an endpoint URL to receive log from Loki clients that relates with this charm.
-
Loki may receive alert rules which tell when to raise alerts. These rules are read from a directory named
loki_alert_rules
, if present at the top level, within the client charm’s source (src
) directory.
Any time new relations are made, or existing ones changed, between the Loki charm and any scrape target charm, a new Loki configuration is generated.
-
Loki integrates with Grafana which provides a dashboard for viewing logs aggregated by Loki. These dasboards may be customised by charms that relate to Grafana.
-
Loki forwards alerts to one or more Alertmanagers that are related to it.