Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Send only critical alerts category from alerts endpoint #842

@peppescg

Description

@peppescg

Describe the issue

We are starting to see some performance issue with alerts in UI dashboard. Considering that we are filtering alerts in FE showing only trigger_category: critical, we can avoid to send all the data from endpoint level, sending only critical alerts.

In my DB only 30% (total alerts 580) of alerts are critical.

Steps to Reproduce

Look at the network tabs, /alerts size

Operating System

MacOS (Arm)

IDE and Version

VS Code

Extension and Version

1.96.4

Provider

GitHub Copilot

Model

all

Codegate version

0.1.7

Logs

Image

Additional Context

No response

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions