SIGN IN SIGN UP

chore: Extract `Event` into vector-core (#7240)

* chore: Extract `Event` into vector-core

This PR extracts `Event`, `metrics` and `mapping` module into vector-core. I had
hoped to do these separately but they proved to be tied together in a way I
couldn't separate. I've intentionally not made many structural changes to this
code. As much as possible it's a simple move operation.

Closes #7151 #7148

Signed-off-by: Brian L. Troutwine <brian@troutwine.us>

* address clippy warnings

Signed-off-by: Brian L. Troutwine <brian@troutwine.us>

* address failing vector-core tests

Signed-off-by: Brian L. Troutwine <brian@troutwine.us>

* clippy fixes

Signed-off-by: Brian L. Troutwine <brian@troutwine.us>

* correct log_schema

Signed-off-by: Brian L. Troutwine <brian@troutwine.us>

* correct panic! without formatting string

Signed-off-by: Brian L. Troutwine <brian@troutwine.us>

* address build issue after rebase

Signed-off-by: Brian L. Troutwine <brian@troutwine.us>
B
Brian L. Troutwine committed
4ec1700ae55f90bf0419a22ddca7eb0e2a97b8ff
Parent: 68fcbe8
Committed by GitHub <noreply@github.com> on 5/4/2021, 6:01:21 PM