1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00
unleash.unleash/src/test/fixtures
Gastón Fournier 2979f21631
feat: expose number of registered applications metric (#2692)
## About the changes
This metric will expose an aggregated view of how many client
applications are registered in Unleash. Since applications are ephemeral
we are exposing this metric in different time windows based on when the
application was last seen.

The caveat is that we issue a database query for each new range we want
to add. Hopefully, this should not be a problem because:
a) the amount of ranges we'd expose is small and unlikely to grow
b) this is currently updated at startup time and even if we update it on
a scheduled basis the refresh rate will be rather sparse

## Sample data
This is how metrics will look like
```
# HELP client_apps_total Number of registered client apps aggregated by range by last seen
# TYPE client_apps_total gauge
client_apps_total{range="allTime"} 3
client_apps_total{range="30d"} 3
client_apps_total{range="7d"} 2
```
2022-12-16 11:16:51 +00:00
..
access-service-mock.ts Feat/grouping (#1845) 2022-07-21 16:23:56 +02:00
fake-access-store.ts Add possibility to soft delete users (#2497) 2022-11-23 09:30:54 +02:00
fake-addon-store.ts fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
fake-api-token-store.ts Feat/add alias to api tokens (#1931) 2022-08-19 10:48:33 +02:00
fake-client-applications-store.ts refactor: replace ts-ignore with ts-expect-error (#1675) 2022-06-07 11:49:17 +02:00
fake-client-instance-store.ts feat: expose number of registered applications metric (#2692) 2022-12-16 11:16:51 +00:00
fake-client-metrics-store-v2.ts feat: remove old metrics service 2021-12-10 09:31:54 +01:00
fake-context-field-store.ts Feat/stats service (#2211) 2022-10-25 13:10:27 +02:00
fake-environment-store.ts Update environments (#2339) 2022-11-11 10:24:56 +00:00
fake-event-store.ts feat: add count to event list (#2036) 2022-09-02 08:35:31 +02:00
fake-favorite-features-store.ts Favorite features (#2550) 2022-11-29 16:06:08 +01:00
fake-favorite-projects-store.ts Favorite project (#2569) 2022-11-30 13:41:53 +02:00
fake-feature-environment-store.ts feat: Add variants per env (#2471) 2022-11-21 10:37:16 +01:00
fake-feature-strategies-store.ts Favorite features (#2550) 2022-11-29 16:06:08 +01:00
fake-feature-tag-store.ts fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
fake-feature-toggle-client-store.ts Favorite features (#2550) 2022-11-29 16:06:08 +01:00
fake-feature-toggle-store.ts feat: Add variants per env (#2471) 2022-11-21 10:37:16 +01:00
fake-feature-type-store.ts refactor: add OpenAPI schema to feature types controller (#1684) 2022-06-09 13:17:13 +02:00
fake-group-store.ts Feat/stats service (#2211) 2022-10-25 13:10:27 +02:00
fake-pat-store.ts fix: limit total of PATs a user can have (#2301) 2022-11-02 08:11:35 +00:00
fake-project-store.ts add support for cloning environments (#2205) 2022-10-28 11:27:11 +02:00
fake-public-signup-store.ts Feat/invite user (#2061) 2022-09-30 13:01:32 +02:00
fake-reset-token-store.ts fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
fake-role-store.ts Feat/stats service (#2211) 2022-10-25 13:10:27 +02:00
fake-segment-store.ts Feat/stats service (#2211) 2022-10-25 13:10:27 +02:00
fake-session-store.ts fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
fake-setting-store.ts feat: Disable password based login (#1046) 2021-10-29 10:25:42 +02:00
fake-strategies-store.ts Feat/stats service (#2211) 2022-10-25 13:10:27 +02:00
fake-tag-store.ts fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
fake-tag-type-store.ts fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
fake-user-feedback-store.ts fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
fake-user-splash-store.ts refactor: add schemas to user admin controller (#1692) 2022-06-22 14:55:43 +02:00
fake-user-store.ts feat: update seen_at pat column (#2516) 2022-11-30 08:10:31 +02:00
no-logger.ts fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
permissions.ts fix: convert files to typescript 2021-09-14 19:30:11 +02:00
store.ts Favorite project (#2569) 2022-11-30 13:41:53 +02:00