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

improve tracing data and include lotus tracing #794

Merged
merged 10 commits into from
Jan 17, 2022
Merged

Conversation

frrist
Copy link
Member

@frrist frrist commented Dec 3, 2021

Allows lily to send traces produced by lotus and improves the quality of lily's tracing data. Below is an example of a walk trace. The trace include the spans implemented in lily as well as the spans from lotus (e.g. vm.Invoke)
Screen Shot 2021-12-03 at 10 35 37 AM

@frrist frrist changed the title Imprpve tracing data and include lotus traceing improve tracing data and include lotus traceing Dec 3, 2021
@codecov-commenter
Copy link

codecov-commenter commented Dec 3, 2021

Codecov Report

Merging #794 (fcdd908) into master (93ac5f0) will decrease coverage by 0.0%.
The diff coverage is 25.8%.

@@           Coverage Diff            @@
##           master    #794     +/-   ##
========================================
- Coverage    32.9%   32.9%   -0.1%     
========================================
  Files          40      40             
  Lines        3724    3771     +47     
========================================
+ Hits         1228    1241     +13     
- Misses       2360    2391     +31     
- Partials      136     139      +3     

@frrist frrist requested a review from iand December 3, 2021 18:30
@frrist frrist marked this pull request as ready for review December 3, 2021 18:34
@frrist
Copy link
Member Author

frrist commented Dec 16, 2021

Just saw filecoin-project/lotus#7646 is landing soon, this will be great for further tracing through the stores.

@iand iand changed the title improve tracing data and include lotus traceing improve tracing data and include lotus tracing Dec 16, 2021
Copy link
Contributor

@iand iand left a comment

Choose a reason for hiding this comment

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

Looks ok with some tweaks.

@frrist frrist force-pushed the frrist/make-tracing-work branch 2 times, most recently from fcdd908 to c0fe2b6 Compare January 10, 2022 21:56
@frrist frrist force-pushed the frrist/make-tracing-work branch from c0fe2b6 to 1472450 Compare January 14, 2022 22:08
@frrist frrist self-assigned this Jan 14, 2022
@frrist frrist merged commit fe9a838 into master Jan 17, 2022
@frrist frrist deleted the frrist/make-tracing-work branch January 17, 2022 18:22
@@ -91,39 +91,28 @@ func main() {
Destination: &commands.VisorLogFlags.LogLevelNamed,
},
&cli.BoolFlag{
Name: "tracing",
Copy link
Member Author

Choose a reason for hiding this comment

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

@placer14 heads up, this changes the flags for setting up tracing a little bit. Details of the change are in this file.

frrist added a commit that referenced this pull request Jan 19, 2022
* chore: update opentelemetry and support traces from lotus

* chore: clean up tracing flags and setup code

* chore: remove redundant trace from actorstate task

* polish: instrument TipSetIndexer spans

* polish: instrument walker spans

* polish: instrument watcher spans

* polish: instrument GetExecutedAndBlockMessagesForTipset spans

* polish: allow docker-compose jaeger to work by default
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