Using a custom formula in an analysis
This topic describes an example that shows how to use a formula in an analysis.
Before you begin
Based on what your requirements are, create the formula using the Formula editor. All the formulas are listed in the Formulas page (Administration > Formulas).
Example: Use a custom formula in a Memory Analysis
This procedure illustrates how you can use a custom formula, using metrics from an entity and its child entity, and calculate the Memory Over-commit Ratio.
This example uses the formula in Sample 3 of the Sample formulas topic.
- Navigate to Workspace > All Domains > <domain name>.
- Expand the domain and click Works to access the domain's Works folder.
- Click Add and select Add analysis from the menu.
- In the Analysis wizard, select the Skip wizard and continue using the analysis editor check box in the Welcome step. For more information, see Creating-an-analysis.
- In the General tab, in the Name box, type Memory Analysis.
- For the Entity filter, choose Use a custom entity filter.
- In the Select entity filter step, select All entities in container domain.
- For Type, select Performance vs Time analysis.
- In the Template group step, select Cutsom.
- In the Template step, select All Collected Metrics.
- In the Time resolution step, select Day.
- In the Entity, metric and subresource filters tab, for the System type filter step, click Edit.
- From the Available items list, select Virtual Cluster - VMware and click >> to move the selection in the Selected items list.
- Click Apply. The System time filter now shows Virtual Cluster - VMware.
- In the Metric/Formula filter step, click Edit.
- From the Available items list, expand Formulas and select [F_10681_C] Memory Overcommit Ratio.
This is the formula used in Sample 3. - Click >> to move the selected formula to the Selected items list. The selection appears in the Selected items list.
- Click Apply. The Metric/Formula now shows [F_10681_C] Memory Overcommit Ratio.
- From the Available items list, expand Formulas and select [F_10681_C] Memory Overcommit Ratio.
- Click Save. The analysis is saved with the name Memory Analysis.
- In the Memory Analysis page, click Run now to run the analysis.
- Review the chart that shows the Memory Overcommit Ratio that is calculated using the [F_10681_C] Memory Overcommit Ratio formula that you selected in step 13.a, while creating the analysis.
Related topics