Prometheus exporter for the FlightRadar24 API
358
Flight-Exporter is a Prometheus exporter for the FlightRadar24 API. Given GPS coordinates and a distance radius for a location, it tracks stats for aircraft that fly overhead.
Pre-built Grafana dashboards include:
Pre-built Docker containers are available on DockerHub and GitHub Registry:
Run directly with Docker (example using explicit environment variables):
docker run -p "10019:10019" --rm \
--env LAT=47.4484 \
--env LON=-122.308 \
--env BOUNDS=15000 \
--env FLIGHT_PORT=10019 \
mitchtech/flight-exporter
Or run using compose (example using environment variable file):
flight-exporter:
image: mitchtech/flight-exporter
restart: unless-stopped
env_file:
- .env
ports:
- 10019:10019
Example Prometheus scrape config:
scrape_configs:
- job_name: flight-exporter
scrape_interval: 60s
scrape_timeout: 60s
metrics_path: /metrics
static_configs:
- targets:
- localhost:10019
A complete Docker Compose example with all services is also proved in the /example directory. Edit the environment variables, rename the sample to .env and start everything with compose.
mv .env.example .env
docker compose up
/metrics endpoint is scraped.Contributions are welcome! Please feel free to submit issues or pull requests to the GitHub repository.
This project is licensed under the Apache 2 License. See the LICENSE file for details.
Content type
Image
Digest
sha256:942733ea2…
Size
55.3 MB
Last updated
over 2 years ago
docker pull mitchtech/flight-exporter