visualize-admin / electricity-prices-switzerland

Compare Swiss electricity prices. Project ownership: Federal Electricity Commission ElCom
https://strompreis.elcom.admin.ch
BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

Add cube health to status page #54

Closed ptbrowne closed 2 years ago

ptbrowne commented 2 years ago

Map was not working because of missing dimensions in the cube shape (only on lindas cached, not on normal lindas). Here I added a cube health endpoint whose result is shown on the api-status page.

This way, we can check if all the dimensions are there. Since this page is monitored by betteruptime, we will be warned if it ever happens again.

vercel[bot] commented 2 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/ixt/elcom-electricity-price-website/Drap9tnW1MnLXqPk3LRXVo22sdx6
✅ Preview: https://elcom-electricity-price-website-git-cube-health-ixt1.vercel.app

ptbrowne commented 2 years ago

I am not sure if the Cube Health should appear on the website if everything is fine?

It's on the /_system/api-status page which is internal and checked by betteruptime ;)

bprusinowski commented 2 years ago

Nice, thanks!