File tree Expand file tree Collapse file tree 3 files changed +29
-0
lines changed
modules/universal/monitor/provision Expand file tree Collapse file tree 3 files changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -56,3 +56,23 @@ services:
56
56
- prometheus
57
57
- alertmanager
58
58
- grafana
59
+
60
+ tailon :
61
+ image : port22/tailon:latest
62
+ ports :
63
+ - 8080:8080
64
+ volumes :
65
+ - /log:/log
66
+ - ./tailon/config.yaml:/tailon/config.yaml
67
+ command :
68
+ - " /usr/local/bin/tailon"
69
+ - " -b"
70
+ - " 0.0.0.0:8080"
71
+ - " -t"
72
+ - " 9999"
73
+ - " -a"
74
+ - " -f"
75
+ - " /log/*/*.log"
76
+ - " -m"
77
+ - " tail"
78
+ restart : always
Original file line number Diff line number Diff line change 18
18
<li ><a class =" service" name =" grafana" target =" frame-grafana" href =" http://grafana.localhost.scalar-labs.com:{{ dashboard_local_forwarding_port }}/" >Grafana</a ></li >
19
19
<li ><a class =" service" name =" prometheus" target =" frame-prometheus" href =" http://prometheus.localhost.scalar-labs.com:{{ dashboard_local_forwarding_port }}/" >Prometheus</a ></li >
20
20
<li ><a class =" service" name =" alertmanager" target =" frame-alertmanager" href =" http://alertmanager.localhost.scalar-labs.com:{{ dashboard_local_forwarding_port }}/" >Alertmanager</a ></li >
21
+ <li ><a class =" service" name =" tailon" target =" frame-tailon" href =" http://tailon.localhost.scalar-labs.com:{{ dashboard_local_forwarding_port }}/" >Tailon</a ></li >
21
22
</ul >
22
23
</nav >
23
24
</aside >
24
25
<main id =" content" >
25
26
<iframe class =" frame" name =" frame-grafana" ></iframe >
26
27
<iframe class =" frame" name =" frame-prometheus" ></iframe >
27
28
<iframe class =" frame" name =" frame-alertmanager" ></iframe >
29
+ <iframe class =" frame" name =" frame-tailon" ></iframe >
28
30
</main >
29
31
</div >
30
32
<script src =" ./dashboard.js" ></script >
Original file line number Diff line number Diff line change @@ -18,3 +18,10 @@ server {
18
18
proxy_pass http://alertmanager:9093;
19
19
}
20
20
}
21
+
22
+ server {
23
+ server_name tailon.localhost.scalar-labs.com;
24
+ location / {
25
+ proxy_pass http://tailon:8080;
26
+ }
27
+ }
You can’t perform that action at this time.
0 commit comments