Skip to content

feat(auth): Prometheus metrics, query optimisation, Redis caching, per-client rate limits - #1458

Merged
nanaf6203-bit merged 2 commits into
MettaChain:mainfrom
LGTM-ButItsBroken:lgtm-butitsbroken/authapi-1335-1338
Oct 17, 2026
Merged

nanaf6203-bit merged 2 commits into
MettaChain:mainfrom
LGTM-ButItsBroken:lgtm-butitsbroken/authapi-1335-1338

Conversation

@LGTM-ButItsBroken

Copy link
Copy Markdown
Contributor

Scope kept minimal: small module-local additions plus a short doc under docs/api/ per issue. Each issue's tests are not added unless the issue is itself about tests; nothing was run. Behaviour change: dashboard apiKeysCount is now the true count (it was capped at 3). The Auth API PR from BigBen-7 also edits auth.controller.ts, auth.module.ts and auth.service.ts, so expect trivial merge conflicts.

Nothing was installed, built or run (no tsc, lint or jest); please verify in CI/review.

Closes #1335
Closes #1336
Closes #1337
Closes #1338

@drips-wave

drips-wave Bot commented Oct 16, 2026

Copy link
Copy Markdown

@LGTM-ButItsBroken Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@nanaf6203-bit nanaf6203-bit left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nanaf6203-bit nanaf6203-bit left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nanaf6203-bit
nanaf6203-bit merged commit 9f5de21 into MettaChain:main Oct 17, 2026
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.

Add rate limiting to AuthAPI Add Redis caching for AuthAPI Optimize DB queries in AuthAPI Add Prometheus metrics to AuthAPI

2 participants