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

Bump dependencies, progenitor to 96e977ac, oxide.json to omicron:289146b1 #934

Merged
merged 17 commits into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 21 additions & 21 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

110 changes: 81 additions & 29 deletions cli/docs/cli.json
Original file line number Diff line number Diff line change
Expand Up @@ -909,6 +909,81 @@
}
]
},
{
"name": "system",
"args": [
{
"long": "profile",
"help": "Configuration profile to use for commands",
"global": true
}
],
"subcommands": [
{
"name": "timeseries",
"args": [
{
"long": "profile",
"help": "Configuration profile to use for commands",
"global": true
}
],
"subcommands": [
{
"name": "query",
"about": "Run timeseries query",
"long_about": "Queries are written in OxQL.",
"args": [
{
"long": "json-body",
"help": "Path to a file that contains the full json body."
},
{
"long": "json-body-template",
"help": "XXX"
},
{
"long": "profile",
"help": "Configuration profile to use for commands",
"global": true
},
{
"long": "query",
"help": "A timeseries query string, written in the Oximeter query language."
}
]
},
{
"name": "schema",
"args": [
{
"long": "profile",
"help": "Configuration profile to use for commands",
"global": true
}
],
"subcommands": [
{
"name": "list",
"about": "List timeseries schemas",
"args": [
{
"long": "limit",
"help": "Maximum number of items returned by a single call"
},
{
"long": "profile",
"help": "Configuration profile to use for commands",
"global": true
}
]
}
]
}
]
}
]
},
{
"name": "timeseries",
"args": [
Expand Down Expand Up @@ -941,8 +1016,8 @@
},
{
"name": "query",
"about": "Run timeseries query",
"long_about": "Queries are written in OxQL.",
"about": "Run project-scoped timeseries query",
"long_about": "Queries are written in OxQL. Project must be specified by name or ID in URL query parameter. The OxQL query will only return timeseries data from the specified project.",
"args": [
{
"long": "json-body",
Expand All @@ -957,38 +1032,15 @@
"help": "Configuration profile to use for commands",
"global": true
},
{
"long": "project",
"help": "Name or ID of the project"
},
{
"long": "query",
"help": "A timeseries query string, written in the Oximeter query language."
}
]
},
{
"name": "schema",
"args": [
{
"long": "profile",
"help": "Configuration profile to use for commands",
"global": true
}
],
"subcommands": [
{
"name": "list",
"about": "List timeseries schemas",
"args": [
{
"long": "limit",
"help": "Maximum number of items returned by a single call"
},
{
"long": "profile",
"help": "Configuration profile to use for commands",
"global": true
}
]
}
]
}
]
}
Expand Down
7 changes: 5 additions & 2 deletions cli/src/cli_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -577,8 +577,11 @@ fn xxx<'a>(command: CliCommand) -> Option<&'a str> {
CliCommand::ProbeView => Some("experimental probe view"),

// Metrics-related subcommands
CliCommand::SystemTimeseriesQuery => Some("experimental timeseries query"),
CliCommand::SystemTimeseriesSchemaList => Some("experimental timeseries schema list"),
CliCommand::TimeseriesQuery => Some("experimental timeseries query"),
CliCommand::SystemTimeseriesQuery => Some("experimental system timeseries query"),
CliCommand::SystemTimeseriesSchemaList => {
Some("experimental system timeseries schema list")
}

// Commands not yet implemented
CliCommand::DeviceAccessToken
Expand Down
Loading
Loading