Commit Graph

14 Commits

Author SHA1 Message Date
Girish Ramakrishnan 6b2e98b9be metrics: fix up app graphs after api changes 2025-07-07 20:09:09 +02:00
Girish Ramakrishnan 9377701ad1 graphs: make intervalSecs configurable
for smaller durations, we need more granularity
2025-07-04 21:53:25 +02:00
Girish Ramakrishnan ac6f80c274 metrics: add a high mark for the cpu and memory app graphs 2025-07-04 15:16:52 +02:00
Girish Ramakrishnan 0d28292cfb metrics: tooltip label 2025-07-04 13:18:23 +02:00
Girish Ramakrishnan 4caf052199 metrics: make the memory y-unit scale more flexible
system memory is in GiB. app memory is usually in MiB
2025-07-04 10:40:53 +02:00
Girish Ramakrishnan 813409a8fb graphs: directly stream docker stats
docker stats API caches the stat and reading it frequently gives back the same value.
this trips our "rate" code into thinking rate is 0.

one approach was to persist polling like we do now and ignore entries based on stats.read.
this works fine but the streaming approach seems better since we don't need to poll anymore.
2025-07-04 00:03:43 +02:00
Girish Ramakrishnan 03b7445cb9 graphs: change tooltip format 2025-07-03 23:56:31 +02:00
Girish Ramakrishnan b3071603d0 graphs: make top level div and clean the timer 2025-07-03 17:44:32 +02:00
Girish Ramakrishnan a6a715b8c2 apps: make app graphs use GraphItem 2025-07-03 16:39:18 +02:00
Johannes Zellner 83aaa9e8f0 Do not crash if graph data rendering tries to access already destroyed dom element 2025-05-27 14:34:13 +02:00
Girish Ramakrishnan 8779de448d rename /graphs route to /metrics 2025-05-21 16:26:36 +02:00
Johannes Zellner 2ed7f152b7 Use the same graph style in app graphs as in system graphs 2025-05-21 09:25:59 +02:00
Girish Ramakrishnan 892ff38a3f graphs: make interval configurable 2025-05-20 20:46:35 +02:00
Johannes Zellner 27ecde2f17 Add app configure graphs view 2025-03-07 11:54:43 +01:00