dcausse added a comment.
@ItamarWMDE the patch finally got deployed, the prometheus query should look
like:
`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", "^([^:]+):.*"))`
This will take into account the internal cluster (mainly used for the
constraint checks) If you want to filter only hosts receiving external queries
it becomes:
`max(time() - label_replace(blazegraph_lastupdated{cluster="wdqs"}, "host",
"$1", "instance", "^([^:]+):.*") and on(host)
label_replace(rate(org_wikidata_query_rdf_blazegraph_filters_QueryEventSenderFilter_event_sender_filter_StartedQueries{cluster="wdqs"}[5m])
> 1, "host", "$1", "instance", "^([^:]+):.*"))`
We can do a quick test before adapting the maint script if you want.
TASK DETAIL
https://phabricator.wikimedia.org/T331405
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: dcausse
Cc: ItamarWMDE, Joe, Aklapper, dcausse, Lucas_Werkmeister_WMDE, Kappakayala,
Astuthiodit_1, AWesterinen, Arnoldokoth, karapayneWMDE, Invadibot, MPhamWMF,
maantietaja, wkandek, JMeybohm, CBogen, Akuckartz, Nandana, Namenlos314,
jijiki, Lahi, Gq86, 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]