Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unify metrics for blob size/history size/history count #6161

Merged

Conversation

3vilhamster
Copy link
Member

@3vilhamster 3vilhamster commented Jul 5, 2024

What changed?
I've introduced emitting metrics in history service handler so that we have one place that ensures logs and emits metrics for consumers.
These metrics are now emitted only during ConflictResolution and ContinueAsNew operations.

Why?
Customers require a clear signal on the size and count of histories and a clear pointer to specific workflows that are getting close to breaching the limit.

How did you test it?
Unit tests.

Potential risks

Release notes

Documentation Changes

Copy link

codecov bot commented Jul 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.67%. Comparing base (731cec6) to head (05f26b3).
Report is 1 commits behind head on master.

Additional details and impacted files
Files Coverage Δ
service/history/decision/checker.go 79.41% <100.00%> (+2.19%) ⬆️

... and 7 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dc05a78...05f26b3. Read the comment docs.

@3vilhamster 3vilhamster merged commit 1a86de7 into cadence-workflow:master Jul 8, 2024
20 checks passed
@3vilhamster 3vilhamster deleted the history-size-metrics branch July 8, 2024 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants