Profiles define which sensors are applied to which class or/and method and all the other available instrumentation options. Please read the basic concepts first in order to understand all the configuration elements in inspectIT.
Types
There 3 different profile types in inspectIT at the moment. Each profile type enables configuration of a specific area:
- Sensor assignment - this profile type allows definition of method sensor assignments, thus defining which classes/methods will be instrumented.
- Exclude rules - this profile type defines which classes will always be excluded from the instrumentation.
- JMX definitions - this profile type defines which MBeans and their attribues will be monitored.
Management
Profiles are created and managed with the Configuration Interface view. By selecting the Profiles radio button in the Configuration Interface view all the profiles in the selected CMR repository will be displayed:
...
New profile can be created by clicking on the Add → Create Profile action in the Configuration Interface view tool-bar. The name and type of the profile must be defined, while the description is optional.
...
Common profiles are pre-defined profiles delivered by inspectIT to support out-of-the box instrumentation. Common profiles are marked with different icon () and can not be changed or deleted. More on common profiles and supported frameworks you can find on the Common profiles page page.
Activate/De-activate profile
...
Any profile can be duplicated by executing Right click → Duplicate action. Duplicating profiles can be handy when you want to change configuration of the common profile. As common profiles can not be altered, you can easily duplicate the common profile and perform your changes.
...
Configuration
Profiles are defining different types of the assignments, rules, etc. To edit a profile double-click on the profile in the Configuration Interface view. Depending on the profile type, different configurations are possible: