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

Trace Schema Changes #202

Merged
merged 10 commits into from
Feb 24, 2025
Merged

Trace Schema Changes #202

merged 10 commits into from
Feb 24, 2025

Conversation

will-break-it
Copy link
Contributor

@will-break-it will-break-it commented Feb 18, 2025

  • add cpu_time_s field to track total CPU time across cores
  • align block event names
  • separate block lifecycle actions from network actions

@will-break-it will-break-it self-assigned this Feb 18, 2025
@Saizan
Copy link
Contributor

Saizan commented Feb 19, 2025

@will-break-it is it intentional that the data for the block (e.g. payload_bytes for IBs) is repeated in both *Generated and *Received events? Not a problem, just confirming.

@will-break-it
Copy link
Contributor Author

That's a good observation, we are indeed duplicating this data now.
We could consider splitting this back into two types of events:

  1. Generation events that include all the block data

  2. State entry events that only include the essential identification information

@Saizan

@will-break-it will-break-it marked this pull request as ready for review February 19, 2025 13:49
@will-break-it will-break-it merged commit 9a64c9c into trace-schema Feb 24, 2025
6 checks passed
@will-break-it will-break-it deleted the trace-new branch February 24, 2025 09:29
will-break-it added a commit that referenced this pull request Feb 25, 2025
* data: add trace schema for haskell & rust

* data: add example logs for all events for make validate

* data: simplify haskell trace schema

* data: remove verbose extract of message kind

* data: updated rust schema

* data: composed rust message & action types

* Trace Schema Changes (#202)

* fix: add cpu_time_s field to track total CPU time across cores

* fix: consistent naming of RBs across both simulations

* refactor: naming of block variants

* - refactor(hs)
  - separate block lifecycle actions from network actions
  - use shorter block type names (IB/EB/RB/VT)

* fix(hs): remove node_name

* fix: remove duration_s

* fix: remove redundant block kind; tag -> type

* fix(hs-schema): add endorse_blocks; payload_bytes

* fix(hs-schema): add slot number to base block evnet

* fix(hs-schema): remove duplicate payload_bytes for sent & receive events
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.

3 participants