CSSEGISandData / COVID-19

Novel Coronavirus (COVID-19) Cases, provided by JHU CSSE
https://systems.jhu.edu/research/public-health/ncov/
29.1k stars 18.38k forks source link

Prometheus Exporter #305

Open zdoherty opened 4 years ago

zdoherty commented 4 years ago

Currently working on translating this data into Prometheus timeseries format:

https://github.com/zdoherty/prom-corona

I've got a script mostly working that parses your timeseries files and does two things:

  1. Creates a JSON blob that can be converted into a Prometheus TSDB using roidelaplui/ingest
  2. Serves the latest point of a given locality's series as a gauge metric with labels

Would really appreciate guidance/recommendations/explanations for handling the various cruise ship series.

zdoherty commented 4 years ago

I see the labels have changed considerably. Will need some time to reconcile those changes with how I ingest metrics.