Most metrics are contributed by plug-ins. Several plug-ins ship with the core product. Developers can create their own plug-ins. Only core plug-ins are documented here.
Use of the @Insight* annotations are optional.
They make it easy for end users to define custom operation frames and end
points without needing to create a plug-in. Because end user code
modification is required to use the annotations, they are an option for
users who cannot or do not wish to write aspects.
For more information on using the @Insight*
annotations, see Using
Annotations To Customize Insight Data For Your Application.
Table 4. Operations of annotation plug-in
| Collection Point | Summary |
|---|---|
| @InsightOperation | Any methods annotated with @InsightOperation will create an operation, including: basic source code location, method parameters and the return value. |
| @InsightEndPoint | Similar to @InsightOperation; also indicates the operation should be treated as an end point. |
| @InsightObscure | Used to annotate a value which should be obscured from Trace transmission or storage. |
| @InsightSensitive | Used to mark a method which processes sensitive data. |
Table 5. Endpoint Analysis of annotation plug-in
| Analyzer | AnnotatedMethodEndPointAnalyzer |
| Core Operation | AnnotatedMethod Operation |
| Score | High by default, customizable in annotation. |
| Summary | Finds operations created from @InsightEndPoint, thus creating the end point. |