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

add endpoint for message counts by fid #149

Merged
merged 1 commit into from
Dec 10, 2024
Merged

Conversation

aditiharini
Copy link
Contributor

It's useful to have visibility into which message types have differing counts for reach fid to validate the migration.

❯ grpcurl -plaintext -proto src/proto/rpc.proto -import-path src/proto -d '{"fid": 503}' 127.0.0.1:3383 HubService/GetInfoByFid
{
  "numMessagesByMessageType": {
    "1": "100",
    "2": "0",
    "3": "386",
    "4": "17",
    "5": "97",
    "6": "0",
    "7": "0",
    "8": "0",
    "11": "0",
    "12": "0",
    "13": "0",
    "14": "0"
  }
}

@aditiharini aditiharini marked this pull request as ready for review December 10, 2024 17:58
@aditiharini aditiharini merged commit 2305f82 into main Dec 10, 2024
2 checks passed
@aditiharini aditiharini deleted the add-stats-by-fid-endpoint branch December 10, 2024 18:06
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.

1 participant