| stats | R Documentation |
Get etcd statistics
which |
(character) one of leader (default), self, or store |
pretty |
(logical) parse text to an R list, or not. Default: |
... |
Further args passed on to |
Prints a human readable text representation to console. If
pretty = TRUE (default), retunrs a list, but if pretty = FALSE
returns JSON data.
## Not run:
# make a client
cli <- etcd()
# leader stats
cli$stats()
# self stats
cli$stats("self")
# store stats
cli$stats("store")
# Prety or not
cli$stats(pretty = TRUE)
cli$stats(pretty = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.