editorconfig, grafana

This commit is contained in:
Reid 2024-02-26 17:02:11 -08:00
parent 719c14f954
commit 10c3a923a0
Signed by: reidlab
GPG key ID: 6C9EAA3364F962C8
7 changed files with 186 additions and 4 deletions

View file

@ -0,0 +1,20 @@
server:
http_listen_port: 28183
grpc_listen_port: 0
positions:
filename: /tmp/positions.yaml
clients:
- url: http://127.0.0.1:3100/loki/api/v1/push
scrape_configs:
- job_name: journal
journal:
max_age: 12h
labels:
job: systemd-journal
host: nixos-server-reid
relabel_configs:
- source_labels: ["__journal__systemd_unit"]
target_label: "unit"