Skip to content

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!

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

2 participants