feat: expose effective runtime settings in metrics
This commit is contained in:
@@ -63,6 +63,12 @@ func run() error {
|
||||
}
|
||||
defer metricsListener.Close()
|
||||
metrics = observability.NewRegistry()
|
||||
metrics.RecordRuntimeConfig(observability.RuntimeConfig{
|
||||
WorkflowTickInterval: cfg.WorkflowTickInterval,
|
||||
ScheduleTickInterval: cfg.ScheduleTickInterval,
|
||||
RecoveryTickInterval: cfg.RecoveryTickInterval,
|
||||
BatchLimit: cfg.RuntimeBatchLimit,
|
||||
})
|
||||
metrics.RecordDatabase(db.Stats())
|
||||
}
|
||||
ready := func(ctx context.Context) error {
|
||||
|
||||
Reference in New Issue
Block a user