Documentation ¶
Index ¶
Constants ¶
View Source
const ( PendingStatus = "pending" RunningStatus = "running" CanceledStatus = "canceled" FailedStatus = "failed" DoneStatus = "done" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArchivesCollector ¶
type ArchivesCollector struct {
// contains filtered or unexported fields
}
func NewArchivesCollector ¶
func NewArchivesCollector( namespace string, environment string, backendName string, ) *ArchivesCollector
func (ArchivesCollector) Collect ¶
func (c ArchivesCollector) Collect(ch chan<- prometheus.Metric)
func (ArchivesCollector) Describe ¶
func (c ArchivesCollector) Describe(ch chan<- *prometheus.Desc)
type InternalStatus ¶
type InternalStatus struct { PendingTasks []interface{} `json:"pending_tasks"` RunningTasks []interface{} `json:"running_tasks"` ScheduleQueue []interface{} `json:"schedule_queue"` RunQueue []interface{} `json:"run_queue"` }
type JobsCollector ¶
type JobsCollector struct {
// contains filtered or unexported fields
}
func NewJobsCollector ¶
func NewJobsCollector( namespace string, environment string, backendName string, ) *JobsCollector
func (JobsCollector) Collect ¶
func (c JobsCollector) Collect(ch chan<- prometheus.Metric)
func (JobsCollector) Describe ¶
func (c JobsCollector) Describe(ch chan<- *prometheus.Desc)
type RetentionPoliciesCollector ¶
type RetentionPoliciesCollector struct {
// contains filtered or unexported fields
}
func NewRetentionPoliciesCollector ¶
func NewRetentionPoliciesCollector( namespace string, environment string, backendName string, ) *RetentionPoliciesCollector
func (RetentionPoliciesCollector) Collect ¶
func (c RetentionPoliciesCollector) Collect(ch chan<- prometheus.Metric)
func (RetentionPoliciesCollector) Describe ¶
func (c RetentionPoliciesCollector) Describe(ch chan<- *prometheus.Desc)
type SchedulesCollector ¶
type SchedulesCollector struct {
// contains filtered or unexported fields
}
func NewSchedulesCollector ¶
func NewSchedulesCollector( namespace string, environment string, backendName string, ) *SchedulesCollector
func (SchedulesCollector) Collect ¶
func (c SchedulesCollector) Collect(ch chan<- prometheus.Metric)
func (SchedulesCollector) Describe ¶
func (c SchedulesCollector) Describe(ch chan<- *prometheus.Desc)
type StatusCollector ¶
type StatusCollector struct {
// contains filtered or unexported fields
}
func NewStatusCollector ¶
func NewStatusCollector( namespace string, environment string, backendName string, ) *StatusCollector
func (StatusCollector) Collect ¶
func (c StatusCollector) Collect(ch chan<- prometheus.Metric)
func (StatusCollector) Describe ¶
func (c StatusCollector) Describe(ch chan<- *prometheus.Desc)
type StoresCollector ¶
type StoresCollector struct {
// contains filtered or unexported fields
}
func NewStoresCollector ¶
func NewStoresCollector( namespace string, environment string, backendName string, ) *StoresCollector
func (StoresCollector) Collect ¶
func (c StoresCollector) Collect(ch chan<- prometheus.Metric)
func (StoresCollector) Describe ¶
func (c StoresCollector) Describe(ch chan<- *prometheus.Desc)
type TargetsCollector ¶
type TargetsCollector struct {
// contains filtered or unexported fields
}
func NewTargetsCollector ¶
func NewTargetsCollector( namespace string, environment string, backendName string, ) *TargetsCollector
func (TargetsCollector) Collect ¶
func (c TargetsCollector) Collect(ch chan<- prometheus.Metric)
func (TargetsCollector) Describe ¶
func (c TargetsCollector) Describe(ch chan<- *prometheus.Desc)
type TasksCollector ¶
type TasksCollector struct {
// contains filtered or unexported fields
}
func NewTasksCollector ¶
func NewTasksCollector( namespace string, environment string, backendName string, ) *TasksCollector
func (TasksCollector) Collect ¶
func (c TasksCollector) Collect(ch chan<- prometheus.Metric)
func (TasksCollector) Describe ¶
func (c TasksCollector) Describe(ch chan<- *prometheus.Desc)
Click to show internal directories.
Click to hide internal directories.