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: handle peer count metric #25

Merged
merged 1 commit into from
Jul 11, 2024
Merged

feat: handle peer count metric #25

merged 1 commit into from
Jul 11, 2024

Conversation

adklempner
Copy link
Collaborator

@adklempner adklempner commented Jul 3, 2024

Adds table and struct for handling peer count metric

Related to #21

@adklempner adklempner marked this pull request as ready for review July 3, 2024 00:32
@@ -0,0 +1,10 @@
CREATE TABLE IF NOT EXISTS peerCount (
Copy link
Contributor

Choose a reason for hiding this comment

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

would we have table per metric?

Copy link
Member

Choose a reason for hiding this comment

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

That is what we have now - each metric type gets own table - receivedEnvelopes, pushedEnvelopes...

https://github.com/status-im/telemetry/blob/master/telemetry/sql/000005_pushed_envelope.up.sql

@adklempner adklempner merged commit 7ed524e into master Jul 11, 2024
2 of 3 checks passed
@adklempner adklempner deleted the feat/peer-count branch July 11, 2024 22:13
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.

3 participants