Skip to content

refactor: better handle casting kind dispatch#122

Merged
Nageshbansal merged 6 commits into
mainfrom
feat/casting/collection-agent
May 26, 2026
Merged

refactor: better handle casting kind dispatch#122
Nageshbansal merged 6 commits into
mainfrom
feat/casting/collection-agent

Conversation

@Nageshbansal
Copy link
Copy Markdown
Member

@Nageshbansal Nageshbansal commented May 21, 2026

Summary

Introduces a per-Kind Planner contract so Foundry can drive multiple casting Kinds through a single pipeline. Foundry.Forge / Cast / Gauge become Kind-agnostic; per-Kind state (registry, moldings, casting strategy, enricher) lives in the Kind's own Planner.

Changes

  • New internal/planner package defining the Planner contract.
  • Foundry holds a Planners dispatch map; each casting package implements the contract (installation.Planner, collectionagent.Planner).
  • Installation registry moves from internal/foundry/registry.go to internal/casting/installation/registry.go.
  • CollectionAgent Kind scaffolded: Planner + collector molding wired end-to-end. No deployment castings yet.
  • MoldingKindCollector added to api/v1alpha1/molding_kind.go.

Related: https://github.com/SigNoz/platform-pod/issues/1971, https://github.com/SigNoz/platform-pod/issues/1972

@Nageshbansal Nageshbansal marked this pull request as ready for review May 21, 2026 13:20
@Nageshbansal Nageshbansal merged commit 738ae46 into main May 26, 2026
10 checks passed
@Nageshbansal Nageshbansal deleted the feat/casting/collection-agent branch May 26, 2026 10:02
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.

2 participants