Out-of-the-box instrumentation

The inspectIT version 1.2.1 brings the extended instrumentation possibilities with modifiers and annotations (more on new instrumentations: Sensor assignment). Due to these new features, a set of out-of-the-box instrumentations for mostly used Java frameworks is now also provided. The out-of-the-box instrumentations can be used to easily start analyzing your application. Currently supported frameworks are:

  • Enterprise JavaBeans (both 2 and 3)
  • Hibernate
  • Java Persistance API
  • Java Transaction API
  • Servlets
  • JavaServer Faces
  • Struts

For each technology there is an additional single configuration file in the Agent/config/common directory. Each configuration file can be separately included in the agent configuration:

$include common/ejb.cfg
$include common/hibernate.cfg
...

Adapt the instrumentation points

In some cases out-of-the-box instrumentations can instrument too many methods. Thus, it is wise to check the instrumentations and adapt them for your needs.