2 ms·
@CockroachDB dev: Has CockroachDB some health status page or REST api? (like Nginx/Apache/Redis/Memcached or a special table like MySQL) It would be helpful t
by frik 9y ago
@CockroachDB dev:
Has CockroachDB some health status page or REST api? (like Nginx/Apache/Redis/Memcached or a special table like MySQL)
It would be helpful to monitor the CockroachDB database in production.
I see there is some feature inbuild, but it only sends that data home to your server for analytics. (can be turned off) https://www.cockroachlabs.com/docs/diagnostics-reporting.html https://www.cockroachlabs.com/docs/diagnostics-reporting.htm...
- d4l3k 9y agoCockroachDB has a rather nice admin interface that monitors the health of the cluster. https://www.cockroachlabs.com/docs/explore-the-admin-ui.html https://www.cockroachlabs.com/docs/explore-the-admin-ui.html There's also a lot of rpc end points used for the admin UI that can be queried to get more fine grain info. However, they're primarily for internal use and might change in the future. https://github.com/cockroachdb/cockroach/blob/master/pkg/server/serverpb/status.proto#L242 https://github.com/cockroachdb/cockroach/blob/master/pkg/ser... https://github.com/cockroachdb/cockroach/blob/master/pkg/server/serverpb/admin.proto#L367 https://github.com/cockroachdb/cockroach/blob/master/pkg/ser...
- state_machine 9y agoWe're still working on integration with other monitoring systems, but the one we've tested the most and documented is prometheus: https://www.cockroachlabs.com/docs/monitor-cockroachdb-with-prometheus.html https://www.cockroachlabs.com/docs/monitor-cockroachdb-with-... Additionally, you can get some of the same status info on the dashboard using the `node status` command (https://www.cockroachlabs.com/docs/view-node-details.html https://www.cockroachlabs.com/docs/view-node-details.html).