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
Mateusz Kwasniewski
3a3b6a29ff
feat: lifecycle stage entered counter ( #7449 )
2024-06-25 14:40:16 +02:00
Jaanus Sellin
2a57acca41
feat: start monitoring total time to update cache ( #6517 )
2024-03-12 14:27:04 +02:00
Jaanus Sellin
b7915171ff
feat: start tracking operation duration ( #6514 )
2024-03-12 12:30:30 +02:00
Mateusz Kwasniewski
bc83a4d66e
refactor: rename proxy to frontend api in openapi schemas ( #6511 )
2024-03-12 10:15:24 +01:00
David Leek
adb6f61015
chore: proxy repository load features metrics ( #6314 )
...
## About the changes
- Adds createHistogram
- Adds histogram metrics for proxy-repositorys loading features
2024-02-22 14:29:21 +01:00
David Leek
cb53df6176
chore: emit PROXY_REPOSITORY_CREATED event when creating new repo ( #6251 )
...
## About the changes
- Emits a new event on the eventBus when Proxy-service creates a new
repository for a frontend token
- Adds a prometheus metrics counter for created proxy-repositories

2024-02-15 14:58:48 +01:00
David Leek
fcb8bf6918
chore: scheduled created-by migrations metrics ( #6089 )
...
## About the changes
the created_by_user_id data migration from resolving events.created_by
(for both events and features) now emits events on how many rows were
updated.
Adds listeners for these events that records these metrics with
prometheus

2024-01-31 12:30:42 +01:00
Fredrik Strand Oseberg
fe4bb4f227
feat: scheduled functions observability ( #5377 )
...
See linear issue:
https://linear.app/unleash/issue/1-1656/add-scheduler-observability
As per post mortem actions, we are adding observability to scheduled
functions.
This PR adds prometheus observability to our scheduled functions via a
summary. In addition to timing these functions with the more accurate
process.hrtime, we are getting a counter for free per scheduled job id.
Prometheus example:
<img width="731" alt="Skjermbilde 2023-11-21 kl 13 36 33"
src="https://github.com/Unleash/unleash/assets/16081982/08a2064d-5152-4b4f-8a08-eb06e726757a ">
2023-11-21 13:42:38 +01:00
Ivar Conradi Østhus
df2e23c282
fix: refactor event types
2021-04-29 10:21:29 +02:00