first commit
This commit is contained in:
commit
4516e09e99
18
README.md
Normal file
18
README.md
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
## About
|
||||||
|
|
||||||
|
Prometheus Agent that calculates days left to vacinate everyone in Ontario who is 18+ using the current rate of vacination
|
||||||
|
|
||||||
|
## Running:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ go run main.go
|
||||||
|
```
|
||||||
|
|
||||||
|
## Reading metrics
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ curl -s localhost:8080/metrics |grep ont |grep -v "#"
|
||||||
|
ont_covid_data_days_left 84
|
||||||
|
ont_covid_data_previous_day_doses_administered 108563
|
||||||
|
ont_covid_data_total_doses_administered 2.834784e+06
|
||||||
|
```
|
Reference in New Issue
Block a user