dcausse added a comment.

  In T285710#7261551 <https://phabricator.wikimedia.org/T285710#7261551>, 
@Legoktm wrote:
  
  > @Gehel what ends up consuming that value? Can we have it read the primary 
DC from conftool?
  >
  > For now I've documented this as a manual step: 
https://wikitech.wikimedia.org/w/index.php?title=Switch_Datacenter&type=revision&diff=1920831&oldid=1920827
  
  The system is passed a topic name at startup used as a reference for the lag 
(https://gerrit.wikimedia.org/r/plugins/gitiles/wikidata/query/rdf/+/refs/heads/master/tools/src/main/java/org/wikidata/query/rdf/tool/change/KafkaPoller.java#365).
 The updater then only reports the timestamp of this topic to blazegraph which 
is then consumed by a prometheus exporter.
  The way this "timestamp" (lag) is determined should be changed to either:
  
  - determine dynamically what is the "reportingTopic" calling conftool to know 
where eventgate is pushing MW events
  - do what the new updater is doing (T244590 
<https://phabricator.wikimedia.org/T244590>): compute an avg of the timestamps 
instead
  
  Because none of these changes would be trivial I think we prefer to wait for 
the new system to be in place.

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

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

To: dcausse
Cc: dcausse, Legoktm, Gehel, Aklapper, Invadibot, MPhamWMF, maantietaja, 
CBogen, Akuckartz, RhinosF1, Nandana, Namenlos314, jijiki, Lahi, Gq86, 
Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, 
LawExplorer, Volans, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, jkroll, 
Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Addshore, Mbch331, 
Krenair, akosiaris
_______________________________________________
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org

Reply via email to