Skip to content

Show CollectionDeclaration feedback under Agent - #6

Merged
aacevedoosorio merged 9 commits into
mainfrom
sts-828
Nov 20, 2026
Merged

aacevedoosorio merged 9 commits into
mainfrom
sts-828

Conversation

@aacevedoosorio

@aacevedoosorio aacevedoosorio commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Show current-generation CollectionDeclaration feedback under Agent > Collection Declarations. Place Agent below Kubernetes and Open Telemetry using explicit group orders, and add its menu icon. The Open Telemetry content version is bumped for its ordering change. Declarations also remain visible in Kubernetes > Custom Resources.

Validation: both platform validators, CLI packaging and version checks pass.

Tracks https://github.com/StackVista/stackstate/issues/828. The native topology monitor follows in https://github.com/StackVista/stackstate/issues/1155.

Give collection declarations a dedicated mapping and presentation with generation, readiness and selection results. Keep ordinary custom resources on their existing mapping. Add real CEL mapping and platform presentation checks. Refs StackVista/stackstate#828.

@craffit craffit 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.

Mapping and presentation look good. Some UX points, mostly for discussion:

  1. The Resource Collections overview doesn't explain what a resource collection is. The explanation in the StackPack overview would help a lot on the overview page itself, if the presentation supports that.
  2. "Resource collection" reads like a set of collected things, but it means the specification of what we collect. Is there a less ambiguous name for the menu item and overview, e.g. "Collected resources" or "Collection declarations"?
  3. These are agent configuration rather than Kubernetes objects like CRDs and CRs. Should they live outside the Kubernetes menu group, e.g. under an agent item?
  4. There's no monitor on collection state. Is that intentionally left for later? A Blocked or Pending declaration seems worth alerting on.
  5. Not for this PR: resources collected through the agent's YAML config don't show up here, so the overview is only a partial picture of what we collect.

Show Collection Declarations after Custom Resources and share the generation freshness predicate. Mapping variables must read input directly, so current uses the source object rather than other mapping variables.
@aacevedoosorio aacevedoosorio changed the title Show ResourceCollection collection feedback Show CollectionDeclaration feedback under Agent Nov 18, 2026
@aacevedoosorio

aacevedoosorio commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor Author

Updated through 0308d15:

  • The overview is now Collection Declarations, and the API kind is CollectionDeclaration too.
  • The dedicated overview lives under Agent, below Kubernetes and Open Telemetry, with its own icon. Declarations also remain visible in Kubernetes → Custom Resources.
  • The overview schema doesn't support explanatory text, so I kept the explanation in the StackPack overview for now.
  • The monitor is tracked in https://github.com/StackVista/stackstate/issues/1155, on Project 1 with squad/marvin. It covers Blocked/Pending and Unknown for missing or stale feedback.
  • YAML-defined collection stays outside this overview. I wasn't proposing to turn the YAML configuration into CRs.

The full setup is redeployed at https://sts-828.dev.stackstate.io/, with Collecting and Blocked examples ready for another look.

@aacevedoosorio
aacevedoosorio marked this pull request as ready for review November 20, 2026 14:39
@aacevedoosorio
aacevedoosorio requested a review from a team as a code owner November 20, 2026 14:39
@aacevedoosorio
aacevedoosorio merged commit 9033cdd into main Nov 20, 2026
18 checks passed
@aacevedoosorio
aacevedoosorio deleted the sts-828 branch November 20, 2026 14:39
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.

3 participants