cachethq / core

🚦 The core of Cachet, the open-source status page system.
https://cachethq.io
MIT License
101 stars 20 forks source link

Metric Charts #56

Open jbrooksuk opened 4 months ago

jbrooksuk commented 4 months ago

We need to implement the metric charts into the status page.

Ionys320 commented 2 months ago

Hi! Any specs/details?

Ionys320 commented 2 months ago

@jbrooksuk (just to be sure you see my comment)

jbrooksuk commented 2 months ago

@Ionys320, sorry for the delay! We basically need to implement the chart based on the metrics and metric_points tables that already exist.

I'd quite like to take inspiration from how Laravel Pulse renders its charts.

Ionys320 commented 2 months ago

It appears Laravel Pulse is using Chart.JS, one of the most famous librairies for this. It should not take too much time to implement it in Cachet then.

jbrooksuk commented 2 months ago

@Ionys320 is this a feature you're thinking of tackling?

Ionys320 commented 2 months ago

Hi @jbrooksuk ! Yeah absolutely, I can take care of it. I started to check the code a bit, it may take me some few weeks, but I can handle it.

Ionys320 commented 1 month ago

WIP! image

jbrooksuk commented 1 month ago

Looking really good! Is it possible to add some filters to zoom in/out of time periods? Also, I think we should reduce the height some more.