Skip to content

feat(indexd): sector and account stats - #1323

Merged
alexfreska merged 1 commit into
mainfrom
feat_indexd_sector_and_account_stats
Sep 23, 2025
Merged

feat(indexd): sector and account stats#1323
alexfreska merged 1 commit into
mainfrom
feat_indexd_sector_and_account_stats

Conversation

@alexfreska

@alexfreska alexfreska commented Sep 23, 2025

Copy link
Copy Markdown
Member
  • The metrics page now includes more sector and account stats.
Screenshot 2025-09-23 at 11 00 32 AM Screenshot 2025-09-23 at 10 59 37 AM Screenshot 2025-09-23 at 10 59 56 AM

Copilot AI review requested due to automatic review settings September 23, 2025 15:02
@changeset-bot

changeset-bot Bot commented Sep 23, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: c4fe061

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
indexd Minor
@siafoundation/indexd-react Minor
@siafoundation/indexd-types Minor
@siafoundation/indexd-js Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds new sector and account statistics APIs to the indexd service. It expands the existing sector stats to include migration, pinning, and unpinning information, and introduces a new account stats endpoint to track registered accounts.

  • Extends the sector statistics API with additional metrics for sector states
  • Adds a new account statistics API to track registered account counts
  • Updates the metrics UI to display all the new statistics with improved loading states

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
libs/indexd-types/src/admin/index.ts Adds new sector stat fields and account stats API type definitions
libs/indexd-react/src/admin.ts Imports and exports React hook for account stats API
libs/indexd-js/src/admin.ts Adds JavaScript client method for account stats API
apps/indexd/components/Metrics/index.tsx Refactors metrics display to show new stats with improved loading states
.changeset/stupid-geese-strive.md Documents API changes for library packages
.changeset/honest-monkeys-find.md Documents UI changes for indexd app

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@github-project-automation github-project-automation Bot moved this to In Progress in Sia Sep 23, 2025

alexfreska commented Sep 23, 2025

Copy link
Copy Markdown
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@vercel

vercel Bot commented Sep 23, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
indexd Ready Ready Preview Comment Sep 23, 2025 4:06pm
4 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
explorer Ignored Ignored Sep 23, 2025 4:06pm
explorer-zen Ignored Ignored Sep 23, 2025 4:06pm
hostd Ignored Ignored Sep 23, 2025 4:06pm
renterd Ignored Ignored Sep 23, 2025 4:06pm

@alexfreska
alexfreska merged commit 094ac33 into main Sep 23, 2025
14 checks passed
@alexfreska
alexfreska deleted the feat_indexd_sector_and_account_stats branch September 23, 2025 20:04
@github-project-automation github-project-automation Bot moved this from In Progress to Done in Sia Sep 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants