Skip to content

CPS: Inspector lists linked projects searched by the query#5425

Merged
florent-leborgne merged 7 commits intocps-tech-previewfrom
cps/686-inspector-projects
Mar 23, 2026
Merged

CPS: Inspector lists linked projects searched by the query#5425
florent-leborgne merged 7 commits intocps-tech-previewfrom
cps/686-inspector-projects

Conversation

@florent-leborgne
Copy link
Contributor

@florent-leborgne florent-leborgne commented Mar 10, 2026

Summary

Updates the shared Inspector snippet (_snippets/inspect-request.md) to mention CPS alongside CCS in the "Clusters and shards" tab description. When either feature is active, this tab shows the remote clusters or linked projects that were searched.

Also fixes an inaccuracy: the tab is available for ES|QL queries (confirmed via manual testing with CPS), so the limitation note now only mentions Vega visualizations.

Since this is a shared snippet, the change automatically applies to both the Discover and Dashboards documentation pages.

Closes elastic/docs-content-internal#686

Test plan

  • Verify the snippet renders correctly in both explore-analyze/dashboards/using and explore-analyze/discover/discover-get-started
  • Confirm "Clusters and shards" tab works with ES|QL queries when CPS is active
  • Check cross-links to CCS and CPS pages resolve correctly

Generative AI disclosure

  1. Did you use a generative AI (GenAI) tool to assist in creating this contribution?
  • Yes
  • No
  1. If you answered "Yes" to the previous question, please specify the tool(s) and model(s) used (e.g., Google Gemini, OpenAI ChatGPT-4, etc.).

Tool(s) and model(s) used: Claude (Cursor)

Made with Cursor

Add a serverless-preview note explaining that when CPS is active, the
"Clusters and shards" tab lists the linked projects searched by the
query, identified by their project alias.

Closes #686

Made-with: Cursor
@github-actions
Copy link
Contributor

github-actions bot commented Mar 10, 2026

✅ Vale Linting Results

No issues found on modified lines!


The Vale linter checks documentation changes against the Elastic Docs style guide.

To use Vale locally or report issues, refer to Elastic style guide for Vale.

Eliminate two successive note directives by folding the CPS info
(with inline applies_to) and the ES|QL/Vega limitation into the
Clusters and shards bullet point description.

Made-with: Cursor
The tab appears for ES|QL queries when CPS (or CCS) is active because
the response includes _clusters. Confirmed via manual testing. Keep
the Vega limitation only.

Made-with: Cursor
@florent-leborgne florent-leborgne marked this pull request as ready for review March 23, 2026 17:58
@florent-leborgne florent-leborgne requested review from a team as code owners March 23, 2026 17:58
@florent-leborgne florent-leborgne merged commit 8bd157b into cps-tech-preview Mar 23, 2026
3 checks passed
@florent-leborgne florent-leborgne deleted the cps/686-inspector-projects branch March 23, 2026 17:59
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.

1 participant