mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
chore: record lifecycle duration metric to prometheus (#15279)
`autobuild_execution_duration_seconds` keeps track of how long autobuild takes and exposes it via prometheus histogram
This commit is contained in:
@ -335,6 +335,7 @@ func NewOptions(t testing.TB, options *Options) (func(http.Handler), context.Can
|
||||
ctx,
|
||||
options.Database,
|
||||
options.Pubsub,
|
||||
prometheus.NewRegistry(),
|
||||
&templateScheduleStore,
|
||||
&auditor,
|
||||
accessControlStore,
|
||||
|
Reference in New Issue
Block a user