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:
1 parent
afacb07140
commit
144d3f3e3d
3 files changed
+24
-2
No files matched your search
@@ -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