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 changes #4561

Merged
merged 1 commit into from
Oct 29, 2022
Merged

Trace changes #4561

merged 1 commit into from
Oct 29, 2022

Conversation

coot
Copy link
Contributor

@coot coot commented Oct 25, 2022

This PR contains various small changes to traces.

  • Removed kind field from NodeTo{Node,Client}VersionData
  • Fixed a typo
  • Changed IP ToJSON instance
  • Simplified ToJSON instance of LocalRootPeers
  • Use Notice severity for NetworkConfigUpdate
  • Added severityStartupTracer

Fixes #4560

Copy link
Contributor

@Jimbo4350 Jimbo4350 left a comment

Choose a reason for hiding this comment

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

6 commits is overkill for these changes. Please squash the commits to a single commit.

Copy link
Contributor

@jutaro jutaro left a comment

Choose a reason for hiding this comment

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

Looks good

Removed kind field from NodeTo{Node,Client}VersionData

  It is not needed, it is obvious from the context that it's either
  node-to-node or node-to-client protocol.

Fixed a typo

Changed IP ToJSON instance

  There's no need to pack the `ip` address inside a record.  It is only
  used by: `ToObject` instances of `TraceLocalRootResult` and
  `TracePublicRootFailure` constructors.

Simplified ToJSON instance of LocalRootPeers

  Switched to using the same data as `LocalRootPeers` in the p2p
  topology file (although the format might be different).

Use Notice severity for NetworkConfigUpdate

Added severityStartupTracer

Fixes #4560
@coot
Copy link
Contributor Author

coot commented Oct 27, 2022

@Jimbo4350 I squashed all the commits.

@Jimbo4350
Copy link
Contributor

bors r+

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Oct 29, 2022

Build succeeded:

@iohk-bors iohk-bors bot merged commit 521b64a into master Oct 29, 2022
@iohk-bors iohk-bors bot deleted the coot/traces branch October 29, 2022 19:14
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.

[FR] - The new tracing system does not use severities for StartupTracer
3 participants