Page MenuHomePhabricator

Gather information about the volume of queries on WCQS
Closed, ResolvedPublic5 Estimated Story Points

Description

As a Wikimedia staff member, I want to know more information about the volume of queries on WCQS so that I can use the information to make decisions about the future direction of WCQS.

Acceptance Criteria:

  • Provide data about the volume of queries on WCQS
  • Format of the data should be CSV
  • Data should be updated weekly

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

@dcausse what format is best for this, and is it something that can be run/updated weekly showing change over time? Can it be in Superset, for example?

I think first we could generate a CSV file accessible from wcqs-beta-01. I'm not very familiar with dashboard tools like Superset so I don't know how to push the data there from wmcloud.

@EBernhardson any advice on whether we can push this data to Superset?

It's hard to get this into superset because it doesn't live in the production network, the only access it has to get data to superset would be through our public endpoints. Off the top of my head, the only thing i can think of is submitting events to the public beacon endpoint like a browser would, not sure how workable that is.

Okay, for now then a CSV would be fine, and we can talk about putting it into superset eventually when WCQS moves to production.

Can we do the CSV weekly? Monthly would also be okay, I think.

CBogen set the point value for this task to 5.Aug 10 2020, 3:43 PM

Change 619948 had a related patch set uploaded (by ZPapierski; owner: ZPapierski):
[wikidata/query/rdf@master] Add file based query event sender

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

Change 620961 had a related patch set uploaded (by ZPapierski; owner: ZPapierski):
[wikidata/query/rdf@master] Summarizng tool for file query events

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

Change 619948 merged by jenkins-bot:
[wikidata/query/rdf@master] Add file based query event sender

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

Change 620961 merged by jenkins-bot:
[wikidata/query/rdf@master] Summarizng tool for file query events

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

Change 621708 had a related patch set uploaded (by ZPapierski; owner: ZPapierski):
[wikidata/query/rdf@master] Allow event sender if header overwrite

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

Change 621710 had a related patch set uploaded (by ZPapierski; owner: ZPapierski):
[operations/puppet@production] Enable file query events for WCQS

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

Change 621708 merged by jenkins-bot:
[wikidata/query/rdf@master] Allow event sender if header overwrite

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

Change 621710 merged by Ryan Kemper:
[operations/puppet@production] Enable file query events for WCQS

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