-
Notifications
You must be signed in to change notification settings - Fork 235
Update hubble e2e example to create visualization tutorial #1065
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
Conversation
|
Preview is available here: |
sydneynotthecity
left a comment
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.
I would also update the Create a Dashboard Analyzing Soroban Metrics to something like Create a Report in Looker Studio. That will give us the flexibility to either add sections for different tooling (Dune? python libraries? etc) while keeping the tutorial generic.
Also review Step #5 under Use Custom SQL... the markdown formatting is funky and blocks the incorrect words.
Lastly, should step #7 onward be its own section? Applying a Global Filter or something similar. These steps context switch without any transition which is confusing
| @@ -1,8 +1,10 @@ | |||
| --- | |||
| title: "End to End Analysis Example" | |||
| title: "Creating Visualizations Tutorial" | |||
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.
nit: I would drop Tutorial
Maybe in future we add a Tutorials section this would go under
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.
updated in c560544
|
|
||
| By the end of the tutorial you will have created two graphs that will help visualize temporary VS persistent contract data entry distribution and expiration. | ||
|
|
||
| <img src={hubble_visualization_demo} width="1000" /> |
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.
Love the gif, it really shows the end user how they can customize their visuals.
wdyt about dropping the hubble_visualization_final? it's kinda weird to me to include both at the top, feels duplicative
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.
Hmm yeah I'll drop it
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.
updated in c560544
| <img src={hubble_visualization_demo} width="1000" /> | ||
| <img src={hubble_visualization_final} width="500" /> | ||
|
|
||
| As you can see, persistent contract data entries account for roughly 25% of all contract data entries with the rest being temporary. There are also a lot more expired temporary contract data entries. This is expected because temporay entries cannot be bumped whereas persistent entries can be bumped/restored. Please see [State Archival - Contract Data Type Descriptions](https://developers.stellar.org/docs/learn/encyclopedia/storage/state-archival#contract-data-type-descriptions) for more information. |
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.
nit: I would reword the last sentence:
For more information, you can read about [State Archival and the Contract Data Lifecycle].
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.
updated in c560544
| :::note | ||
|
|
||
| Note that between `2024-02-01` and `2024-06-30` there aren't that many expired persistent entries | ||
| Note that between `2024-02-01` and `2024-10-31` there aren't that many expired persistent entries |
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.
Why does this matter? Curious what we're trying to highlight with the note
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.
I was trying to warn that the differences between temp and persistent expiration is pretty large. But yeah that point isn't necessary for this tutorial
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.
updated in c560544
|
Preview is available here: |
Update hubble e2e example to create visualization tutorial
Creating Visualizations Tutorial