PromucFlow_constructor/app
Apeksha Bhosale 4dbd235ac4
chore: login metric added (#40325)
## Description
Added custom login metrics

<img width="1281" alt="image"
src="https://github.com/user-attachments/assets/530b2155-c645-428a-94fa-fbec2f4106e5"
/>


Fixes #`Issue Number`  
_or_  
Fixes `Issue URL`
> [!WARNING]  
> _If no issue exists, please create an issue first, and check with the
maintainers if the issue is valid._

## Automation

/ok-to-test tags="@tag.All"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/14617262543>
> Commit: e36ee2c4f9432935a3dc75c30596a5042e5fee47
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14617262543&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Wed, 23 Apr 2025 12:57:57 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

## Summary by CodeRabbit

- **New Features**
- Introduced login metrics tracking, including timing and failure counts
for login attempts.
- Added a new filter to monitor login attempts and record related
metrics.
- Enhanced authentication failure handling with detailed metrics for
different failure sources and error redirects.
  - Improved rate limiting feedback with integrated metric recording.

- **Bug Fixes**
- More accurate tracking and reporting of login failures and their
sources.

- **Chores**
- Updated security configuration to integrate new metrics and failure
handling components.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-24 14:16:26 +05:30
..
client chore: Adjust WDS accent subtle (#40353) 2025-04-24 10:06:34 +02:00
server chore: login metric added (#40325) 2025-04-24 14:16:26 +05:30
util