Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunApplication ¶
func RunApplication(port int)
In RunApplication, start the metrics updater before listening for connections.
Types ¶
type Metrics ¶ added in v1.4.1
type Metrics struct {
PID int `json:"pid"`
ActiveWorkflows int `json:"activeWorkflows"`
TotalWorkflowsStarted int `json:"totalWorkflowsStarted"`
TotalWorkflowsCompleted int `json:"totalWorkflowsCompleted"`
TotalWorkflowsFailed int `json:"totalWorkflowsFailed"`
Durations []float64 `json:"durations"`
CPUUsage []float64 `json:"cpuUsage"`
MemoryUsage []float64 `json:"memoryUsage"`
Params string `json:"params"`
RuntimeDuration int `json:"runtimeDuration"`
StartTimestamp int64 `json:"startTimestamp"`
}
Add Metrics type for dashboard compatibility
Click to show internal directories.
Click to hide internal directories.