Angelo Marletta

Results 4 issues of Angelo Marletta

## Goal The goal is to avoid creating a new goroutine for each report when using asynchronous mode. The motivation is that an application that creates more reports than the...

Allocate new metrics before the exclusive lock is acquired for `count()` and `set()`. The `if` condition in the critical section is more likely to be false than true, so this...

This PR introduces optional sharding for client-side aggregation locks to significantly improve throughput in high-concurrency scenarios. **Problem:** The aggregator previously used a single `sync.RWMutex` for each metric type (`counts`, `gauges`,...