1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-28 00:17:12 +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 feat: New Relic integration (#7492) 2024-07-05 15:16:00 +02:00
db feat: statistics for orphaned tokens (#7568) 2024-07-11 11:39:38 +02:00
domain/project-health chore: change toggle to flag #3 (#7101) 2024-05-22 09:58:53 +03:00
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 feat: use audit info in events (#6872) 2024-04-18 16:32:35 +02:00
util feat: upgrade from react v17 to v18 (#7265) 2024-06-11 13:59:52 +03:00
app.test.ts
app.ts fix: bearer tokens with base-path (#7065) 2024-05-16 11:45:16 +02:00
create-config.test.ts feat: allow admin login using demo auth (#6808) 2024-04-23 08:39:33 +02:00
create-config.ts feat: constraints limit in a strategy (#7554) 2024-07-08 11:02:22 +02:00
default-custom-auth-deny-all.ts chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
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 feat: error log on unsupported pg (#7139) 2024-05-27 09:21:45 +02:00
server-impl.ts feat: file import (#7219) 2024-05-31 13:21:41 +02:00