Documentation
¶
Index ¶
- func DBNotificationThread(ctx context.Context, w Worker)
- func NewGoCronLogger() gocron.Logger
- func NewScheduler() gocron.Scheduler
- func PrometheusListenerThread()
- func RegisterAgent(pool db.PgxIface, provider string)
- type DebugMonitor
- func (d *DebugMonitor) IncrementJob(id uuid.UUID, name string, tags []string, status gocron.JobStatus)
- func (d *DebugMonitor) RecordJobTiming(startTime, endTime time.Time, id uuid.UUID, name string, tags []string)
- func (d *DebugMonitor) RecordJobTimingWithStatus(startTime, endTime time.Time, id uuid.UUID, name string, tags []string, ...)
- type PrometheusMonitor
- type Worker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DBNotificationThread ¶
func NewGoCronLogger ¶ added in v1.3.0
func NewScheduler ¶ added in v1.3.0
func PrometheusListenerThread ¶
func PrometheusListenerThread()
func RegisterAgent ¶
Types ¶
type DebugMonitor ¶ added in v1.3.1
type DebugMonitor struct{}
func (*DebugMonitor) IncrementJob ¶ added in v1.3.1
func (*DebugMonitor) RecordJobTiming ¶ added in v1.3.1
type PrometheusMonitor ¶ added in v1.3.0
type PrometheusMonitor struct {
// contains filtered or unexported fields
}
func NewPrometheusMonitor ¶ added in v1.3.0
func NewPrometheusMonitor() *PrometheusMonitor
func (PrometheusMonitor) IncrementJob ¶ added in v1.3.0
func (PrometheusMonitor) RecordJobTiming ¶ added in v1.3.0
Click to show internal directories.
Click to hide internal directories.