Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metrics v3 help for --bucket seems incorrect #4988

Closed
feorlen opened this issue Jul 16, 2024 · 0 comments
Closed

Metrics v3 help for --bucket seems incorrect #4988

feorlen opened this issue Jul 16, 2024 · 0 comments
Labels

Comments

@feorlen
Copy link
Contributor

feorlen commented Jul 16, 2024

Using a recent build from master, the help text for mc admin prometheus metrics says --bucket is for v3 metric type bucket. Seems like it should be api instead?

METRIC-TYPE:
  valid values are
    api-version v3 ["api", "system", "debug", "cluster", "ilm", "audit", "logger", "replication", "notification", "scanner"]. 
  --bucket value                bucket name to list metrics for. only applicable with api version v3 for metric type 'bucket'
$ ./mc admin prometheus metrics play bucket --api-version v3
mc: <ERROR> invalid metric type `bucket`. valid values are `api, audit, cluster, debug, ilm, logger, notification, replication, scanner, system`. Invalid arguments provided, please refer `mc <command> -h` for relevant documentation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants