Custom Segments

Monitor custom code blocks inside your application.

Thanks to Inspector you are able to put everything you want in the transactions timeline getting a real-time feedback about the execution of a code block inside your application.

By default Inspector will report many type of statements, but you are free to "wrap" some parts of your code that you consider relevant to create a more complete picture of what statements are impacting more in any execution cycle.

Here is an example of how you'll be able to explore your custom segments in your dashboard thanks to the timeline:

A new segment in the timeline

See code examples based on the platform of your interest.

Custom Segments in Laravel

Custom Segments in NodeJs

‚Äč