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

feat: have Bigtable match DynamoDB's metrics #627

Merged
merged 2 commits into from
Feb 20, 2024

Conversation

pjenvey
Copy link
Member

@pjenvey pjenvey commented Feb 20, 2024

(not including conversion errors which never occur)

Closes: SYNC-4150

@pjenvey pjenvey requested a review from jrconlin February 20, 2024 19:41
@@ -128,10 +134,6 @@ impl DualClientImpl {
} else {
(Box::new(&self.primary), true)
};
self.metrics
Copy link
Member Author

Choose a reason for hiding this comment

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

This was using the wrong metric label but it seemed too chatty to emit it for every single allot call, so I've moved this to emit its configured median only once at startup.

I think the combination of the added metrics/tags in this PR and the db's own metrics should give us a sense of what allot is doing anyway.

(not including conversion errors which never occur)

Closes: SYNC-4150
@pjenvey pjenvey force-pushed the feat/generic-db-metrics-SYNC-4150 branch from 85c4cd2 to 4c299ae Compare February 20, 2024 19:47
jrconlin
jrconlin previously approved these changes Feb 20, 2024
@jrconlin jrconlin merged commit 0ce81aa into master Feb 20, 2024
1 check passed
@jrconlin jrconlin deleted the feat/generic-db-metrics-SYNC-4150 branch February 20, 2024 20:28
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