Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cinemast/covid19-at
COVID-19 Stats and Maps for Austria
https://github.com/cinemast/covid19-at
api austria covid-19 covid19 golang grafana prometheus
Last synced: about 1 month ago
JSON representation
COVID-19 Stats and Maps for Austria
- Host: GitHub
- URL: https://github.com/cinemast/covid19-at
- Owner: cinemast
- License: bsd-3-clause
- Created: 2020-03-05T12:02:15.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-29T19:35:52.000Z (over 4 years ago)
- Last Synced: 2024-06-20T18:48:00.703Z (6 months ago)
- Topics: api, austria, covid-19, covid19, golang, grafana, prometheus
- Language: Go
- Homepage: https://covid19.spiessknafl.at
- Size: 2.25 MB
- Stars: 21
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[![CircleCI](https://circleci.com/gh/cinemast/covid19-at.svg?style=svg)](https://circleci.com/gh/cinemast/covid19-at)
[![codecov](https://codecov.io/gh/cinemast/covid19-at/branch/master/graph/badge.svg)](https://codecov.io/gh/cinemast/covid19-at)
[![Go Report Card](https://goreportcard.com/badge/github.com/cinemast/covid19-at)](https://goreportcard.com/report/github.com/cinemast/covid19-at)# covid19-at
This is a small go-application that parses the following URLs for statistics regarding covid19-infections and deaths
provided by the [Austrian ministry for Health](https://www.sozialministerium.at/public.html)- https://info.gesundheitsministerium.at
- https://www.sozialministerium.at/Informationen-zum-Coronavirus/Neuartiges-Coronavirus-(2019-nCov).html
- https://www.ecdc.europa.eu/en/geographical-distribution-2019-ncov-casesIt then exposes the gathered metrics as [prometheus](https://prometheus.io/) endpoint under `http://localhost:8282/metrics`
## Usage
- ```docker-compose up```
- Open [http://localhost:3000/](http://localhost:3000/) for Grafana (Credentials: admin/admin)
- Open [http://localhost:9090/prometheus](http://localhost:9090/prometheus) for Prometheus
- Open [http://localhost:8282/metrics](http://localhost:8282/metrics) for the metric exporter## API
- `GET` [http://localhost:8282/api/bundesland](http://localhost:8282/api/bundesland)
- `GET` [http://localhost:8282/api/bezirk](http://localhost:8282/api/bezirk)
- `GET` [http://localhost:8282/api/total](http://localhost:8282/api/total)## Docker Image
- https://hub.docker.com/r/cinemast/covid19-at
- `docker pull cinemast/covid19-at`## Demo Setup
Demo setup is currently shut down.
- ~~https://covid19.spiessknafl.at~~
- ~~https://covid19.spiessknafl.at/prometheus~~
- ~~https://covid19.spiessknafl.at/covid19/metrics~~
- ~~https://covid19.spiessknafl.at/covid19/api/total~~
- ~~https://covid19.spiessknafl.at/covid19/api/bundesland~~
- ~~https://covid19.spiessknafl.at/covid19/api/bezirk~~## Screenshot
![](screenshots/grafana.png)