cinemast / covid19-at

COVID-19 Stats and Maps for Austria
https://covid19.spiessknafl.at
BSD 3-Clause "New" or "Revised" License
21 stars 2 forks source link

Possibility to access prometheus via data source #1

Closed jostrasser closed 4 years ago

jostrasser commented 4 years ago

Hi, is it possible to configure and access your prometheus data on existing grafana installations? I have already an instance running and it will be great if I can only add another dashboard.

Thanks JO!

cinemast commented 4 years ago

Hi!

I changed the configuration so that the prometheus endpoint is publicly available under https://covid19.spiessknafl.at/prometheus. You should be able to add this URL as a datasource for your Grafana dashboards.

Let me know if this works for you. Otherwise I could give you a dump of the prometheus data.

cinemast commented 4 years ago

Also, if you have a cool dashboard you would like to share, I can easily add it to my instance.

jostrasser commented 4 years ago

Hi! Thanks! The data source is working! Sure, I will start to build a dashboard now which I can also share with you ;) I'll keep you posted.

Thanks JO!

jostrasser commented 4 years ago

Hi, Is it possible to add localization data (LAT/LONG) to the Prometheus DB?

This data is needed to implement a map view into the dashboard.

I have seen that the Data Repository by Johns Hopkins CSSE can deliver it.

I think this data would also be a great source because the update frequency is higher.

https://github.com/CSSEGISandData/COVID-19

BR/JO!

cinemast commented 4 years ago

I just had a look at the data. It lacks details for Austria (Bundesland) and is also older than the information from BMSGPK.

The lat/long thing is a good idea.

jostrasser commented 4 years ago

Jep, You are right. Maybe you can merge the data to get the coordinates for the map?

jostrasser commented 4 years ago

...and another Feature Request: a timestamp to track the update times :) Thanks JO!

cinemast commented 4 years ago

lat/long is included now.