ItamarWMDE created this task.
ItamarWMDE added projects: Wikidata, Wikidata-Query-Service, Wikidata.org, 
wmde-wikidata-tech, Wikidata Dev Team.

TASK DESCRIPTION
  **Problem:**
  
  In T331405: [SW] Query service maxlag calculation should exclude datacenters 
that don't receive traffic and where the updater is turned off 
<https://phabricator.wikimedia.org/T331405> it was concluded that utilizing a 
new Prometheus query in the `updateQueryServiceLag.php` maintenance script will 
help mitigate potential false positive alerts while switching datacenters. The 
new query as crafted by @dcausse in T331405#8806909 
<https://phabricator.wikimedia.org/T331405#8806909> is:
  
  name=Prometheus query for  maxlag calculation
    max(time() - label_replace(blazegraph_lastupdated, "host", "$1", 
"instance", "^([^:]+):.*") and on(host) 
label_replace(rate(org_wikidata_query_rdf_blazegraph_filters_QueryEventSenderFilter_event_sender_filter_StartedQueries{}[5m])
 > 1, "host", "$1", "instance", "^([^:]+):.*"))
  
  To ensure this query is taken into account while running the maxlag updater 
maintenance script, the Prometheus URLs in the script should be updated.
  
  **Acceptance Criteria**:
  
  [ ] The `updateQueryServiceLag.php` is updated to take into account the new 
Prometheus query for maxlag calculation.

TASK DETAIL
  https://phabricator.wikimedia.org/T336352

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: ItamarWMDE
Cc: Aklapper, ItamarWMDE, dcausse, Astuthiodit_1, AWesterinen, karapayneWMDE, 
Invadibot, MPhamWMF, maantietaja, Akuckartz, Nandana, Namenlos314, Lahi, Gq86, 
Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, jkroll, 
Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to