## Introduction

The tree structure displays all the metrics available in the current session. The metrics displayed within the hierarchy of Groups like Metric Group, Subject, Attribute Group, and other components, such as Tier, Server, and Instance. Users can also search a Group/Metric/Component using the search feature.

## Tree Hierarchy

Metrics are arranged in a hierarchical model on the basis of the component of topology in a tree. In the first stage i.e. topology, components are grouped under three nodes like Metric Groups, Subjects. Further hierarchy (Tier, Server & instance) comes in Subject. Each component of topologies like Tier, Server, and Instance has nodes like Metric Groups, Subjects, and Attributes in repeated blocks.

At the leaf level of each component, Metric Groups have metrics like system stats, application, network stats, process stats, etc. This hierarchy will start with Application and will end with Metric groups and Metrics.

- Topology: –Topology is a root Node. This is configurable as it can be Applications etc.
- Metric Groups: –Under this node, all metric groups will come under that hierarchy component like System Linux Extended, Business Transaction, Memory Stats, etc. This will come by default in the tree but if the user doesn’t want Subjects and Attributes nodes in the tree, then need to add the keyword - config.ini.
- Subjects: – Subject means further hierarchy nodes under the particular/specific node.
  - For Example: If a user is in any tier, then its servers & instances will come under the hierarchy under the subject.
  - If a user is seeing a subject inside any tier then the further hierarchy of Tier i.e. server(s), and instance(s) will come.
- Type Node: –Metadata of hierarchy such as Tier, server, and instance is defined as Type node.
- Value Node: –Value of a type such as the name of tier, server, or instance is termed as a value node.
- Metric Group: –Under the metric groups node, all metrics will come.
- For Example: System Linux Extended, Business Transaction, Memory Stats, etc. Metric Groups will come after the complete hierarchy i.e. Tier, server, and Instance(s). It contains the metric name.
- Metric Name: –It will come under a metric group. It is the last node & no child will come under it. For Example: Request per sec, Average Service Time (ms), etc.
- Search in tree: –To search for metrics, use the search icon by using text, part of an expression, and regular expressions. For searching, the first user needs to select the tree level, such as group, metric, vector, or all. Post that user needs to specify the search criteria based on a certain pattern, such as User. In Tree search when the user searches for any text, it works as contains. If the user wants to use any text with the braces () in the search, then there needs to be followed with a backslash \. This is the functionality of the regular expression. In this, it is mentioned that braces should be used with a backslash. For example: if you want to search for CPU Utilization (Pct), then this should be given as CPU Utilization\(Pct\).
- Refresh: –To reset the metric tree view, click the reset/refresh icon.
- Operations on Tree Nodes: –Provide an ability to perform operations on Tree Nodes & results of these operations are applied in the Dashboard. The User should select Metric Group/Subject/Attribute Hierarchy and perform the below operations on Right click of Metric/Type/value etc.

## Open Metrics

This menu is available on the metric node or metric group node. It will display the last level of Indices/Vector hierarchy as "All" and the rest all the parents as "Same" and the "Show Together" flag is off. It opens one metric on each widget. When this option is applied to the metric group then it opens all metrics of that group.

- All: –It will open all metrics in each widget of all values.
- Non-Zero: –It will open all non-zero metrics one in each widget.
- Zero: –It will open all zero metrics one in each widget.

## Merge Metrics

This menu is available on the metric node or metric group node. It will display the last level of Indices/Vector hierarchy as "All" and the rest all the parents as "Same" and the "Show Together" flag is off. It merges all metrics in one widget. When this option is applied to the metric group then it merges all metrics of that group

- With Active Widget: –It will merge selected metrics on the active widget
- All: –It will merge all metrics of all values on the widget.
- Non-Zero: –It will merge all non-zero metrics on the widget.
- Zero: –It will merge all zero metrics on the widget.

## Compare Metrics

This menu is available on the metric node or metric group node. It will display the last level of Indices/Vector hierarchy as "All" and the rest all the parents as "Same" and the "Show Together" flag is off. The rule for applying this option is the same as the Merge option i.e. It will display the last level of Indices/Vector hierarchy as "All" by showing them in one widget and the rest of all the parents as "Same". The difference will come when the user does this operation at the parent node level or with multi-selected metrics, and in this case, the different metrics data will always be shown in different widgets/panels but in case of a merge, all the metrics data still be merged in a single widget/panel.

- All: –It will merge all metrics of all values on the widget.
- Non-Zero: –It will merge all non-zero metrics on the widget.
- Zero: –It will merge all zero metrics on the widget.

## Advance

It opens a window for advance options to open or merge or compare metrics.

## Create Derived Metrics

This menu is to create derived metrics using selected metrics. This menu is available for any metric or metric group. It has two sub-menus-

- Group by… –It will merge all metrics of all values on the widget.
- Advance… –It will merge all zero metrics on the widget.

## Show Description

- This feature is used to display the description of the metrics at the Metric group level as well as the metric level.
- To view the description of metric(s), right-click the metric group level (to get the description of all metrics of that group) or metric level (to get the description of a particular metric only)
- Click the Show Description button.

## Open Related Metrics

This functionality is used to open such metrics from the tree, which are having related hierarchy in the same or across groups. This option is displayed for any hierarchical component of the subject value like tier, server, instance, Interface, Destination, DiskPartition, Processor, etc. It has four sub-menus. It can be an exact match or a partial match. For example, the user trying to find an open related to Tier>Server then an exact match is Tier>Server, and a partial match is Tier>Server>Instance or Tier>Server>Device or Tier>Server>Instance>BTFor menu All/Non-zero/Zero no window will open, and it will find open related metrics with exact match till the subject on which the user applied it. For the last subject, it will apply as 'All' but for the above subjects it will apply as 'Same'For example if the user applied Open Related Members on T1>S1 (Tier>Server) then it will find those metrics which have subjects Tier>Server only and Tier T1 but Server all.

- All: –It will find related metrics based on the above definition without any filter on data.
- Non-Zero: –It will search metrics for which all samples don't have zero value. Hierarchy matching will be the same as ‘All’.
- Zero: –It will search metrics for which all samples have zero value. Hierarchy matching will be the same as ‘All’.
- Advanced: –It will open a new window.

## Parameterize

- The User can create dynamic favorites by Tier.
- This functionality bundles customized favorites with metrics related to a single Tier.
- It reduces the efforts to create multiple favorites for different tiers. favorites can be dynamically changed with parameterization.