loki
Reference for the `loki` adapter.
loki· adapter · runnanook doc lokifor the same content in your terminal.
Pushes metrics as log lines to Grafana Loki.
Options
| Option | Type | Default | Description |
|---|---|---|---|
url | string | required 🔒 | Loki push URL |
tenant | string | — 🔒 | optional X-Scope-OrgID tenant header |
timeout | string | 10 | request timeout in seconds |
Examples
Local Loki instance
[[]]
= "loki"
[]
= "http://localhost:3100/loki/api/v1/push"
Multi-tenant Loki with tenant header
[[]]
= "loki"
[]
= "http://loki.internal/loki/api/v1/push"
= "ops"