Observing Loki

    All components of Loki expose the following metrics:

    The Loki Distributors expose the following metrics:

    Promtail exposes these metrics:

    Most of these metrics are counters and should continuously increase during normal operations:

    1. Promtail reads the new line and increases its counters.
    2. The Loki distributor forwards the log line to a Loki ingester, where therequest duration counter should increase.

    An example Grafana dashboard was built by the community and is available asdashboard 10004.

    The Loki repository has a that includes aset of dashboards, recording rules, and alerts. Together, the mixin gives you acomprehensive package for monitoring Loki in production.