Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions modules/universal/monitor/provision/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,23 @@ services:
- prometheus
- alertmanager
- grafana

tailon:
image: port22/tailon:latest
ports:
- 8080:8080
volumes:
- /log:/log
- ./tailon/config.yaml:/tailon/config.yaml
command:
- "/usr/local/bin/tailon"
- "-b"
- "0.0.0.0:8080"
- "-t"
- "9999"
- "-a"
- "-f"
- "/log/*/*.log"
- "-m"
- "tail"
restart: always
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,15 @@
<li><a class="service" name="grafana" target="frame-grafana" href="http://grafana.localhost.scalar-labs.com:{{ dashboard_local_forwarding_port }}/">Grafana</a></li>
<li><a class="service" name="prometheus" target="frame-prometheus" href="http://prometheus.localhost.scalar-labs.com:{{ dashboard_local_forwarding_port }}/">Prometheus</a></li>
<li><a class="service" name="alertmanager" target="frame-alertmanager" href="http://alertmanager.localhost.scalar-labs.com:{{ dashboard_local_forwarding_port }}/">Alertmanager</a></li>
<li><a class="service" name="tailon" target="frame-tailon" href="http://tailon.localhost.scalar-labs.com:{{ dashboard_local_forwarding_port }}/">Tailon</a></li>
</ul>
</nav>
</aside>
<main id="content">
<iframe class="frame" name="frame-grafana"></iframe>
<iframe class="frame" name="frame-prometheus"></iframe>
<iframe class="frame" name="frame-alertmanager"></iframe>
<iframe class="frame" name="frame-tailon"></iframe>
</main>
</div>
<script src="./dashboard.js"></script>
Expand Down
7 changes: 7 additions & 0 deletions modules/universal/monitor/provision/nginx/proxies.conf
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,10 @@ server {
proxy_pass http://alertmanager:9093;
}
}

server {
server_name tailon.localhost.scalar-labs.com;
location / {
proxy_pass http://tailon:8080;
}
}