1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-08-27 13:49:10 +02:00
unleash.unleash/src
Gastón Fournier 2806c060a5
fix: Client metrics name validation (#4339)
## About the changes
1. Add a test for the failing use case (we can see it
[here](https://github.com/Unleash/unleash/actions/runs/5656229196/job/15322845002?pr=4339#step:5:783)):
```
FAIL src/lib/services/client-metrics/metrics-service-v2.test.ts
  ● process metrics properly even when some names are not url friendly

    ValidationError: "name" must be URL friendly
```
2. Fix and handle this gracefully
3. Added a new toggle to silently ignore bad names: filterInvalidClientMetrics

Fixes: https://github.com/Unleash/unleash/pull/4193
2023-07-25 12:49:09 +00:00
..
lib fix: Client metrics name validation (#4339) 2023-07-25 12:49:09 +00:00
mailtemplates refactor: move docs into new structure / fix links for SEO (#2416) 2022-11-22 09:05:30 +00:00
migrations refactor: token permissions, drop admin-like permissions (#4050) 2023-06-22 08:35:54 +01:00
test chore: prepare 5.2 patch (#4224) 2023-07-12 20:09:46 +02:00
migrator.ts feat: disable verbosity from db-migrate (#3301) 2023-03-13 10:12:43 +01:00
server-dev.ts chore: remove strategyImprovements flag (#4043) 2023-06-28 11:38:21 +03:00
server.ts Define exports for enterprise (#2435) 2022-11-17 13:02:40 +02:00