Skip to content

Commit

Permalink
Add more granularity (boundaries) to workflow completed histogram (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
chudilka1 authored Feb 27, 2025
1 parent f4ad216 commit b6c5536
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/stale-birds-tan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": minor
---

#changed: Add more granularity for workflow completed histogram metric around expected values
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 b6c5536

Please sign in to comment.