We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 021871b commit dab2264Copy full SHA for dab2264
dns.go
@@ -2,10 +2,8 @@ package cachet
2
3
import (
4
"net"
5
-
6
- "strings"
7
8
"regexp"
+ "strings"
9
10
"github.com/Sirupsen/logrus"
11
"github.com/miekg/dns"
monitor.go
@@ -50,10 +50,10 @@ type AbstractMonitor struct {
50
51
// lag / average(lagHistory) * 100 = percentage above average lag
52
// PerformanceThreshold sets the % limit above which this monitor will trigger degraded-performance
53
- PerformanceThreshold float32
+ // PerformanceThreshold float32
54
55
- history []bool
56
- lagHistory []float32
+ history []bool
+ // lagHistory []float32
57
lastFailReason string
58
incident *Incident
59
config *CachetMonitor
0 commit comments