mirror of
https://github.com/Haxxnet/Compose-Examples.git
synced 2026-11-18 01:32:22 +01:00
make grafana stack instantly deployable
This commit is contained in:
1 parent
efda369edd
commit
445fd9d7cb
8 files changed
+37
-22
No files matched your search
@@ -0,0 +1,35 @@
|
||||
server:
|
||||
http_listen_port: 9080
|
||||
grpc_listen_port: 0
|
||||
|
||||
positions:
|
||||
filename: /tmp/positions.yaml
|
||||
|
||||
clients:
|
||||
- url: http://loki:3100/loki/api/v1/push
|
||||
|
||||
# local machine logs
|
||||
scrape_configs:
|
||||
- job_name: vpn
|
||||
static_configs:
|
||||
- targets:
|
||||
- localhost
|
||||
labels:
|
||||
job: vpnlogs
|
||||
__path__: /var/log/openvpn.log
|
||||
|
||||
- job_name: auth
|
||||
static_configs:
|
||||
- targets:
|
||||
- localhost
|
||||
labels:
|
||||
job: authlogs
|
||||
__path__: /var/log/auth.log
|
||||
|
||||
- job_name: traefik
|
||||
static_configs:
|
||||
- targets:
|
||||
- localhost
|
||||
labels:
|
||||
job: traefiklogs
|
||||
__path__: /var/log/traefik/*.log
|
||||
Reference in new issue
Block a user