Skip to content

Commit

Permalink
Add more granularity (boundaries) to workflow completed histogram
Browse files Browse the repository at this point in the history
  • Loading branch information
chudilka1 committed Feb 27, 2025
1 parent e4d6134 commit a8c0da4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/services/workflows/monitoring.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ func MetricViews() []sdkmetric.View {
sdkmetric.NewView(
sdkmetric.Instrument{Name: "platform_engine_workflow_completed_time_seconds"},
sdkmetric.Stream{Aggregation: sdkmetric.AggregationExplicitBucketHistogram{
Boundaries: []float64{0, 10, 30, 60, 120, 300, 600, 900, 1200},
// increased granularity for the workflow execution latencies near expected values
Boundaries: []float64{0, 10, 20, 40, 50, 70, 90, 120, 150, 180, 210, 300, 600, 900, 1200},
}},
),
sdkmetric.NewView(
Expand Down

0 comments on commit a8c0da4

Please sign in to comment.