[Wikitech-l] New PHP profiling tool available on WMF cluster

2016-02-21 Thread Ori Livneh
Hello,

I set up XHGui on the Wikimedia Foundation's production cluster:

https://performance.wikimedia.org/xhgui/

XHGui is a web application for browsing and analyzing PHP profiling data
collected via the XHProf hierarchical profiler. It's now available on the
Wikimedia Foundation's production cluster:

https://performance.wikimedia.org/xhgui/

You can see an example of a profiled request here:

https://performance.wikimedia.org/xhgui/run/view?id=56ca93be7ed6ccf971b5b693

I set things up so all requests which bear the X-Wikimedia-Debug header
(see ) are profiled
and entered into XHGui's database.

Anyone can use this setup to profile requests and view profiling data, but
for the moment POSTing to XHGui (to add function watches, create custom
views, etc.) requires WMF staff or NDA LDAP credentials.

Note that cookie, client IP, form data, and all query parameters except
'action', are stripped from requests. Also note that the app server that
handles X-Wikimedia-Debug requests is configured to process messages in all
log channels, which grossly inflates the runtime of log-processing
functions.
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] ORES extension soon be deployed, help us test it

2016-02-21 Thread Gergo Tisza
On Sun, Feb 21, 2016 at 10:06 AM, Amir Ladsgroup 
wrote:

> We should make a patch like this
> https://gerrit.wikimedia.org/r/#/c/269478/
> but for testwiki AFAIK.
>

testwiki is in the production cluster. For the beta cluster, make a similar
patch but change the *-labs files instead. You can find the list of beta
cluster wikis here:
https://noc.wikimedia.org/conf/highlight.php?file=all-labs.dblist
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] ORES extension soon be deployed, help us test it

2016-02-21 Thread Amir Ladsgroup
We should make a patch like this https://gerrit.wikimedia.org/r/#/c/269478/
but for testwiki AFAIK.

Best

On Sun, Feb 21, 2016 at 9:32 PM Aaron Halfaker 
wrote:

> Hey Antoine,
>
> Can you point us to any docs on setting up extensions in the Beta cluster?
>
> -Aaron
>
> On Sat, Feb 20, 2016 at 3:53 PM, Antoine Musso  wrote:
>
> > Le 19/02/2016 23:35, Amir Ladsgroup a écrit :
> > > Hey all,
> > > TLDR: ORES extension [1] which is an extension that integrates ORES
> > service
> > > [2] with Wikipedia to make fighting vandalism easier and more efficient
> > is
> > > in the progress of deployment. You can test it in
> > > https://mw-revscoring.wmflabs.org (Enable it in your preferences
> first)
> > 
> >
> > Hello,
> >
> > We usually require extensions to be setup on the beta cluster before it
> > is send to production.  I understand there is already a labs setup but
> > it seems the integration work is going to be done straight in
> > production
> >
> >
> > --
> > Antoine "hashar" Musso
> >
> >
> > ___
> > Wikitech-l mailing list
> > Wikitech-l@lists.wikimedia.org
> > https://lists.wikimedia.org/mailman/listinfo/wikitech-l
> >
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] ORES extension soon be deployed, help us test it

2016-02-21 Thread Aaron Halfaker
Hey Antoine,

Can you point us to any docs on setting up extensions in the Beta cluster?

-Aaron

On Sat, Feb 20, 2016 at 3:53 PM, Antoine Musso  wrote:

> Le 19/02/2016 23:35, Amir Ladsgroup a écrit :
> > Hey all,
> > TLDR: ORES extension [1] which is an extension that integrates ORES
> service
> > [2] with Wikipedia to make fighting vandalism easier and more efficient
> is
> > in the progress of deployment. You can test it in
> > https://mw-revscoring.wmflabs.org (Enable it in your preferences first)
> 
>
> Hello,
>
> We usually require extensions to be setup on the beta cluster before it
> is send to production.  I understand there is already a labs setup but
> it seems the integration work is going to be done straight in
> production
>
>
> --
> Antoine "hashar" Musso
>
>
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l