You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
634 B
Markdown
16 lines
634 B
Markdown
9 years ago
|
# Status and Diagnostics API
|
||
9 years ago
|
A status API exists, which dumps some basic diagnostic and statistical information, as well as basic information about the underlying Raft node. Assuming the rqlite node is started with default settings, node status is available like so:
|
||
9 years ago
|
|
||
|
```bash
|
||
|
curl localhost:4001/status?pretty
|
||
|
```
|
||
|
|
||
|
The use of the URL param `pretty` is optional, and results in pretty-printed JSON responses.
|
||
|
|
||
|
## expvar support
|
||
|
rqlite also exports [expvar](http://godoc.org/pkg/expvar/) information. The standard, and some custom information, is exposed. This data can be retrieved like so:
|
||
9 years ago
|
|
||
|
```bash
|
||
|
curl localhost:4001/debug/vars
|
||
|
```
|