Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anotherkamila/transport-ch-exporter
Haven't you always wanted to have a proper dashboard to check your next tram? ;-)
https://github.com/anotherkamila/transport-ch-exporter
grafana metrics prometheus-exporter public-transport switzerland
Last synced: about 2 months ago
JSON representation
Haven't you always wanted to have a proper dashboard to check your next tram? ;-)
- Host: GitHub
- URL: https://github.com/anotherkamila/transport-ch-exporter
- Owner: AnotherKamila
- License: bsd-2-clause
- Created: 2019-09-24T11:25:27.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T06:38:52.000Z (about 2 years ago)
- Last Synced: 2024-04-14T14:16:39.629Z (9 months ago)
- Topics: grafana, metrics, prometheus-exporter, public-transport, switzerland
- Language: Python
- Size: 188 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# transport-ch-exporter
![contributions welcome!](https://img.shields.io/badge/contributions-welcome!-brightgreen)
Prometheus exporter for the [transport.opendata.ch](https://transport.opendata.ch/) public transport API.
Haven't you always wanted to have a proper dashboard to check your next tram? ;-)
![grafana dashboard screenshot](./screenshot.png)
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())
```