1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-04-15 01:16:22 +02:00
unleash.unleash/src/lib/services/client-metrics
Christopher Kolstad e7642c02aa
feat: Added bulk metrics support under /api/client/metrics/bulk path (#5779)
This adds a bulk endpoint under `/api/client/metrics`. Accessible under
`/api/client/metrics/bulk`.

This allows us to piggyback on the need for an API user with access.
This PR mostly copies the behaviour from our `/edge/metrics` endpoint,
but it filters metrics to only include the environment that the token
has access to.

So a client token that has access to the `production` will not be
allowed to report metrics for the `development` environment. More
importantly, a `development` token will not be allowed to post metrics
for the `production` environment.
2024-01-10 14:52:34 +01:00
..
last-seen feat: add icons to filters (#5640) 2023-12-14 15:06:26 +02:00
instance-service.test.ts Client instance service (#5126) 2023-10-23 15:22:30 +02:00
instance-service.ts chore: remove private projects flag (#5743) 2024-01-02 15:53:26 +02:00
metrics-service-v2.test.ts Fix/last seen at by environment (#4939) 2023-10-09 10:54:00 +02:00
metrics-service-v2.ts feat: Added bulk metrics support under /api/client/metrics/bulk path (#5779) 2024-01-10 14:52:34 +01:00
models.ts feat: applicaton usage endpoint (#4548) 2023-08-23 12:00:22 +03:00
schema.test.ts chore: add bulk endpoint for metrics and app registration for edge (#3079) 2023-02-15 09:13:32 +01:00
schema.ts feat: persist client application usage (#4534) 2023-08-21 14:36:31 +03:00