fix formatting
This commit is contained in:
@@ -20,16 +20,16 @@ type PD struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var sampleConfig = `
|
var sampleConfig = `
|
||||||
## PagerDuty service key
|
## PagerDuty service key
|
||||||
service_key = <SERVICE KEY>
|
service_key = <SERVICE KEY>
|
||||||
## Metric name that will be checked
|
## Metric name that will be checked
|
||||||
metric = "cpu"
|
metric = "cpu"
|
||||||
## Description of the check
|
## Description of the check
|
||||||
description = "Check CPU"
|
description = "Check CPU"
|
||||||
## Name of the metric field which will be used to check
|
## Name of the metric field which will be used to check
|
||||||
field = "time_iowait"
|
field = "time_iowait"
|
||||||
## Expression is used to evaluate the alert
|
## Expression is used to evaluate the alert
|
||||||
expression = "> 50.0"
|
expression = "> 50.0"
|
||||||
`
|
`
|
||||||
|
|
||||||
func (p *PD) Connect() error {
|
func (p *PD) Connect() error {
|
||||||
|
|||||||
Reference in New Issue
Block a user