Skip to content

[docs] Document --search option for aspire logs and aspire otel commands - #1110

Closed
aspire-repo-bot[bot] wants to merge 1 commit into
release/13.4from
docs/cli-search-option-17568-e321e1f2c8a56a3a
Closed

[docs] Document --search option for aspire logs and aspire otel commands#1110
aspire-repo-bot[bot] wants to merge 1 commit into
release/13.4from
docs/cli-search-option-17568-e321e1f2c8a56a3a

Conversation

@aspire-repo-bot

Copy link
Copy Markdown
Contributor

Documents changes from microsoft/aspire#17568.

Author: @JamesNK

Target branch: Targeting release/13.4 based on the source PR milestone 13.4.

Why this PR is needed

The --search option was added to the aspire logs and aspire otel (logs, spans, traces) commands but was not documented in the CLI reference. PR microsoft/aspire#17568 updated the CLI help text for the --search option to clarify that it supports full-text search and field filters, and added a link to (aka.ms/redacted) This PR adds the --search` option to the corresponding documentation pages.

Changes

Updated pages

  • src/frontend/src/content/docs/reference/cli/commands/aspire-logs.mdx — Added --search option and a search example
  • src/frontend/src/content/docs/reference/cli/commands/aspire-otel-logs.mdx — Added --search option and a search example
  • src/frontend/src/content/docs/reference/cli/commands/aspire-otel-spans.mdx — Added --search option
  • src/frontend/src/content/docs/reference/cli/commands/aspire-otel-traces.mdx — Added --search option

Generated by PR Documentation Check for issue #17568 · ● 21.7M ·

Add the --search option to the CLI reference documentation for:
- aspire logs
- aspire otel logs
- aspire otel spans
- aspire otel traces

The --search option supports full-text search and field filters, with
a reference link to https://aka.ms/aspire/cli-search for full syntax
details.

Documents changes from microsoft/aspire#17568.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Documents the newly added --search option for Aspire CLI log/telemetry commands so the CLI reference matches the updated help text from microsoft/aspire#17568.

Changes:

  • Added --search <search> option documentation to aspire logs and aspire otel (logs/spans/traces) command reference pages.
  • Added concrete --search usage examples to the aspire logs and aspire otel logs pages.
  • Linked to the CLI search syntax documentation (https://aka.ms/aspire/cli-search) from each affected command page.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
src/frontend/src/content/docs/reference/cli/commands/aspire-logs.mdx Documented --search and added a search example for aspire logs.
src/frontend/src/content/docs/reference/cli/commands/aspire-otel-logs.mdx Documented --search and added a search example for aspire otel logs.
src/frontend/src/content/docs/reference/cli/commands/aspire-otel-spans.mdx Documented --search for aspire otel spans.
src/frontend/src/content/docs/reference/cli/commands/aspire-otel-traces.mdx Documented --search for aspire otel traces.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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

Labels

docs-from-code Copilot initiated issue from dotnet/aspire repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants