-
Notifications
You must be signed in to change notification settings - Fork 11.3k
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
rpc benchmark: handle JSON RPC cursor breaking change #21099
base: grafana-pull
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
2 Skipped Deployments
|
18e6fe3
to
8636f5c
Compare
const WALLET_HOST_PREFIX: &str = "wallet"; | ||
|
||
#[derive(Debug, Serialize, Deserialize)] | ||
struct LogEntry { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this struct is technically duplicate with the one in pull_grafana_logs, leaving it here so that
- no extra dependencies for simplicity
- the dup is minimal and I do not expect many incremental changes looking forward so it not much of extra burden to carry
8636f5c
to
5ff536b
Compare
use tracing::{debug, info}; | ||
|
||
const METHODS_TO_AGGREGATE: [&str; 3] = | ||
["suix_getOwnedObjects", "suix_getAllCoins", "suix_getCoins"]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
confirmed with @emmazzz that Balance is not affected, lemme know in case I missed other methods.
5ff536b
to
85f8a18
Compare
Description
["suix_getOwnedObjects", "suix_getAllCoins", "suix_getCoins"]
based on both method and params except cursor and limits.Test plan
local run of grafana_pull_logs and process_jsonl scripts locally, example output lines are like
Release notes
Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.
For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.