Skip to content

541 drop fee stats agg#2419

Open
ttboogie wants to merge 3 commits into
mainfrom
541-drop-fee-stats-agg
Open

541 drop fee stats agg#2419
ttboogie wants to merge 3 commits into
mainfrom
541-drop-fee-stats-agg

Conversation

@ttboogie
Copy link
Copy Markdown
Contributor

@ttboogie ttboogie commented May 1, 2026

Removes documentation for the deprecated fee_stats_agg model.

Refs stellar/hubble#541

What

  • Deletes docs/data/analytics/hubble/data-catalog/data-dictionary/gold/fee-stats-agg.mdx (the data dictionary page for the legacy model).
  • Updates docs/data/analytics/hubble/analyst-guide/queries-for-horizon-like-data.mdx to drop the fee_stats_agg deprecation note and point readers directly at the two replacement models.

Why

The fee_stats_agg dbt model is being dropped (see stellar/stellar-dbt-public#239) in favor of daily_fee_stats_agg and ledger_fee_stats_agg, which split Classic vs. Soroban transactions and add surge-pricing and inclusion-fee metrics. Both replacements already have data dictionary pages under gold/.

ttboogie and others added 2 commits May 1, 2026 15:22
Removes deprecated fee_stats_agg data dictionary page and updates
the Horizon-like queries guide to reference daily_fee_stats_agg
and ledger_fee_stats_agg as the current fee stats models.

Refs stellar/hubble#541

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Replaces the deprecation note with a single sentence describing
the two replacement models, since fee_stats_agg is being removed.

Refs stellar/hubble#541

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@gre3n3yes34
Copy link
Copy Markdown

gre3n3yes34 commented May 1, 2026 via email

@stellar-jenkins-ci
Copy link
Copy Markdown

CI rebuilds routes.txt and fails on diff. Removing the route
for the deleted fee-stats-agg data dictionary page.

Refs stellar/hubble#541

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 1, 2026

Warning

This change removes routes. The diff of routes is below. Please verify that these changes to the routes are intentional and that redirects are in place if needed. Redirects can be added to nginx/includes/redirects.conf.

diff --git a/routes.txt b/routes.txt
index 0c02d4e5..b4c54887 100644
--- a/routes.txt
+++ b/routes.txt
@@ -225,7 +225,6 @@
 /docs/data/analytics/hubble/data-catalog/data-dictionary/gold
 /docs/data/analytics/hubble/data-catalog/data-dictionary/gold/asset-balances-daily-agg
 /docs/data/analytics/hubble/data-catalog/data-dictionary/gold/daily-fee-stats-agg
-/docs/data/analytics/hubble/data-catalog/data-dictionary/gold/fee-stats-agg
 /docs/data/analytics/hubble/data-catalog/data-dictionary/gold/hourly-fee-agg-account
 /docs/data/analytics/hubble/data-catalog/data-dictionary/gold/hourly-soroban-fee-agg-contract
 /docs/data/analytics/hubble/data-catalog/data-dictionary/gold/ledger-fee-stats-agg

@stellar-jenkins-ci
Copy link
Copy Markdown

@ttboogie ttboogie marked this pull request as ready for review May 5, 2026 16:06
Copilot AI review requested due to automatic review settings May 5, 2026 16:06
@briwylde08 briwylde08 self-requested a review May 5, 2026 16:08
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes documentation for the deprecated Hubble fee_stats_agg model and updates the Horizon-like query guide to reference the two replacement models (daily_fee_stats_agg and ledger_fee_stats_agg).

Changes:

  • Removed the legacy fee-stats-agg data dictionary page.
  • Updated the Fee Stats section in the Horizon-like queries guide to reference daily_fee_stats_agg and ledger_fee_stats_agg.
  • Updated routes.txt to reflect the removed route.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
routes.txt Drops the fee-stats-agg route entry to match the removed doc page.
docs/data/analytics/hubble/data-catalog/data-dictionary/gold/fee-stats-agg.mdx Deleted the deprecated model’s data dictionary page.
docs/data/analytics/hubble/analyst-guide/queries-for-horizon-like-data.mdx Replaces the deprecation note with guidance pointing to the two replacement models.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread routes.txt
@@ -225,7 +225,6 @@
/docs/data/analytics/hubble/data-catalog/data-dictionary/gold
/docs/data/analytics/hubble/data-catalog/data-dictionary/gold/asset-balances-daily-agg
/docs/data/analytics/hubble/data-catalog/data-dictionary/gold/daily-fee-stats-agg
Comment on lines 812 to 815
[horizon/fee-stats](../../../apis/horizon/api-reference/aggregations/fee-stats/README.mdx)

Fee stats are used to predict what fee to set for a transaction before submitting it to the network.

:::note

The `fee_stats_agg` model has been deprecated and replaced by two new models: `ledger_fee_stats_agg` (ledger-grain) and `daily_fee_stats_agg` (daily-grain). The new models provide separate Classic and Soroban fee breakdowns, inclusion fee metrics, and surge pricing statistics.

:::
Fee stats are used to predict what fee to set for a transaction before submitting it to the network. Two models are available: `ledger_fee_stats_agg` (ledger-grain) and `daily_fee_stats_agg` (daily-grain). Both provide separate Classic and Soroban fee breakdowns, inclusion fee metrics, and surge pricing statistics.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Chore should automatically handle translation.

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.

5 participants