1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-13 11:17:26 +02:00
unleash.unleash/src/lib/services/client-metrics
Christopher Kolstad f4bdd89a1c
fix: Change format for bulk metrics. (#3229)
### What
Change /edge/metrics endpoint to accept list of ClientMetricsEnv

### Rationale
We originally made the assumption that we probably didn't need to keep
splitting from a map of features into ClientMetricsEnv for bulk, instead
the bulk poster could post ClientMetricsEnv directly. However, Unleash
still expected the old client metrics format with a dictionary of
featurename -> metricsForFeature. This PR changes that to now accept the
list of ClientMetricsEnv (preprocessed data from downstream) instead of
expecting metrics to be in the old single application metric format.
2023-03-01 13:08:08 +01:00
..
instance-service.test.ts task: Expose prometheus metrics (#2586) 2022-12-12 14:05:56 +01:00
instance-service.ts Network view not experimental (#3124) 2023-02-15 16:24:57 +01:00
last-seen-service.ts fix: filter empty metrics before we collect last seen toggles. (#2172) 2022-10-17 09:06:59 +02:00
metrics-service-v2.ts fix: Change format for bulk metrics. (#3229) 2023-03-01 13:08:08 +01:00
models.ts task: add OpenApi spec to metrics route (#1725) 2022-06-21 09:12:40 +02: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 fix: Change format for bulk metrics. (#3229) 2023-03-01 13:08:08 +01:00