Arbitrary metadata with each event

I want to track an event with say metadata that consists of 10 arbitrary key value pairs. How can I do this?

I have multiple different events with other unique metadata requirements.

Hi @yuppiestechdev
Are your keys constants (is the list of key is finite, and for one kind of event, the list of available key does not change and is limited to 10?)