Question: Is there an interface or method for the indicators of GreptimeDB?
Hi,I'm not sure if I have correctly understood your question. Do you mean 'metrics'?
The Java client listens on the SIGUSR2 signal, you can get metrics data through 'kill -s SIGUSR2'. For detailed information, please refer to the following document:
https://docs.greptime.com/reference/sdk/java#how-to-use-kill-s-sigusr2-pid
I think @ZY945 meant the GreptimeDB metrics, you can find them at the http://ip:4000/metrics endpoint, the ip is your greptimedb server ip.
Thank you for your answers. APIs like this http://ip:4000/metrics
Hi,I'm not sure if I have correctly understood your question. Do you mean 'metrics'?
The Java client listens on the SIGUSR2 signal, you can get metrics data through 'kill -s SIGUSR2'. For detailed information, please refer to the following document:
https://docs.greptime.com/reference/sdk/java#how-to-use-kill-s-sigusr2-pid
kill -s SIGUSR2 pid Thank you very much. This is a good method. Will it affect the normal use of greptimedb?
Hi,I'm not sure if I have correctly understood your question. Do you mean 'metrics'? The Java client listens on the SIGUSR2 signal, you can get metrics data through 'kill -s SIGUSR2'. For detailed information, please refer to the following document: https://docs.greptime.com/reference/sdk/java#how-to-use-kill-s-sigusr2-pid
kill -s SIGUSR2 pid Thank you very much. This is a good method. Will it affect the normal use of greptimedb?
It won't affect the normal running of the GreptimeDB client , it merely outputs some information.