Last active
April 29, 2026 21:54
-
-
Save derhuerst/80a4b2f99bad62b5a9185790196ba7ac to your computer and use it in GitHub Desktop.
DELFI GTFS Validator metrics
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: delfi_gtfs_validator_metrics | |
| services: | |
| gtfs_validator_metrics_service: | |
| image: ghcr.io/mobidata-bw/gtfs-validator-metrics-service | |
| ports: | |
| - '3000' | |
| mem_limit: 4GB | |
| mem_swappiness: 0 # don't swap | |
| prometheus: | |
| image: docker.io/prom/prometheus:v3-distroless | |
| ports: | |
| - '9090:9090' | |
| volumes: | |
| - ./prometheus.yml:/etc/prometheus/prometheus.yml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| storage: | |
| tsdb: | |
| retention: | |
| size: 10GB | |
| scrape_configs: | |
| - job_name: gtfs_validator_metrics_service | |
| scrape_interval: 30m | |
| scrape_timeout: 5m | |
| metrics_path: /probe | |
| static_configs: | |
| - labels: | |
| feed_id: 'delfi' | |
| targets: | |
| # opendata-oepnv.de currently doesn't allow unauthenticated access | |
| #- 'https://www.opendata-oepnv.de/ht/de/datensaetze/sharing?tx_vrrkit_view%5Bsharing%5D=eyJkYXRhc2V0IjoiZGV1dHNjaGxhbmR3ZWl0ZS1zb2xsZmFocnBsYW5kYXRlbi1ndGZzIn0' | |
| - 'https://de.data.public-transport.earth/gtfs-germany.zip' | |
| #- 'https://data.siri.rcsued.delfi.de/delfi.raw.gtfs.zip' # inofficial DELFI mirror | |
| relabel_configs: | |
| - source_labels: [__address__] | |
| target_label: __param_target | |
| - target_label: __address__ | |
| replacement: 'gtfs_validator_metrics_service:3000' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment