Per @DMartin-WMF on Slack:
Hi again @phuedx - I'm afraid I'm still stuck on the ValidationError for the missing property agent. I added the agent_ properties in the stream definition:
'provide_values' => [ 'agent_client_platform_family', 'agent_client_platform', . 'agent_release_status', ....but it hasn't made a difference.
Then I also explicitly include a hardcoded value for agent in interactionData (as a temporary workaround), but no luck there either. In both cases, I'm still seeing the same ValidationError that I pasted in above.
Is there anything else that I can try?
PS - My PHP code currently looks like this:$interactionData = [ 'agent' => [ 'client_platform' => 'mediawiki_js', 'client_platform_family' => 'desktop_browser' ], 'action_source' => 'value_for_action_source', ]; EventLogging::getMetricsPlatformClient()->submitInteraction('submit_interaction_stream', '/analytics/product_metrics/web/base/1.0.0', 'init', $interactionData );(And the ValidationError appears with or without the agent property in $interactionData.)
I see these possibly relevant messages in mw-debug-www.log:[EventLogging] wgEventLoggingBaseUri has not been configured. [EventBus] Using event intake service eventgate-analytics-external for stream submit_interaction_stream. [EventBus] Unable to deliver all events: 400: 1 out of 1 events were invalid and not accepted.