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

Contract Pruning Metrics #770

Merged
merged 22 commits into from
Dec 6, 2023

Conversation

peterjan
Copy link
Member

@peterjan peterjan commented Nov 28, 2023

This PR adds pruning metrics, as well as an integration test that covers all metrics we added so far.

@peterjan peterjan self-assigned this Nov 28, 2023
api/metrcis.go Outdated
@@ -10,6 +10,7 @@ const (
ChurnDirAdded = "added"
ChurnDirRemoved = "removed"

MetricContractPrune = "contractprune"
Copy link
Member Author

Choose a reason for hiding this comment

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

I don't like both the metric name and the database table name. I wonder whether it makes sense to call it pruning... I don't like that it's not scoped but then otoh churn isn't either. Pruning is a broader term though.

@peterjan peterjan marked this pull request as ready for review November 30, 2023 15:21
api/metrcis.go Outdated Show resolved Hide resolved
@ChrisSchinnerl ChrisSchinnerl merged commit cb5030f into pj/contract-pruning Dec 6, 2023
6 checks passed
@ChrisSchinnerl ChrisSchinnerl deleted the pj/contract-pruning-metrics branch December 6, 2023 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants