Skip to content

docs(metrics): list known metric names in --metric help text (DX-5700)#32

Merged
johnpmitsch merged 1 commit into
mainfrom
dx-5700-list-all-known-metric-names-in-metric-help-text
Jun 13, 2026
Merged

docs(metrics): list known metric names in --metric help text (DX-5700)#32
johnpmitsch merged 1 commit into
mainfrom
dx-5700-list-all-known-metric-names-in-metric-help-text

Conversation

@johnpmitsch

Copy link
Copy Markdown
Collaborator

Summary

  • List the known metric names (method_calls_over_time, metered_endpoint_data_over_time, metered_endpoint_credits_over_time, credits_over_time) in the --metric help text for qn endpoint metrics, qn metrics account, and qn metrics endpoint.
  • Keep the existing response_status_breakdown example on the endpoint-scoped commands.
  • Help text only — no validation change; the API remains the source of truth for accepted values.

Closes DX-5700

Test plan

  • cargo test — 223 passed, 0 failed
  • cargo clippy --all-targets -- -D warnings — clean
  • cargo fmt --check — clean
  • Manually verified qn metrics account --help and qn endpoint metrics --help render the full list

The --metric flag help was uneven: 'qn endpoint metrics' showed only two
example names, and 'qn metrics account' / 'qn metrics endpoint' gave no
examples at all. List the known metric names (method_calls_over_time,
metered_endpoint_data_over_time, metered_endpoint_credits_over_time,
credits_over_time) on all three, keeping response_status_breakdown on
the endpoint-scoped commands. Help text only; no validation change.

223 tests pass.
@johnpmitsch johnpmitsch merged commit 6d43e54 into main Jun 13, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants