1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-31 00:16:47 +01:00
unleash.unleash/src/lib
Thomas Heartman f15bcdc2a6
chore: send prometheus metrics when someone tries to exceed resource limits (#7617)
This PR adds prometheus metrics for when users attempt to exceed the
limits for a given resource.

The implementation sets up a second function exported from the
ExceedsLimitError file that records metrics and then throws the error.
This could also be a static method on the class, but I'm not sure that'd
be better.
2024-07-18 13:35:45 +02:00
..
__snapshots__ chore: add integrationEvents feature flag (#7602) 2024-07-17 08:25:47 +01:00
addons
db feat: statistics for orphaned tokens (#7568) 2024-07-11 11:39:38 +02:00
domain/project-health
error chore: send prometheus metrics when someone tries to exceed resource limits (#7617) 2024-07-18 13:35:45 +02:00
features chore: send prometheus metrics when someone tries to exceed resource limits (#7617) 2024-07-18 13:35:45 +02:00
middleware task: added flag to remove unsafe inline style src header (#7566) 2024-07-10 14:36:28 +02:00
openapi feat: constraints limit in a strategy (#7554) 2024-07-08 11:02:22 +02:00
routes feat: Disallow repeating last 5 passwords. (#7552) 2024-07-09 16:18:35 +02:00
schema
services chore: send prometheus metrics when someone tries to exceed resource limits (#7617) 2024-07-18 13:35:45 +02:00
types chore: add integrationEvents feature flag (#7602) 2024-07-17 08:25:47 +01:00
users
util
app.test.ts
app.ts
create-config.test.ts
create-config.ts feat: constraints limit in a strategy (#7554) 2024-07-08 11:02:22 +02:00
default-custom-auth-deny-all.ts
internals.ts
logger.test.ts
logger.ts
metric-events.ts chore: send prometheus metrics when someone tries to exceed resource limits (#7617) 2024-07-18 13:35:45 +02:00
metrics.test.ts chore: send prometheus metrics when someone tries to exceed resource limits (#7617) 2024-07-18 13:35:45 +02:00
metrics.ts chore: send prometheus metrics when someone tries to exceed resource limits (#7617) 2024-07-18 13:35:45 +02:00
server-impl.test.ts
server-impl.ts