GH-140: Remove cloud account id#141
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
WalkthroughRemove cloud_account_id from schemas and transforms; move cloud.account.id into attributes MAP. Update sort orders to service_name-first, adjust WAL boundary/sorter/shift logic, remove cloud_account_id from query pushdown/indexed-label mappings, update tests, and add a Grafana Tempo datasource entry. ChangesSchema redefinition and OTLP→Arrow transform
WAL sorting, boundary keys, and shift partitioning
Query optimization and label/tag discovery
Query test fixtures and integration tests
Grafana provisioning
Estimated code review effort 🎯 4 (Complex) | ⏱️ ~45 minutes Possibly related issues
Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@crates/icegate-common/src/SCHEMA.md`:
- Around line 478-485: Update the v1.3 release note about where cloud.account.id
is stored: change the sentence that currently states "cloud.account.id resource
attribute now lives in the generic attributes MAP only" to clarify that spans
now split attributes into resource_attributes and span_attributes, and that
cloud.account.id has been moved into resource_attributes (and/or the generic
attributes MAP when not associated with a span). Edit the SCHEMA.md v1.3 section
(the "Notable Changes in v1.3" block mentioning cloud.account.id) to reference
the new fields resource_attributes and span_attributes and explicitly state the
storage location for cloud.account.id across logs, spans, and metrics.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: baae94ba-d1b3-405e-a78b-44b2339cbc20
📒 Files selected for processing (27)
config/docker/grafana/provisioning/datasources/datasources.yamlcrates/icegate-common/src/SCHEMA.mdcrates/icegate-common/src/parquet_encoding.rscrates/icegate-common/src/schema.rscrates/icegate-ingest/src/shift/plan_runner.rscrates/icegate-ingest/src/shift/planner_partitioning.rscrates/icegate-ingest/src/shift/row_groups_merger.rscrates/icegate-ingest/src/shift/shift_runner.rscrates/icegate-ingest/src/transform.rscrates/icegate-ingest/src/wal/boundary.rscrates/icegate-ingest/src/wal/sorter.rscrates/icegate-query/src/engine/metadata_scan/values.rscrates/icegate-query/src/loki/formatters.rscrates/icegate-query/src/loki/predicate.rscrates/icegate-query/src/tempo/metadata.rscrates/icegate-query/src/tempo/models.rscrates/icegate-query/src/traceql/datafusion/selectors.rscrates/icegate-query/src/traceql/iceberg_predicate.rscrates/icegate-query/tests/loki/grouping.rscrates/icegate-query/tests/loki/harness.rscrates/icegate-query/tests/loki/labels.rscrates/icegate-query/tests/loki/unwrap.rscrates/icegate-query/tests/tempo/harness.rscrates/icegate-query/tests/tempo/tags.rscrates/icegate-queue/tests/common/mod.rscrates/icegate-queue/tests/reader_integration.rscrates/icegate-queue/tests/writer_integration.rs
💤 Files with no reviewable changes (1)
- crates/icegate-query/tests/tempo/harness.rs
Summary by CodeRabbit
New Features
Refactor
Documentation