Klaus Post ba6218b354
fix: resource metrics "concurrent map iteration and map write" (#18273)
`resourceMetricsMap` has no protection against concurrent reads and writes.

Add a mutex and don't use maps from the last iteration.

Bug introduced in #18057

Fixes #18271
2023-10-18 13:28:50 -07:00
..
2023-09-04 12:57:37 -07:00
2023-09-14 14:50:16 -07:00
2023-09-04 12:57:37 -07:00
2023-10-12 15:39:22 -07:00
2023-09-04 12:57:37 -07:00
2023-09-04 12:57:37 -07:00
2023-09-04 12:57:37 -07:00
2023-09-04 12:57:37 -07:00
2023-10-18 08:06:57 -07:00