Replies: 1 comment
-
Nice ideas, @tobias- . Can you create two separate tasks for them? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There are some traces that should be auto-created by instrumentation imho:
main()
or when the context is initialized/set up by e.g. war/ear). It's not in any way compilcated to add a@WithSpan
for the main(), but it would be nice if it was there from the start.(new Timer("heartBeat", true))..scheduleAtFixedRate(new HeartBeatRunnable(), freqMillis, freqMillis);
)Every time
HeartBeatRunnable().run()
is invoked, it should be in a new trace. I can't come up with any scenario where anyschedule
should be part of the trace that scheduled the execution.Beta Was this translation helpful? Give feedback.
All reactions