Prometheus Agent that collects vaccination data in Ontario and exposes it
 
 
 
Go to file
Ray Slakinski 90db631fa3 how many times do I need to say prometheus... argh 2021-04-09 10:25:02 -04:00
.gitignore fix for gitignore 2021-04-09 10:20:52 -04:00
README.md how many times do I need to say prometheus... argh 2021-04-09 10:25:02 -04:00
go.mod first commit 2021-04-08 16:50:25 -04:00
go.sum first commit 2021-04-08 16:50:25 -04:00
main.go Now exposing the key record types as metrics, updated the readme as well 2021-04-09 10:18:28 -04:00

README.md

About

Prometheus Agent that collects vaccination data in Ontario and exposes it

Running:

$ go run main.go

Reading metrics

$ curl -s localhost:8080/metrics |grep records

# HELP records_previous_day_doses_administered Previous Day Doses Administered
# TYPE records_previous_day_doses_administered gauge
records_previous_day_doses_administered 105382
# HELP records_total_doses_administered Total Doses Administered
# TYPE records_total_doses_administered gauge
records_total_doses_administered 2.940166e+06
# HELP records_total_doses_in_fully_vaccinated_individuals Total Doses In Fully Vaccinated Individuals
# TYPE records_total_doses_in_fully_vaccinated_individuals gauge
records_total_doses_in_fully_vaccinated_individuals 328598