Skip to content

chore(telegraf-patch): delete deprecated aggregator scaffolding - #244

Merged
zzylol merged 1 commit into
mainfrom
phase4/delete-deprecated-aggregators
May 5, 2026
Merged

zzylol merged 1 commit into
mainfrom
phase4/delete-deprecated-aggregators

Conversation

@zzylol

@zzylol zzylol commented May 5, 2026

Copy link
Copy Markdown
Contributor

Summary

The unified processors.allsketches plugin (PR #237) supersedes the older per-sketch aggregator-based attempt at Telegraf integration. The scaffolding under telegraf-patch/plugins/aggregators/ was already excluded from the build pipeline by PR #240. This PR removes the dead source.

Deleted:

  • telegraf-patch/plugins/aggregators/{ddsketch,kll,countmin,gorilla,sketchutil}/
  • telegraf-patch/plugins/aggregators/all/ (registration overlays)

Kept (per review): telegraf-patch/plugins/outputs/gorilla_s3/ — standalone Telegraf output plugin with no asap-precompute-go / sketchlib-go dependency. Independent of the common library; not part of the aggregator cleanup.

Updated stale references:

  • otel_collector_benchmark/matched_accuracy/main.go — comment removed file-path reference
  • otel_collector_benchmark/matched_accuracy/README.md — same
  • docs/design-asap-edge-framework.md §7 — table row updated to reflect processors.allsketches shape
  • restore_telegraf_patches.sh — header comment updated

Net: ~2010 LoC removed (down from 2420 after gorilla_s3 restore).

Test plan

  • go build ./... in otel_collector_benchmark/matched_accuracy/
  • ./build_sketchtelegraf.sh produces working binary with allsketches registered

🤖 Generated with Claude Code

The processors.allsketches unified plugin (PR #237) supersedes the
older per-sketch aggregator-based attempt at Telegraf integration.
Remove the dead scaffolding:
- telegraf-patch/plugins/aggregators/{ddsketch,kll,countmin,gorilla,sketchutil}/
- telegraf-patch/plugins/aggregators/all/* (registration overlays)
- telegraf-patch/plugins/outputs/gorilla_s3/ (was wired to deleted gorilla)

Restore script and build pipeline already skip these per PR #240.
Three stale reference comments updated (matched_accuracy/main.go,
matched_accuracy/README.md, design-asap-edge-framework.md §7 table).

Net: 2420 LoC removed.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@zzylol
zzylol force-pushed the phase4/delete-deprecated-aggregators branch from 7feed13 to 8eb430d Compare May 5, 2026 01:17
@zzylol
zzylol merged commit 3319894 into main May 5, 2026
@zzylol
zzylol deleted the phase4/delete-deprecated-aggregators branch May 5, 2026 01:19
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