-
Notifications
You must be signed in to change notification settings - Fork 70
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
What is the meaning of the value returned by /debug endpoint? #163
Comments
Yes it's a performance metric to prepare the response. Mostly the /debug endpoint was for my debugging things in real-time as Fulcrum ran. So it spews forth lots of state information about the various objects and entities the app keeps track of. If you provide no parameters, it just spews forth the amount of time it took to prepare the page. I didn't document the debug endpoint at all -- but it accepts HTTP GET URL parameters to debug various subsystems. Here is a list of the parameters:
I hope this helps you understand the debug endpoint and how to use it. You can try it by hitting a URL e.g.:
|
Thanks a lot! Helpful information. I've tried to do it, but I got some issues:
It has not once succeeded. Just simple |
Yeah well on a server with clients connected that is busy, it times out and cannot return results. This is because the debug stuff is very low priority task. It really was for debugging when developing .. this is why it is not documented. You can't really use it on a "live" server that has clients or that is synching, etc. |
Ok, anyway thanks for your answer. |
Is your node busy synching? If it's synching the debug stuff never works because node is just too busy with higher priority work. If it's just serving requests, some of the But while synching.. never. :) |
Nope, my node is already synced :) |
Ah.. I see. Yeah debug is useless anyway unless you are ... developing for Fulcrum and want to verify the state it maintains is sane. |
Hi,
I didn't find the answer so I'm asking here.
What means the below value? Is it a performance metric? For sure, it's a time, but I don't know what that time describes.
The text was updated successfully, but these errors were encountered: