Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DashboardData ¶ added in v0.1.8
type DashboardData struct {
Timestamp string `json:"timestamp"`
CurrentStats MonitorStats `json:"currentStats"`
ProblemRoutines []GoroutineTracker `json:"problemRoutines"`
MetricsHistory []MetricPoint `json:"metricsHistory"`
Categories map[string]int `json:"categories"`
Alerts []Alert `json:"alerts"`
}
type FilterConfig ¶ added in v0.1.8
type FilterConfig struct {
IgnorePatterns []string `json:"ignorePatterns"`
ProblematicPatterns []string `json:"problematicPatterns"`
StuckThreshold time.Duration `json:"stuckThreshold"`
DeadlockTimeout time.Duration `json:"deadlockTimeout"`
MaxHistoryPoints int `json:"maxHistoryPoints"`
}
Configuration for filtering patterns
type GoroutineTracker ¶ added in v0.1.8
type GoroutineTracker struct {
ID string `json:"id"`
GoroutineNumber int `json:"goroutineNumber"`
FirstSeen time.Time `json:"firstSeen"`
LastSeen time.Time `json:"lastSeen"`
Problem string `json:"problem"`
Location string `json:"location"`
FullStack string `json:"fullStack"`
State string `json:"state"`
StuckDuration string `json:"stuckDuration"`
Severity string `json:"severity"`
RootCause string `json:"rootCause"`
Solution string `json:"solution"`
FunctionName string `json:"functionName"`
LineNumber string `json:"lineNumber"`
BlockedOn string `json:"blockedOn"`
PossibleCauses []string `json:"possibleCauses"`
RealDuration time.Duration `json:"-"`
ScansSeen int `json:"-"`
IsActive bool `json:"-"`
WaitingSince time.Time `json:"-"`
LastStackHash string `json:"-"`
}
type MetricPoint ¶ added in v0.1.8
type MonitorMode ¶ added in v0.1.8
type MonitorMode int
const ( MonitorModeHTTP MonitorMode = iota MonitorModeLog MonitorModeFileHTML MonitorModeFileJSON )
type MonitorStats ¶ added in v0.1.8
Click to show internal directories.
Click to hide internal directories.