Skip to content

PI Dashboard Development - Data Integration - Data Processing & API linking & Error Handling #177

@jimmysway

Description

@jimmysway

Motivation

When billing scripts fail, services go down we need to handle errors properly, to provide a smooth user experience, we need a strategy to handle these gaps gracefully rather than showing a broken line, while still being transparent about data quality.

Completion Criteria

  • The system can accept raw usage data and identify missing periods.
  • "Gaps" in data are mathematically interpolated to provide a continuous visual trend.
  • Missing data points are clearly distinguishable from actual reported data in the data structure.

Description

  • Define Data Interface: Establish how usage data will be structured and passed from the backend to the frontend.
  • Implement Interpolation Logic: Create a utility that can take sparse data and fill in the gaps (e.g., using linear interpolation) so the chart appears continuous.
  • Handle Edge Cases: Ensure the logic is robust enough to handle scenarios where data is missing for a day due to billing errors, handling cases where the actual cluster services go down, difference between planned/unplanned outages etc.

Completion dates

Desired - 12-04-2025

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions