-
Notifications
You must be signed in to change notification settings - Fork 46
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
Conversation
Codecov Report
@@ 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 |
Just saw filecoin-project/lotus#7646 is landing soon, this will be great for further tracing through the stores. |
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.
Looks ok with some tweaks.
fcdd908
to
c0fe2b6
Compare
- clean up traceing flags and setup code
- attributes iff span is recording - env vars for config tracing
c0fe2b6
to
1472450
Compare
@@ -91,39 +91,28 @@ func main() { | |||
Destination: &commands.VisorLogFlags.LogLevelNamed, | |||
}, | |||
&cli.BoolFlag{ | |||
Name: "tracing", |
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.
@placer14 heads up, this changes the flags for setting up tracing a little bit. Details of the change are in this file.
* 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
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
)