Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Add Tracking for Number of Entities Inserted/Deleted/Modified in apply_entity_modifications Metrics #5776

Open
1 of 2 tasks
MoonBoi9001 opened this issue Jan 20, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@MoonBoi9001
Copy link
Member

Description

Background

In our current subgraph gas experiments, we are tracking the following metrics to monitor the performance of entity operations during the subgraph sync process:

  • apply_entity_modifications_insert
  • apply_entity_modifications_delete
  • apply_entity_modifications

These metrics provide insights into the duration it takes to perform entity insertions, deletions, and modifications as recorded by the counter_value. However, we currently lack tracking for the net number of entities that are inserted or deleted during each modification operation.

Ask

Introduce tracking for the number of entities inserted/deleted/modified at a timestamp when there is an entity modification. This would help with subgraph gas experiement data analysis. I'd like to do some analysis on bytes written/read by entity operations and how that might correlate with subgraph gas consumption. For example, do we see subgraphs that have high levels of gas consumption have a higher bytes written/read per entity ratio, and if so then can we model that via a regression? I'd also like to look at how the number of entities being modified correlates with the time it takes to do the modification.

Are you aware of any blockers that must be resolved before implementing this feature? If so, which? Link to any relevant GitHub issues.

No response

Some information to help us out

  • Tick this box if you plan on implementing this feature yourself.
  • I have searched the issue tracker to make sure this issue is not a duplicate.
@MoonBoi9001 MoonBoi9001 added the enhancement New feature or request label Jan 20, 2025
@MoonBoi9001
Copy link
Member Author

#5780

Issue addressed in the above PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant