mirror of
https://github.com/coredns/coredns.git
synced 2026-01-23 08:52:54 -05:00
generate doc for 1.1.3 (#1832)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
.\" generated with Ronn/v0.7.3
|
||||
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
||||
.
|
||||
.TH "COREDNS\-PPROF" "7" "April 2018" "CoreDNS" "CoreDNS plugins"
|
||||
.TH "COREDNS\-PPROF" "7" "May 2018" "CoreDNS" "CoreDNS plugins"
|
||||
.
|
||||
.SH "NAME"
|
||||
\fIpprof\fR \- publishes runtime profiling data at endpoints under \fB/debug/pprof\fR\.
|
||||
@@ -10,7 +10,7 @@
|
||||
You can visit \fB/debug/pprof\fR on your site for an index of the available endpoints\. By default it will listen on localhost:6053\.
|
||||
.
|
||||
.P
|
||||
For more information, please see Go\'s pprof documentation \fIhttps://golang\.org/pkg/net/http/pprof/\fR and read Profiling Go Programs \fIhttps://blog\.golang\.org/profiling\-go\-programs\fR\.
|
||||
This is a debugging tool\. Certain requests (such as collecting execution traces) can be slow\. If you use pprof on a live server, consider restricting access or enabling it only temporarily\.
|
||||
.
|
||||
.P
|
||||
This plugin can only be used once per Server Block\.
|
||||
@@ -42,6 +42,9 @@ Enable pprof endpoints:
|
||||
.IP "" 0
|
||||
.
|
||||
.P
|
||||
And use the pprof tool to get statistics: \fBgo tool pprof http://localhost:6053\fR\.
|
||||
.
|
||||
.P
|
||||
Listen on an alternate address:
|
||||
.
|
||||
.IP "" 4
|
||||
|
||||
Reference in New Issue
Block a user