Administration Console Online Help

Previous Next Open TOC in new window
Content starts here

Create custom diagnostic monitors for applications

Before you begin

You add diagnostic monitors (including custom monitors) to a diagnostic application module that is deployed to an application or application module. Create and configure the diagnostic application module, as described in Configure instrumentation for applications. (For more information about custom monitors, see "Configuring Application-Scoped Instrumentation" in Configuring and Using the Diagnostics Framework for Oracle WebLogic Server.)


To create a diagnostic application module:

  1. If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit (see Use the Change Center).
  2. In the left pane, click Deployments.
  3. On the Summary of Deployments > Control page, click the name of the application or application module for which you want to configure diagnostic monitors.
  4. On the Setting for [Application or Module name] page, select Configuration > Instrumentation.
  5. Under Diagnostic Monitors in this Module, click Add Custom Monitor.
  6. On the Add Custom Monitor page, enter a name for the monitor in the Monitor Name field.
  7. In the Description field, enter an optional description.
  8. Select a location from the Location Type field. The location type determines where the diagnostic action is triggered relative to a joinpoint, which is a specific location in a class, for example a method or a call site within a method.
    • Select Before to specify that the diagnostic activity will occur before the joinpoint.
    • Select After to specify that the diagnostic activity will occur after the joinpoint.
    • Select Around to specify that the diagnostic activity will occur both before and after the joinpoint.
  9. In the Pointcut field, enter an expression to define the pointcut. A pointcut is an expression that specifies a set of joinpoints. For information on defining pointcuts for custom monitors, the appropriate pointcut syntax to use, and rules for pointcut expressions, see "Defining Pointcuts for Custom Monitors".
  10. Click OK.
  11. In the Change Center, click Activate Changes.

Back to Top