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 database information to telemetry data #4675

Closed

Conversation

RickiNano
Copy link
Contributor

Adds telemetry information about the type of database backend the node is using.
The telemetry RPC function reports both individual database backend information or consolidated (average). The reported database backend for each node will be either 'RocksDb' , 'LMDB' or "Unknown".
'Unknown' is for nodes running v26.1 or earlier that does not send any database information in telemetry data.

@pwojcikdev
Copy link
Contributor

pwojcikdev commented Jul 9, 2024

I added a testcase that ensures proper telemetry serialization, which currently fails. It's a bit concerning that existing tests don't ensure that telemetry is correctly transmitted between nodes.

I also noticed that we're missing testcases for serialization of telemetry_ack & telemetry_req messages, which might need some additional modifications to make this work correctly, not sure.

@pwojcikdev pwojcikdev force-pushed the Telemetry-db-backend branch 2 times, most recently from e6176f0 to f0f46a0 Compare July 10, 2024 10:59
@RickiNano RickiNano marked this pull request as draft July 14, 2024 08:36
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.

2 participants