Module loki

Module loki 

Source

Structs§

Config
Configuration parameters for connecting to a Grafana Loki instance.
Data
Shared state and configuration for the Loki service.
Message
A container for a log message and its assigned metadata.
StandardLoki
The standard implementation of the Loki transport logic.

Constants§

LOKI_DEFAULT_APP
Default app for loki streams.
LOKI_DEFAULT_CONNECTION_TIMEOUT
Default connection timeout for loki (1 second).
LOKI_DEFAULT_ENV
Default env for loki streams.
LOKI_DEFAULT_JOB
Default job for loki streams.
LOKI_DEFAULT_REQUEST_TIMEOUT
Default request timeout for loki (2 seconds).
LOKI_DEFAULT_RETRIES
Default retrie number for loki.
LOKI_DEFAULT_WORKERS
Default worker number for loki.

Traits§

Loki
The core logic provider for Loki interactions.