Page MenuHomePhabricator

WDQS query logging should be separated per subgraph
Closed, ResolvedPublic5 Estimated Story Points

Description

If we want to easily monitor how much traffic is running on the split graph we should make sure that the events are properly identified.
AC:

  • Add a flag to the existing schema to hold the name of the graph (subgraph)
  • Adapt the rdf code-base to accept a new config to populate this new field
  • Configure puppet to tell the split graph hosts to emit queries to these streams

Details

Related Changes in Gerrit:
Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
search: add graph_name filteringrepos/data-engineering/airflow-dags!905dcausseT376134-search-sparql-graph-namemain
sparql/query: add graph_namerepos/data-engineering/schemas-event-secondary!19dcaussesparql-query-add-graph_namemaster
Customize query in GitLab

Event Timeline

It might make more sense to keep a single stream and add a flag.

Gehel triaged this task as High priority.Oct 28 2024, 4:39 PM
Gehel set the point value for this task to 5.

Change #1084189 had a related patch set uploaded (by DCausse; author: DCausse):

[wikidata/query/rdf@master] Add graph_name to sparql query events

https://gerrit.wikimedia.org/r/1084189

Change #1084193 had a related patch set uploaded (by DCausse; author: DCausse):

[operations/puppet@production] wdqs: add graph_name in query logs

https://gerrit.wikimedia.org/r/1084193

Change #1084189 merged by jenkins-bot:

[wikidata/query/rdf@master] Add graph_name to sparql query events

https://gerrit.wikimedia.org/r/1084189

Change #1091290 had a related patch set uploaded (by DCausse; author: DCausse):

[wikidata/query/deploy@master] deploy version 0.3.150

https://gerrit.wikimedia.org/r/1091290

Change #1091290 merged by Bking:

[wikidata/query/deploy@master] deploy version 0.3.150

https://gerrit.wikimedia.org/r/1091290

Change #1084193 merged by Bking:

[operations/puppet@production] wdqs: add graph_name in query logs

https://gerrit.wikimedia.org/r/1084193