Using BMC Helix Dashboards
To create custom dashboards for BMC Helix Continuous Optimization in BMC Helix Dashboards
For BMC Helix Continuous Optimization, you can configure custom dashboards, panels, and queries to quickly start creating visualizations to get an insight of your IT infrastructure. As a tenant administrator or an editor, you need to build queries in panels in BMC Helix Dashboards to fetch data from the data source. You can build multiple queries with different query types in a panel. However, you cannot change the data source for each query in a panel. If you want to change the data source, you must create a new panel. You can also select a visualization type for the panel.
- Log in to BMC Helix Portal as a capacity planner.
Note: Ensure that the Editor role is assigned to the capacity planner user. - Click the BMC Helix Dashboards tile.
- On the left navigation pane, do one of the following actions:
- Hover the mouse over the Create icon
and then click Dashboard.
- Hover the mouse over the Dashboards icon
, click Browse, and then click the New Dashboard button.
- Hover the mouse over the Create icon
- On the New dashboard page, click Add new panel.
- In the Query section, select the BMC Helix data source for the query.
- In the Query Type field, select one of the following query types to fetch the relevant BMC Helix Continuous Optimization data:
- In the Query field, add the query. This field changes according to the query type that you select.
- (optional) To add an additional query, click + Query, and specify the query options as described in the previous step.
- Select the required visualization type.
- Enter a name for the dashboard, select a folder, and click Save. The new dashboard is displayed with the relevant data.
To visualize the Continuous Optimization data based on metrics
Use the Metric query type to fetch the performance metrics data in your environment.
- Add a new panel and select Query Type as Metrics.
- Configure the following parameters, and save the query:
Field | Description |
---|---|
Query type | Select the query type as Metric. |
Source | Select the source as Optimize. |
Metrics browser | Type a metric query to this field or expand metric browser to build basic queries using required metrics and labels. As you type your query, you will receive label suggestions based on the available metrics. The following video explains how to use the metrics browser to build a basic query. Following is a list of some of the labels that you can use for BMC Helix Continuous Optimization:
For examples of the metric query type, see Examples. |
Legend | Add a legend to appear in the panel. You can use a variable here. For example, the value of the {~code language="none"}}hostname{{/code} variable is replaced with the host name in the panel. |
Min step | Add a threshold for a lower limit of the Prometheus query. This setting is absolute, and cannot be changed by the value in the Resolution field. |
Resolution | Sets the parameter for each pixel to correspond to one data point of a Prometheus range query. Use lower resolutions for better performance. For more information, see Prometheus data source. |
Format | Select one of the following formats for the panel:
|
Instant | Use this toggle button to return only the latest value for the requested time series. Instant queries return results faster than the normal range queries. |
To visualize the Continuous Optimization data based on data marts
Use the Optimize Data marts query type to fetch the capacity data in BMC Helix Continuous Optimization.
- Add a new panel and select Query Type as Optimize Data marts.
Configure the following parameters, and save the query:
(Optional) Filter data mart contents by using variables
Variables act as placeholders and get values at run time. They can be based on any data source. You can use them to filter data mart contents. For example, if you want to create a variable to filter the content of a data mart column named Cluster, perform these tasks:
Task 1: Find the data mart ID and internal column name
- Open the dashboard that you created for visualizing the data mart content.
- Expand the data mart table title and click Edit.
- Note down the data mart ID as shown in the following image:
- On the Transform tab, note down the internal column name as shown in the following image:
Task 2: Create the variable
- On a custom dashboard, click Dashboard settings .
- On the navigation bar, click Variables.
- Click Add new variable and specify the following values:
- Name: Internal name of the column to be filtered. For example, clustername.
- Label: Label to be used as a display name for the filter. For example, Cluster.
- Data source: BMC Helix API
- Query options:
- On the Path tab, select POST and specify the URL of the API to retrieve data for the filter by using the column name and data mart ID.
Example: /opt/api/v1/datamartservice/datamarts/<data mart ID>/filters/<column name> - On the Body tab, specify the filters and options to customize the API response.
Example: {"filters":[],"options":{"pagenum":0,"pagesize":-1}} - On the Fields tab, specify the values that you want to filter. For example, specify these options to filter by column ID:
- In the Field box, specify values.id.
- Select JSONata.
You can view the list of IDs under Preview of values.
- On the Path tab, select POST and specify the URL of the API to retrieve data for the filter by using the column name and data mart ID.
- Refresh: On dashboard load
- Sort: Disabled
- Selection options: Select both the options.
- Click Apply. The new variable is created and displayed at the top of the data mart table. You can use it to filter the data mart column.
Visualizing the time series data of BMC Helix Continuous Optimization
You can use the BMC Time Series Forecast visualization plug-in to view the predictive data of BMC Helix Continuous Optimization on a dashboard. The dashboard includes a line chart that shows the prediction data from data sources, such as BMC Helix Continuous Optimization and confidence bands. You can select a period of prediction and show or hide the confidence bands.
For information about how to configure this plug-in, see Visualizing predictive time series data in panels.
Cross-launch from BMC Helix Continuous Optimization to BMC Helix Dashboards
With the integration of BMC Helix Continuous Optimization with BMC Helix Dashboards, you can navigate to BMC Helix Dashboards by using the cross-launch option from the Views section of BMC Helix Continuous Optimization. The cross-launch option is available on the details page of the systems that are monitored by the PATROL Agent. You can view the device metrics data in BMC Helix Dashboards with this feature. This option is not available for systems that are not monitored by PATROL Agent.
To view the option for your devices in BMC Helix Continuous Optimization, ensure that BMC Helix Operations Management, BMC Helix Dashboards, and BMC Helix Discovery are available on the same tenant. Ensure that you have the permissions to view the device metric details in BMC Helix Dashboards.