Skip to contents

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

Examples

if (interactive() && cds_token_works()) {
  cds_account_metrics()
}