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
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,18 @@ Live demo tracker endpoints:
> healthy. See [docs/infrastructure.md](docs/infrastructure.md) for the exact
> server specification used in this demo.

## Grafana Dashboards

Live public dashboards are available without a Grafana account:

[![Grafana dashboards preview](docs/media/grafana-dashboards.webp)](https://grafana.torrust-tracker-demo.com)

| Dashboard | Public link | Screenshot |
| ---------------- | --------------------------------------------------------------------------------------------------- | ---------------------------------------------------------- |
| Tracker Overview | [open](https://grafana.torrust-tracker-demo.com/public-dashboards/186b355b56cd482d9c441a0affdb8ecd) | [view](backups/grafana/dashboards/01-tracker-overview.png) |
| UDP Tracker 1 | [open](https://grafana.torrust-tracker-demo.com/public-dashboards/6d493d22396c4e3cbaeec5669ed2ae69) | [view](backups/grafana/dashboards/02-udp-tracker-1.png) |
| HTTP Tracker 1 | [open](https://grafana.torrust-tracker-demo.com/public-dashboards/ca57cd298a0240c5b7b7965b3c47ebcf) | [view](backups/grafana/dashboards/03-http-tracker-1.png) |

## Background

[Torrust](https://github.com/torrust) is an open-source organization building
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Grafana Public Dashboard URLs Use `localhost` Instead of Real Domain

**Issue**: [#9](https://github.com/torrust/torrust-tracker-demo/issues/9)
**Related**: [torrust/torrust-tracker-deployer#415](https://github.com/torrust/torrust-tracker-deployer/issues/415) — fix should also be applied upstream in the deployer

## Problem

Expand Down Expand Up @@ -110,7 +111,7 @@ exports in `backups/grafana/dashboards/`:
| HTTP Tracker 1 | `backups/grafana/dashboards/03-http-tracker-1.png` |

Compose those three into a single side-by-side (or grid) image and save it to
`docs/media/grafana-dashboards-preview.png`. This composite will be the hero image
`docs/media/grafana-dashboards.webp`. This composite will be the hero image
shown in the README. The individual screenshots in `backups/grafana/dashboards/`
serve as detailed references and can be linked from the README section as well.

Expand All @@ -128,7 +129,7 @@ Example structure:

Live public dashboards are available without a Grafana account:

[![Grafana dashboards preview](docs/media/grafana-dashboards-preview.png)](https://grafana.torrust-tracker-demo.com)
[![Grafana dashboards preview](docs/media/grafana-dashboards.webp)](https://grafana.torrust-tracker-demo.com)

| Dashboard | Public link | Screenshot |
| ---------------- | ----------------------------------------------------------------------------------- | ---------------------------------------------------------- |
Expand Down
Binary file added docs/media/grafana-dashboards.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions server/opt/torrust/.env
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,5 @@ MYSQL_PASSWORD='<MYSQL_PASSWORD>'
# WARNING: Change default credentials in production deployments for security
GF_SECURITY_ADMIN_USER='admin'
GF_SECURITY_ADMIN_PASSWORD='<GF_SECURITY_ADMIN_PASSWORD>'
# Grafana server root URL — used to generate correct public dashboard share links
GF_SERVER_ROOT_URL='https://grafana.torrust-tracker-demo.com'
1 change: 1 addition & 0 deletions server/opt/torrust/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ services:
environment:
- GF_SECURITY_ADMIN_USER=${GF_SECURITY_ADMIN_USER}
- GF_SECURITY_ADMIN_PASSWORD=${GF_SECURITY_ADMIN_PASSWORD}
- GF_SERVER_ROOT_URL=${GF_SERVER_ROOT_URL}
volumes:
- ./storage/grafana/data:/var/lib/grafana
- ./storage/grafana/provisioning:/etc/grafana/provisioning:ro
Expand Down
Loading