Handler is deprecated: Use Handle.
var Handler http.Handler
func Handle(mux *http.ServeMux, pathPrefix string)
Handle adds the z-pages to the given ServeMux rooted at pathPrefix.
func WriteHTMLRpczPage(w io.Writer)
WriteHTMLRpczPage writes an HTML document to w containing per-method RPC stats.
func WriteHTMLRpczSummary(w io.Writer)
WriteHTMLRpczSummary writes HTML to w containing per-method RPC stats.
It includes neither a header nor footer, so you can embed this data in other pages.
func WriteHTMLTracezPage(w io.Writer, spanName string, spanType, spanSubtype int)
WriteHTMLTracezPage writes an HTML document to w containing locally-sampled trace spans.
func WriteHTMLTracezSpans(w io.Writer, spanName string, spanType, spanSubtype int)
WriteHTMLTracezSpans writes HTML to w containing locally-sampled trace spans.
It includes neither a header nor footer, so you can embed this data in other pages.
func WriteHTMLTracezSummary(w io.Writer)
WriteHTMLTracezSummary writes HTML to w containing a summary of locally-sampled trace spans.
It includes neither a header nor footer, so you can embed this data in other pages.
func WriteTextRpczPage(w io.Writer)
WriteTextRpczPage writes formatted text to w containing per-method RPC stats.
func WriteTextTracezSpans(w io.Writer, spanName string, spanType, spanSubtype int)
WriteTextTracezSpans writes formatted text to w containing locally-sampled trace spans.
func WriteTextTracezSummary(w io.Writer)
WriteTextTracezSummary writes formatted text to w containing a summary of locally-sampled trace spans.
Name | Synopsis |
---|---|
.. |