enhancement(unit tests): Add testing for component specification features (#9312)
* Add support for a thread-local internal metrics recorder * Move metrics controller functionality into `struct Controller` * Rename `metrics::init` to `init_global` to clarify usage * Convert all tests to use the thread-local metrics controller * Add support for recording and testing emission of actual events Signed-off-by: Bruce Guenter <bruce.guenter@datadoghq.com>
B
Bruce Guenter committed
671f98983824c9677aaee1baf17004aa402bd42f
Parent: 9567f73
Committed by GitHub <noreply@github.com>
on 9/28/2021, 3:29:10 PM