mirror of
https://github.com/coredns/coredns.git
synced 2026-04-19 02:15:33 -04:00
chore(docs): regenerate man pages (#7971)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
.\" Generated by Mmark Markdown Processer - mmark.miek.nl
|
||||
.TH "COREDNS-HEALTH" 7 "March 2021" "CoreDNS" "CoreDNS Plugins"
|
||||
.TH "COREDNS-HEALTH" 7 "March 2026" "CoreDNS" "CoreDNS Plugins"
|
||||
|
||||
.SH "NAME"
|
||||
.PP
|
||||
@@ -40,7 +40,7 @@ health [ADDRESS] {
|
||||
|
||||
.IP \(bu 4
|
||||
Where \fB\fClameduck\fR will delay shutdown for \fBDURATION\fP. /health will still answer 200 OK.
|
||||
Note: The \fIready\fP plugin will not answer OK while CoreDNS is in lameduck mode prior to shutdown.
|
||||
Note: The \fIready\fP plugin will not answer OK while CoreDNS is in lame duck mode prior to shutdown.
|
||||
|
||||
|
||||
.PP
|
||||
@@ -69,16 +69,19 @@ Doing this is supported but both endpoints ":8080" and ":8081" will export the e
|
||||
|
||||
.SH "METRICS"
|
||||
.PP
|
||||
If monitoring is enabled (via the \fIprometheus\fP plugin) then the following metric is exported:
|
||||
If monitoring is enabled (via the \fIprometheus\fP plugin) then the following metrics are exported:
|
||||
|
||||
.IP \(bu 4
|
||||
\fB\fCcoredns_health_request_duration_seconds{}\fR - duration to process a HTTP query to the local
|
||||
\fB\fC/health\fR endpoint. As this a local operation it should be fast. A (large) increase in this
|
||||
\fB\fCcoredns_health_request_duration_seconds{}\fR - The \fIhealth\fP plugin performs a self health check
|
||||
once per second on the \fB\fC/health\fR endpoint. This metric is the duration to process that request.
|
||||
As this is a local operation it should be fast. A (large) increase in this
|
||||
duration indicates the CoreDNS process is having trouble keeping up with its query load.
|
||||
.IP \(bu 4
|
||||
\fB\fCcoredns_health_request_failures_total{}\fR - The number of times the self health check failed.
|
||||
|
||||
|
||||
.PP
|
||||
Note that this metric \fIdoes not\fP have a \fB\fCserver\fR label, because being overloaded is a symptom of
|
||||
Note that these metrics \fIdo not\fP have a \fB\fCserver\fR label, because being overloaded is a symptom of
|
||||
the running process, \fInot\fP a specific server.
|
||||
|
||||
.SH "EXAMPLES"
|
||||
@@ -98,7 +101,7 @@ Run another health endpoint on http://localhost:8091
|
||||
.RE
|
||||
|
||||
.PP
|
||||
Set a lameduck duration of 1 second:
|
||||
Set a lame duck duration of 1 second:
|
||||
|
||||
.PP
|
||||
.RS
|
||||
|
||||
Reference in New Issue
Block a user