development/sparql/query: added query_dt field

Query events are logged once query execution is done. Depending on the complexity of the query, this can deviate considerably from the time the query was received. Since the meta.dt field is filled by eventgate, we introduce a separate field query_dt which contains the time the query was received, rather than the time the event was logged.
    
Bug: T431480

CC: @gmodena @lerickson

Merge request checklist

  • Phabricator task(s) associated with this change added to commit message (use Bug: TASK_NUMBER on line at end of commit message)
  • wikitech:Event Platform/Instrumentation How To#Writing MediaWiki instrumentation code was followed for the schema(s) in the merge request. This includes if this merge request entails a new MEDIUM or HIGH risk schema, or if this merge request entails a schema alteration that increases the risk level based on Data Collection Guidelines.
  • N/A If this introduces a new or upgraded MEDIUM or HIGH risk level, @sguebo added as a reviewer (please check @sguebo calendar for availability and find an alternate if @sguebo is out).
  • wikitech:Event Platform/Schemas/Guidelines was followed for the schema(s) in the merge request.
  • Links to any other data specifications, such as a measurement plan or instrumentation specification if pertinent. Links to related code / Gerrit/GitLab patch pertinent to this schema change if it exists yet; if it doesn't exist yet that is okay and the merge requester should be sure to ensure reachability for that code via the commit message's referenced Phabricator task(s) later on. Please add links for any data specifications and relevant patches below this checkbox line if you have them.

Merge request reports

Loading