Skip to content

API Performance & Error Analytics #138

@yash-pouranik

Description

@yash-pouranik

Goal: Provide project owners with insights into their API's health and speed.

Context: The dashboard currently only shows total requests but lacks data on latency (response time) and error rates.

Implementation Requirements:

  • Create a global middleware in apps/public-api to record the response-time and status code of every request.
  • Store this data efficiently (e.g., using a dedicated Analytics collection or aggregation logic).
  • Create endpoints in apps/dashboard-api that return "Average Response Time" and "Error %" for a specific time range.
  • Ensure the logging process is asynchronous so it does not impact main API performance.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions