Skip to content

Migrate chart generation from Globadge to QuickChart#98

Open
whywaita wants to merge 2 commits intocatchpoint:masterfrom
whywaita:use_quickchart
Open

Migrate chart generation from Globadge to QuickChart#98
whywaita wants to merge 2 commits intocatchpoint:masterfrom
whywaita:use_quickchart

Conversation

@whywaita
Copy link
Contributor

Fixes: #97

  • Replace Globadge API with QuickChart API for chart image generation
  • Globadge API is returning 403 errors, making charts unavailable

Changes

Chart API Migration

Modified Functions

Function Description
getLineGraph() Generates line charts for Network I/O and Disk I/O metrics
getStackedAreaGraph() Generates stacked area charts for CPU, Memory, and Disk Usage metrics

Technical Details

  • Uses Chart.js v2 configuration format supported by QuickChart
  • Time-series data with type: 'time' scale for X-axis
  • Stacked area charts implemented using type: 'line' with fill and stacked: true options
  • Theme support (light/dark) preserved via axisColor configuration
  • Short URL generation via /chart/create endpoint returns { success: true, url: "..." }

Tests

I tested in https://github.com/whywaita/keex/actions/runs/20159448564 .

@whywaita whywaita changed the title Switch graph service to quickchart Migrate chart generation from Globadge to QuickChart Dec 12, 2025
@hridujain
Copy link

@serkan-ozal any chance you could review this PR soon? Our team is eagerly awaiting a fix for the linked problem #97!

@jfrancoa
Copy link

jfrancoa commented Feb 9, 2026

@suleymanbarman could you please review this PR? Several github actions are blocked from getting their metrics generated by #97

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Globadge unexpectedly require authentication with a token

3 participants

Comments