Currently the Metrics Platform docs state that all contextual attributes are optional. However, as part of investigating T374116, we discovered that instrument creators are required to specify agent_client_platform_family in the stream config for the JS and PHP clients.
To do: Update https://wikitech.wikimedia.org/wiki/Metrics_Platform/How_to/Create_First_Metrics_Platform_Instrument and https://wikitech.wikimedia.org/wiki/Metrics_Platform/How_to/Creating_a_Stream_Configuration to reflect that agent_client_platform_family is a required contextual attribute