Skip to content

Document that --json is ignored by org/service prometheus commands #607

Description

@sdairs

Discovered during v0.4.2 post-merge stress testing.

cloud org prometheus <id> --json and cloud service prometheus <id> --json accept the flag but silently emit raw Prometheus exposition text (exit 0, not parseable as JSON).

Emitting Prometheus text is the correct behavior (transforming it to JSON would lose the format contract) — but --json being silently accepted is confusing, especially for agent consumers that expect parseable JSON.

Expected

State in the --help text for both commands that --json is ignored / output is always Prometheus text format.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

cloudAffects cloud CLI commandsdocumentationImprovements or additions to documentation

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions