Skip to content

feat: add /metrics endpoint, refactor api.py to app.py, add tests and…#48

Open
krishnakamalbaishnab wants to merge 1 commit into
MuddyHope:mainfrom
krishnakamalbaishnab:feature/add-metrics-endpoint
Open

feat: add /metrics endpoint, refactor api.py to app.py, add tests and…#48
krishnakamalbaishnab wants to merge 1 commit into
MuddyHope:mainfrom
krishnakamalbaishnab:feature/add-metrics-endpoint

Conversation

@krishnakamalbaishnab

Copy link
Copy Markdown

Summary

Added a new FastAPI GET /metrics endpoint to expose aggregated query tracking metrics, including total queries, average execution time, and slowest query details.

Refactored project structure by renaming api.py to app.py to resolve import conflicts.

Added tests for the new endpoint.

Closes #5

@MuddyHope

Copy link
Copy Markdown
Owner

2484 files changed?? @krishnakamalbaishnab ?? These changes are not even loading.

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.

FastAPI integration

2 participants