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
Reading Realm sizes from a /__metrics Realm #1028
Conversation
c436e66
to
6d8c262
Compare
6d8c262
to
624a603
Compare
I updated the screenshots to match the current state of this PR, holding back on releasing this until I'm sure the Cloud instances run with state size reporting turned on. |
Has this change been released? In the version of the app I can download (3.5.0) on a Mac, I cannot see the size columns shown above. I am connecting to a realm hosted ROS and have tried to clean and reinstall the app, but nothing I do seems to show the columns shown above I think I found the answer and apologies for not finding it before, but unless I am wrong, this feature is not available for Realm hosted ROS instances: |
These columns will only show if a non-empty |
@kraenhansen does this need manual configuration? Can't find any doc about this. The size column is also not showing up for me, same as @robowen5mac, how can I make it visible? |
Are you connecting to an instance running in the Realm Cloud? |
Yes, it's running in Realm Cloud. So there's no way to see the size of Realms? |
@jeanbaptistebeau You can use the ProgressNotification API to get the amount of data to be downloaded - |
@ianpward Oh yeah that will work, thanks! |
Together with https://github.com/realm/realm-object-server-private/pull/1361 this fixes #938.
It also fixes #917, showing the connection state for the and #396 for the ServerAdministration window.
It also adds usage of the react-realm-context library to the ServerAdministration window.
I've added a note to the release notes on the dependency on a new version of the server, but since this is fixing a broken feature I don't consider that a breaking change.
Table of Realms with a single size column
Note how both data (state) and file size is shown in a single column. Hovering either reveals a tooltip so users can determine which is which. Also note the green connection state indicator in the top right corner of the window.
Selecting a Realm with a size
Note both sizes on the same line and the "Recalculate size" button was moved to the controls section of the sidebar.
Selecting a Realm without a size