/transport-ch-exporter

Haven't you always wanted to have a proper dashboard to check your next tram? ;-)

Primary LanguagePythonBSD 2-Clause "Simplified" LicenseBSD-2-Clause

transport-ch-exporter

contributions welcome!

Prometheus exporter for the transport.opendata.ch public transport API.

Haven't you always wanted to have a proper dashboard to check your next tram? ;-)

grafana dashboard screenshot

Add your connections to config.yml (see the example included here).

In your dashboards, use queries such as:

min(transport_next_departure_unixtime{number=~"61|62"} - time())