Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var UnsafeAllTaskStates = []string{
"waiting",
"finished",
"executing_query",
"failed",
"processing",
"checking_alerts",
"other",
}
UnsafeAllTaskStates represents task states
Functions ¶
Types ¶
type RedashPlugin ¶
RedashPlugin mackerel plugin
func (RedashPlugin) FetchMetrics ¶
func (p RedashPlugin) FetchMetrics() (map[string]interface{}, error)
FetchMetrics interface for mackerelplugin
func (RedashPlugin) GraphDefinition ¶
func (p RedashPlugin) GraphDefinition() map[string]mp.Graphs
GraphDefinition interface for mackerelplugin
func (RedashPlugin) MetricKeyPrefix ¶
func (p RedashPlugin) MetricKeyPrefix() string
MetricKeyPrefix interface for PluginWithPrefix
type UnsafeRedashStats ¶
type UnsafeRedashStats struct { WaitTasks []UnsafeTaskStats `json:"waiting"` DoneTasks []UnsafeTaskStats `json:"done"` InProgressTasks []UnsafeTaskStats `json:"in_progress"` }
UnsafeRedashStats represents a redash stats
type UnsafeTaskStats ¶
UnsafeTaskStats represents a task stats
Click to show internal directories.
Click to hide internal directories.