1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-11-01 19:07:38 +01: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
instance-service.ts Network view not experimental (#3124) 2023-02-15 16:24:57 +01:00
last-seen-service.ts
metrics-service-v2.ts fix: Change format for bulk metrics. (#3229) 2023-03-01 13:08:08 +01:00
models.ts
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