Prometheus Agent that collects vaccination data in Ontario and exposes it
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Ray Slakinski bacc9e149b revert commit as datasource got fixed 4 months ago
contrib update dashboard 4 months ago
.gitignore added a makefile 6 months ago
Makefile new dashboards 6 months ago
README.md updated docs 7 months ago
go.mod first commit 8 months ago
go.sum first commit 8 months ago
main.go revert commit as datasource got fixed 4 months ago

README.md

About

Prometheus Agent that collects vaccination data in Ontario and exposes it

Data

Covid Data for Ontario is retreived via the Ontario Data Catalogue which is retrieved hourly

Poulation Data

We are using the population data from Statistics Canada for Ontario 2020

Running:

$ go run main.go

Reading metrics

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

# HELP ontvacstat_eligible_population Total population eligible for the vaccination
# TYPE ontvacstat_eligible_population gauge
ontvacstat_eligible_population 1.1971129e+07
# HELP ontvacstat_previous_day_doses_administered Previous day doses administered
# TYPE ontvacstat_previous_day_doses_administered gauge
ontvacstat_previous_day_doses_administered 105382
# HELP ontvacstat_total_doses_administered Total doses administered
# TYPE ontvacstat_total_doses_administered gauge
ontvacstat_total_doses_administered 2.940166e+06
# HELP ontvacstat_total_doses_in_fully_vaccinated_individuals Total doses in fully vaccinated individuals
# TYPE ontvacstat_total_doses_in_fully_vaccinated_individuals gauge
ontvacstat_total_doses_in_fully_vaccinated_individuals 657719
# HELP ontvacstat_total_individuals_fully_vaccinated Total individuals fully vaccinated
# TYPE ontvacstat_total_individuals_fully_vaccinated gauge
ontvacstat_total_individuals_fully_vaccinated 328598