Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metrics ¶
type Metrics struct { TotalWorkflow tally.Gauge TotalActiveWorkflow tally.Gauge TotalStaleWorkflow tally.Gauge ProcessDuration tally.Timer GetJobRuntimeFailure tally.Gauge }
func NewMetrics ¶
type WorkflowProgressCheck ¶
type WorkflowProgressCheck struct { JobFactory cached.JobFactory Metrics *Metrics Config *Config }
WorkflowProgressCheck checks if workflows are making progress periodically. And emit metrics if any workflow has not been updated within StaleWorkflowThreshold. It is used to catch potential slow workflow and bugs in the system.
func (*WorkflowProgressCheck) Check ¶
func (u *WorkflowProgressCheck) Check()
func (*WorkflowProgressCheck) Register ¶
func (u *WorkflowProgressCheck) Register(manager background.Manager) error
Click to show internal directories.
Click to hide internal directories.