Skip navigation.
Downloads | Product Documentation | Support

Administration Console Online Help

# Configure metric collection for a diagnostic system module

Before you begin

- Create diagnostic system modules

The Harvester component of the WebLogic Diagnostic Framework provides the means for gathering metrics that report the state of attributes on qualified MBeans that are instantiated in a running server. The Harvester can collect metrics from Weblogic Server MBeans and customer MBeans, to reflect the running environment.

Metrics are configured and collected in the scope of a diagnostic system module targeted to one or more server instances. Therefore, to collect metrics, you must first create a diagnostic system module. Then, you can configure metrics in that module and target the module to one or more server instances.

To configure metric collection for a diagnostic system 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 panel, expand Diagnostics and select Diagnostic Modules.
3. On the Summary of Diagnostic Modules page, click the name of the module for which you want to configure metric collection.
4. On the Settings for [Module Name] page, select Configuration > Collected Metrics.
5. Set one or both of the following options:
   - To enable or disable all metric collection for this module, select or deselect the Enabled checkbox.
   - To set the period between samples, enter the period (in milliseconds) in the Sampling Period field.
6. Click Save.
7. You can also create, reconfigure, and delete metrics from the Settings for [Module Name] page:
   - To create new metrics, see Configure metrics to collect in a diagnostic system module.
   - To reconfigure individual metrics, see Edit the configuration for a metric.
   - To delete a metric, see Delete metrics from a diagnostic system module
8. To activate these changes, in the Change Center of the Administration Console, click Activate Changes.
   Not all changes take effect immediately—some require a restart (see Use the Change Center).