feat: sample recent business events
This commit is contained in:
@@ -200,7 +200,8 @@ func run() error {
|
||||
TaskStates: snapshot.TaskStates, TaskOldestAgeSeconds: snapshot.TaskOldestAgeSeconds,
|
||||
DeliveryStates: snapshot.DeliveryStates, DeliveryOldestAgeSeconds: snapshot.DeliveryOldestAgeSeconds,
|
||||
WorkflowStates: snapshot.WorkflowStates, WorkflowOldestAgeSeconds: snapshot.WorkflowOldestAgeSeconds,
|
||||
Truncated: snapshot.Truncated,
|
||||
RecentEvents: snapshot.RecentEvents,
|
||||
Truncated: snapshot.Truncated,
|
||||
}, started, err)
|
||||
if err != nil && metricsCtx.Err() == nil {
|
||||
reason := "query_error"
|
||||
|
||||
Reference in New Issue
Block a user