Documentation
¶
Overview ¶
Package server provides a cron job to fetch metrics from Prometheus.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CronJob ¶
func WrapCronJobWithMetrics ¶
WrapCronJobWithMetrics 包装一个 CronJob,使其执行时自动上报 metrics
type Option ¶
type Option func(*cronJobServer)
func WithCronJobChannel ¶
func WithCronJobs ¶
func WithRemoveJobChannel ¶
Click to show internal directories.
Click to hide internal directories.