Prometheus Agent that collects vaccination data in Ontario and exposes it
 
 
 
Go to file
Ray Slakinski db222e778b Now exposing the key record types as metrics, updated the readme as well 2021-04-09 10:18:28 -04:00
README.md Now exposing the key record types as metrics, updated the readme as well 2021-04-09 10:18:28 -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 calculates days left to vacinate everyone in Ontario who is 18+ using the current rate of vacination

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