Parsoid/Performance Metrics

These are the metrics currently aggregated in Parsoid using StatsD and Graphite.

Note, timing = start of get_article/post_article call till response return.

Metric Definition
html2wt.init measures time elapsed, in ms, between start of request and beginning of serialization
html2wt.init.domparse a component of html2wt.init, measures time elapsed, in ms, between parsing html string to DOM tree
html2wt.size.input length of the request's html string
html2wt.size.output length of the response string
html2wt.selser.serialize timing of selective serialization. i.e Dom Diff showed changes, so selective serialization of those changes.
html2wt.selser.domDiff. time to Dom diff generation.
html2wt.full.serialize timing of non-selective serialization. i.e no Dom Diff / no old source, fall back to non-selective serialization.
html2wt.total timing from request to response, of html2wt requests.
wt2html.total timing from request to response, of wt2html requests.
wt2html.pageWithOldid.init measures time elapsed, in ms, between start of request and the beginning of parsing using an Oldid.
wt2html.pageWithOldid.parse timing of wt2html requests parsed using an Oldid, a component of wt2html.total.
wt2html.pageWithOldid.size.input length of wt src (string) to be parsed.
wt2html.pageWithOldid.size.output length of response string parsed using the parsePageWithOldid route.
wt2html.wt.init measures length of time, in ms, elapsed between start of request and beginning of parsing using wt.
wt2html.wt.parse timing of wt2html requests parsed using wt, a component of wt2html.total.
wt2html.wt.size.input length of request string (wt) to be parsed.
wt2html.wt.size.output length of the response string parsed using the parseWt route.
wt2html.redirectToOldid count of wt2html requests that were redirected to the old revision using an old id.
heap.rss, heap.total & heap.used measures, in bytes, the memory usage of the Node process.