Skip to content

refactor: remove metrics that are not useful or not written to#2941

Merged
miparnisari merged 1 commit intomainfrom
remove-unwritten-metrics
Mar 3, 2026
Merged

refactor: remove metrics that are not useful or not written to#2941
miparnisari merged 1 commit intomainfrom
remove-unwritten-metrics

Conversation

@miparnisari
Copy link
Contributor

No description provided.

@github-actions github-actions bot added area/datastore Affects the storage system area/dispatch Affects dispatching of requests labels Mar 3, 2026
@miparnisari miparnisari force-pushed the remove-unwritten-metrics branch from adb9e65 to b625384 Compare March 3, 2026 02:39
@codecov
Copy link

codecov bot commented Mar 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.58%. Comparing base (ea4dadf) to head (f0ef35b).
⚠️ Report is 2 commits behind head on main.

❌ Your project status has failed because the head coverage (74.58%) is below the target coverage (75.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2941      +/-   ##
==========================================
+ Coverage   74.53%   74.58%   +0.05%     
==========================================
  Files         489      489              
  Lines       60365    60356       -9     
==========================================
+ Hits        44986    45009      +23     
+ Misses      12229    12201      -28     
+ Partials     3150     3146       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@miparnisari miparnisari requested a review from josephschorr March 3, 2026 05:33
@miparnisari miparnisari marked this pull request as ready for review March 3, 2026 05:33
@miparnisari miparnisari requested a review from a team as a code owner March 3, 2026 05:33
queryChangefeedPreV22 = "EXPERIMENTAL CHANGEFEED FOR %s WITH updated, cursor = '%s', resolved = '%s';"
)

var retryHistogram = prometheus.NewHistogram(prometheus.HistogramOpts{
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI not written

CombinedChangeStreamName = "combined_change_stream"
)

var retryHistogram = prometheus.NewHistogram(prometheus.HistogramOpts{
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI not written

Buckets: []float64{1, 2, 3, 5, 10, 25, 100, 250},
})

var directDispatchQueryHistogram = prometheus.NewHistogram(prometheus.HistogramOpts{
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI not useful, metric can only take 2 values

@miparnisari miparnisari enabled auto-merge (squash) March 3, 2026 05:42
Copy link
Contributor

@tstirrat15 tstirrat15 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tstirrat15 tstirrat15 force-pushed the remove-unwritten-metrics branch from b625384 to f0ef35b Compare March 3, 2026 15:45
@miparnisari miparnisari merged commit b275f07 into main Mar 3, 2026
169 of 185 checks passed
@miparnisari miparnisari deleted the remove-unwritten-metrics branch March 3, 2026 17:43
@github-actions github-actions bot locked and limited conversation to collaborators Mar 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area/datastore Affects the storage system area/dispatch Affects dispatching of requests Skip-Changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants