tweaked loki host in promtail, unverified
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
let
|
let
|
||||||
lokiHost = "loki.john-stream.com";
|
lokiHost = "https://loki.john-stream.com";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
systemd.services.promtail.serviceConfig = {
|
systemd.services.promtail.serviceConfig = {
|
||||||
@@ -22,7 +22,7 @@ in
|
|||||||
positions = {
|
positions = {
|
||||||
filename = "/tmp/positions.yaml";
|
filename = "/tmp/positions.yaml";
|
||||||
};
|
};
|
||||||
clients = [{url = "https://${lokiHost}/loki/api/v1/push";}];
|
clients = [{url = "${lokiHost}/loki/api/v1/push";}];
|
||||||
scrape_configs = [
|
scrape_configs = [
|
||||||
{
|
{
|
||||||
job_name = "journal";
|
job_name = "journal";
|
||||||
|
|||||||
Reference in New Issue
Block a user