Skip to content

Fix metrics charts for PostgreSQL - #199

Open
ulnanlu wants to merge 1 commit into
thezak48:developfrom
ulnanlu:fix/metrics-chart-data
Open

ulnanlu wants to merge 1 commit into
thezak48:developfrom
ulnanlu:fix/metrics-chart-data

Conversation

@ulnanlu

@ulnanlu ulnanlu commented Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

The charts on the metrics page were not working due to datetime data type mismatch between postgresql and the sqilte datetime formats (the metrics code simply assumed datetime as string when implemented during sqlite time).

  • Normalize daily metric date keys so PostgreSQL date objects match chart labels.
  • Pin Chart.js to a versioned CDN url.
  • Add regression coverage for PostgreSQL-style date values.

@sonarqubecloud

Copy link
Copy Markdown

This branch has not been deployed

No deployments
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.

1 participant