Skip to content

Unify Gorilla implementations - #357

Merged
zzylol merged 1 commit into
mainfrom
unify-gorilla-implementations
May 9, 2026
Merged

zzylol merged 1 commit into
mainfrom
unify-gorilla-implementations

Conversation

@zzylol

@zzylol zzylol commented May 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • move the Rust Gorilla codec into asap-gorilla-rust while keeping an asap-gorilla compatibility symlink
  • add asap-gorilla-go as the shared Go GORILLA1 encoder/block assembly implementation
  • update gorillaprocessor and gorillas3processor to call asap-gorilla-go instead of carrying local bitwriter/encoder copies

Tests

  • go test ./... (asap-gorilla-go)
  • go test ./... (opentelemetry-collector-contrib/processor/gorillaprocessor)
  • go test ./... (opentelemetry-collector-contrib/processor/gorillas3processor)
  • go test ./... (opentelemetry-collector-contrib-patch/processor/gorillaprocessor)
  • go test ./... (opentelemetry-collector-contrib-patch/processor/gorillas3processor)
  • cargo test --release (asap-gorilla-rust)
  • cargo test --release --doc (asap-gorilla-rust)

Note: debug cargo test still trips the existing throughput smoke threshold; release mode is the crate's documented test mode for that benchmark.

@zzylol
zzylol merged commit 2452a7c into main May 9, 2026
@zzylol
zzylol deleted the unify-gorilla-implementations branch May 9, 2026 15:27
@zzylol zzylol mentioned this pull request May 9, 2026
1 task
zzylol added a commit that referenced this pull request May 9, 2026
`asap-gorilla` at the repo root was a symlink to `asap-gorilla-rust/`,
kept for backwards-compat with the pre-unify-Gorilla-implementations
(#357) consumer name. The backend's path-dep now points at
`asap-gorilla-rust` directly (ProjectASAP/ASAPQuery-backend#cleanup/flatten-asap-gorilla-symlink),
so the alias is no longer load-bearing.

Audit confirmed remaining `asap-gorilla` refs in the tree are all
unrelated: `asap-gorilla-tsdb` (Thanos bucket), `asap-gorilla-go`
(Go module name), `asap-gorilla-e2e` (test fixture), `asap-gorilla`
(MinIO bucket string). None reference the deleted symlink path.

**Merge order**: requires the matching backend PR to land first.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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