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

Added features to tracing #4908

Merged
merged 7 commits into from
Mar 1, 2023
Merged

Added features to tracing #4908

merged 7 commits into from
Mar 1, 2023

Conversation

jutaro
Copy link
Contributor

@jutaro jutaro commented Feb 22, 2023

  • Generated docu shows tracers, tracers with metrics, silent tracers according to current configuration
  • Trace message shows tracers with metrics and silent tracers

@@ -5,7 +5,7 @@
### [Trace Messages](#trace-messages)

1. __BlockFetch__
1. __Client__
1. __Clientⓣ__
Copy link
Contributor

Choose a reason for hiding this comment

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

Some strange unicode symbols added, here and below.

Copy link
Contributor Author

@jutaro jutaro Feb 24, 2023

Choose a reason for hiding this comment

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

In the generated TOC you will find the following annotations:
ⓣ This is the root of a tracer
ⓢ This tracer is silent by configuration
ⓜ This tracer carries metrics

Comment on lines -4282 to -4302
### Forge.KESInfo


> kesStartPeriod
> kesEndPeriod is kesStartPeriod + tpraosMaxKESEvo
> kesEvolution is the current evolution or /relative period/.


Severity: `Info`
Privacy: `Public`
Details: `DNormal`


From current configuration:

Backends:
`EKGBackend`,
`Stdout MachineFormat`,
`Forwarder`
Filtered `Visible` by config value: `Info`

Copy link
Contributor

Choose a reason for hiding this comment

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

Some documentation bits are gone -- is that intended?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's true. I had to remove it, because a more principled approach lead to that the docu generator is not working for this special case. But I have an idea how to fix this, but will be part of next PR.

Copy link
Contributor

@deepfire deepfire left a comment

Choose a reason for hiding this comment

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

Thank you @jutaro

@jutaro
Copy link
Contributor Author

jutaro commented Feb 27, 2023

bors r+

iohk-bors bot added a commit that referenced this pull request Feb 27, 2023
4908: Added features to tracing r=jutaro a=jutaro

* Generated docu shows tracers, tracers with metrics, silent tracers according to current configuration
* Trace message shows tracers with metrics and silent tracers

Co-authored-by: Yupanqui <jnf@arcor.de>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Feb 27, 2023

Timed out.

@jutaro
Copy link
Contributor Author

jutaro commented Feb 28, 2023

bors r+

iohk-bors bot added a commit that referenced this pull request Feb 28, 2023
4625: Handle pipes r=Jimbo4350 a=LudvikGalois

Fixes #4235

4908: Added features to tracing r=jutaro a=jutaro

* Generated docu shows tracers, tracers with metrics, silent tracers according to current configuration
* Trace message shows tracers with metrics and silent tracers

Co-authored-by: Robert 'Probie' Offner <robert.offner@iohk.io>
Co-authored-by: Yupanqui <jnf@arcor.de>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Mar 1, 2023

This PR was included in a batch that timed out, it will be automatically retried

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Mar 1, 2023

Build succeeded:

@iohk-bors iohk-bors bot merged commit 8040dce into master Mar 1, 2023
@iohk-bors iohk-bors bot deleted the jutaro/tracer3-adds branch March 1, 2023 04:06
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.

None yet

3 participants