Hi

I have been working on camel-jfr and today pushed the work on master branch.

There is a blog post that details what it does and can do
http://www.davsclaus.com/2021/01/apache-camel-38-and-java-flight-recorder.html

I want to give attention how we can enhance to capture more "work
steps" during startup than what I added so far.

You can look in AbstractCamelContext where most of them are, but also
some captures when routes are being created in the RouteReifier and
ProcessorReifier.

There is a StartupStep interface that holds the information, and you
use the recorder from CamelContext (extended) to begin and end the
step.

Then all of this is captured.

The idea is to focus on startup and not capture "runtime work" as
there would be a tiny tiny overhead of the recorder. And its intended
for startup diagnostics.

For runtime monitoring then we have various metrics (micrometer,
opentracing, etc) and JMX stats.





-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to