Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( JobIDLabel = "job_id" JobStatusCodeLabel = "status_code" )
Functions ¶
This section is empty.
Types ¶
type JobWorker ¶
type Metrics ¶
type Metrics interface { IncJobs() IncJobRequestCount(id string, status int) ObserveJobRequestDurations(id string, status int, duration time.Duration) }
func NewMetricsStore ¶
func NewMetricsStore() Metrics
type WorkerRuntime ¶
type WorkerRuntime interface { Connect() error Handle() Close() }
func NewRuntime ¶
Click to show internal directories.
Click to hide internal directories.