Obtain account metrics that can be interpreted with Prometheus
Usage
cds_account_metrics(token = cds_get_token(), ...)Arguments
- token
An API key to be used for authentication. Will use
cds_get_token()by default.- ...
Ignored
Value
Returns text that can be interpreted with Prometheus
See also
Other authentication-functions:
cds_check_authentication(),
cds_get_account(),
cds_get_token()
Examples
if (interactive() && cds_token_works()) {
cds_account_metrics()
}