-
Notifications
You must be signed in to change notification settings - Fork 749
new tracing system: networking addjustments #6388
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
Conversation
9f96675 to
0ca2c18
Compare
jutaro
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just two changes, I will push a commit that fixed these tow issues. Otherwise it looks good to me.
| ] | ||
|
|
||
| instance MetaTrace (FetchDecision [Point header]) where | ||
| namespaceFor (Left FetchDeclineChainIntersectionTooDeep) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To make this fully functional namespaces needs more, so I propose to do a simple dispatch here on the runtime object
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean that each constructor needs to have its own namespace under ["Decline"]?
jutaro
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PS: I have not checked if standard configurations have to be adopted
Use the same severities in the new tracing system as in the old one.
* removed unused namespace "ImpossibleConnection" * set severity of `ConnectionManagerCounters` to `Info` (as in the legacy tracing system)
Using type aliases exposed by `cardano-diffusion` package.
c9fb720 to
250b290
Compare
|
I rebased the PR on top of master. |
2bfa9be to
a6a513c
Compare
new tracing system: networking addjustments
Description
Make the new tracing system behave more like the old one:
Checklist
See Runnings tests for more details
CHANGELOG.mdfor affected package.cabalfiles are updatedhlint. See.github/workflows/check-hlint.ymlto get thehlintversionstylish-haskell. See.github/workflows/stylish-haskell.ymlto get thestylish-haskellversionghc-9.6andghc-9.12Note on CI
If your PR is from a fork, the necessary CI jobs won't trigger automatically for security reasons.
You will need to get someone with write privileges. Please contact IOG node developers to do this
for you.