Skip to content

Expose notification metrics as an endpoint#1913

Open
alanpeixinho wants to merge 1 commit into
kernelci:mainfrom
profusion:feat/metrics-endpoint
Open

Expose notification metrics as an endpoint#1913
alanpeixinho wants to merge 1 commit into
kernelci:mainfrom
profusion:feat/metrics-endpoint

Conversation

@alanpeixinho
Copy link
Copy Markdown
Contributor

@alanpeixinho alanpeixinho commented May 20, 2026

What is done

  • Include /api/metrics that receives start and end day for aggregation
  • Concurrent run of metrics queries to alleviate the latency

How to test

Start backend server.
Test the endpoint /api/metrics, make sure they match the counting on the email notifications (for the specific range dates)

Closes #1763

  Expose dashboard metrics for configurable time windows, parallelize
  metrics data queries, and add integration and unit test coverage.

Closes kernelci#1763

Signed-off-by: Alan Peixinho <alan.peixinho@profusion.mobi>
@alanpeixinho alanpeixinho force-pushed the feat/metrics-endpoint branch from c6c2b1b to 231183e Compare May 22, 2026 20:50
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.

Create data metrics api endpoint

1 participant