Skip to main content
Version: NG-3.1

KPI Visualization

The KPI visualization displays key performance indicators (KPIs) in a summarized format, enabling users to quickly assess the health, status, and performance of monitored systems, applications, services, and business processes. KPI visualizations are designed to present important metrics as individual values, making it easy to identify current performance levels without analyzing detailed charts or tables. KPI visualizations can be configured using the Query Builder, which allows users to define the data source, metric selection, aggregation logic, filtering criteria, and result limits.

Creating a KPI Visualization

To create a KPI visualization:

  1. Select KPI from the Visualization Type drop-down.
  2. Configure the query using the Query Builder.
  3. Select the required KPI metrics to display.
  4. Review the generated query summary.
  5. Validate the results in the Preview Panel.
  6. Configure optional customization settings if required.
  7. Click Save.

Query Configuration

KPI visualizations use the standard Query Builder framework available in Smart-Frame Studio. The Query Builder allows you to:

  • Select the data source.
  • Choose a data model.
  • Select predefined metrics.
  • Configure aggregations.
  • Apply filters where applicable.
  • Review query summaries before execution.

For detailed information about all Query Builder fields and configuration options, see Query Builder.

Preview Panel

The Preview Panel displays the KPI values generated by the configured query. As configuration changes are applied, the preview updates automatically to reflect the latest query settings.

The preview can be used to:

  • Validate KPI results.
  • Verify selected metrics and aggregations.
  • Confirm the displayed values.
  • Review KPI output before saving the visualization.

If no data is returned, the preview displays a No Data message.

note

For KPI visualizations, KPI values are displayed in the Preview Panel only after the required KPI display settings are configured under Customizations > KPI Controls. If KPI Controls are not configured, the preview may not display the expected KPI output. For more information, see KPI Controls.

KPI Characteristics

KPI visualizations are designed to display:

  • Single-value performance indicators.
  • Aggregated metric values.
  • Business and operational KPIs.
  • Service health indicators.
  • Application performance metrics.
  • Infrastructure monitoring metrics.
  • Real-time or historical summary values.

Each selected metric is displayed as an individual KPI card, allowing users to quickly evaluate important operational data.

Common Use Cases

KPI visualizations are commonly used for:

  • Application response time monitoring.
  • Error rate tracking.
  • Service availability monitoring.
  • Transaction volume reporting.
  • Infrastructure utilization monitoring.
  • Capacity management.
  • SLA compliance monitoring.
  • Business performance tracking.
  • Executive dashboards.
  • Operational overview dashboards.

Example

A KPI visualization may be configured to display:

  • P50 Response Time
  • P95 Response Time

for the selected time range, enabling users to quickly compare median and high-percentile response latency values without reviewing detailed trend charts.

Similarly, KPI visualizations can be used to display:

  • Total Requests
  • Error Percentage
  • CPU Utilization
  • Memory Usage
  • Active Alerts
  • Service Availability

allowing users to obtain an immediate view of system health and performance.

Customizations

KPI Controls

The KPI Controls section allows users to customize the appearance and presentation of KPI metrics displayed within a KPI visualization. These settings help provide meaningful labels, descriptions, and visual identifiers for KPI values, making dashboards easier to understand and interpret.

KPI Controls enable users to:

  • Configure display titles for KPI metrics.
  • Add descriptive information for KPI cards.
  • Associate icons with KPI metrics.
  • Display multiple KPI cards within a single visualization.
  • Improve dashboard readability and business context.

Each KPI metric can be customized independently.

Configuring KPI Controls

To configure KPI Controls:

  1. Expand the KPI Controls section.
  2. Click Add Metric.
  3. Select the metric to configure.
  4. Provide a title for the KPI.
  5. Optionally enter a description.
  6. Optionally select an icon.
  7. Repeat the process for additional KPI metrics if required.
  8. Save the visualization.

Metric Selection

The metric selector determines which KPI value will be customized. Only metrics configured in the Query Builder are available for selection.

Examples:

  • p50_ms
  • p95_ms
  • error_pct
  • rpm

Each selected metric creates an independent KPI card within the visualization.

Title

The Title field specifies the display name shown for the KPI card. The configured title appears above the KPI value in the visualization preview.

Example:

MetricDisplay Title
p50_msP50
p95_msP95 Latency
error_pctError Percentage

Custom titles help make KPI values easier to understand for dashboard consumers.

Description

The Description field allows users to provide additional information about the KPI metric.

Descriptions can be used to:

  • Explain the purpose of the KPI.
  • Provide business context.
  • Clarify metric calculations.
  • Improve dashboard usability.

The description is displayed wherever KPI metadata is supported.

Icon

The Icon field allows users to associate an icon with a KPI metric. Icons help visually distinguish KPI cards and improve dashboard readability. Users can select from the list of available system icons. Common examples are shown below:

The selected icon is displayed alongside the KPI information where supported.

Adding Multiple KPI Metrics

A KPI visualization can display multiple KPI cards simultaneously.

To add additional KPI cards:

  1. Click Add Metric.
  2. Select another metric.
  3. Configure the title, description, and icon.
  4. Save the visualization.

Each configured metric is displayed as a separate KPI card in the visualization.

Removing KPI Configurations

To remove a KPI configuration:

  1. Locate the KPI configuration row.
  2. Click the Delete icon.
  3. Save the visualization.

The selected KPI configuration is removed immediately.

note

KPI Controls define how KPI metrics are presented in the visualization. At least one KPI metric should be configured in KPI Controls to properly preview KPI cards and validate the final visualization layout.

Units and Formatting

Value Format

The Value Format section allows users to control how KPI values are calculated, formatted, and displayed within the visualization. These settings improve readability and help present metric values in a meaningful format without modifying the underlying data. Users can configure formatting rules independently for each KPI metric included in the visualization.

To configure value formatting:

  1. Expand Units and Formatting.
  2. Under Value Format, click Add Metric.
  3. Select the required metric.
  4. Select the appropriate formatting type.
  5. Configure the available formatting options.
  6. Preview the changes in the visualization.
  7. Repeat the process for additional metrics if required.

Metric

The Metric field allows users to select the KPI metric to which the formatting configuration will be applied. Only metrics configured in the KPI visualization are available for selection.

Example metrics may include:

  • p50_ms
  • p95_ms
  • error_pct
  • rpm

Each metric maintains its own formatting configuration.

Type

The Type field determines the formatting category applied to the selected metric. The available formatting options may vary depending on the selected type.

Input Unit

The Input Unit field specifies the original unit of the selected metric. Available units depend on the selected formatting type.

The selected unit is used as the source value for formatting calculations.

Display Unit

The Display Unit field determines how the metric value is displayed in the visualization.

Users can:

  • Select a specific display unit.
  • Enable automatic scaling.
  • Convert values to a different unit for presentation purposes.

This helps improve readability when working with large or small values.

Decimal Limit

The Decimal Limit field controls the number of decimal places displayed for the selected metric.

Example:

Decimal LimitOutput
110.5
210.54
310.543

Reducing decimal precision can improve dashboard readability while maintaining the required level of accuracy.

Rounding

The Rounding field determines how decimal values are rounded before being displayed.

Available options include:

OptionDescription
Round (Default)Rounds values to the nearest decimal.
CeilAlways rounds values upward.
FloorAlways rounds values downward.

The selected option affects only the displayed value.

Prefix

The Prefix field allows users to add custom text before the displayed KPI value.

Example:

PrefixOutput
$$100
₹500

This is useful when displaying currency values or custom labels.

Suffix

The Suffix field allows users to append custom text after the displayed KPI value.

Example:

SuffixOutput
ms250 ms
%95 %
req/s120 req/s

Suffixes help provide additional context for KPI values.

Managing Multiple Value Format Configurations

Users can configure value formatting for multiple KPI metrics within the same visualization.

To add additional formatting configurations:

  1. Click Add Metric.
  2. Select another KPI metric.
  3. Configure the required formatting options.
  4. Save the visualization.

Each metric can maintain its own unit conversion, decimal precision, rounding behavior, and prefix/suffix settings.

Removing a Value Format Configuration

To remove a value formatting configuration:

  1. Locate the configured metric.
  2. Click the Delete icon.
  3. Save the visualization.

The selected formatting configuration is removed immediately.

note

Changes made in the Value Format section are reflected immediately in the KPI preview panel, allowing users to validate formatting before saving the visualization.

Locale and Formatting Style

The Locale and Formatting Style section allows users to control how KPI values are displayed based on regional formatting standards. These settings influence the appearance of currency symbols, number grouping, sign representation, and exponent notation without changing the underlying metric values. Users can configure locale-specific formatting independently for each KPI metric.

To configure locale and formatting settings:

  1. Expand Units and Formatting.
  2. Under Locale and Formatting Style, click Add Metric.
  3. Select the required KPI metric.
  4. Choose the desired locale.
  5. Configure currency, sign, exponent, and grouping options.
  6. Verify the changes in the Preview panel.
  7. Repeat the process for additional metrics if required.
Metric

The Metric field allows users to select the KPI metric to which locale and formatting settings will be applied. Only metrics configured in the KPI visualization are available for selection.

Example metrics may include:

  • p50_ms
  • p95_ms
  • error_pct
  • rpm

Each metric can have its own locale and formatting configuration.

Locale

The Locale field determines the regional formatting standard used when displaying metric values.

The selected locale influences currency symbols, number separators, grouping conventions, and other regional formatting preferences.

Currency Type

The Currency Type field specifies the currency symbol used when displaying KPI values. This setting is primarily used when KPI values represent financial metrics.

Show Currency Symbol

The Show Currency Symbol field controls the position of the selected currency symbol.

Available options:

OptionDescription
Before ValueDisplays the currency symbol before the value.
After ValueDisplays the currency symbol after the value.

Examples:

ConfigurationOutput
Before Value€100
After Value100€
Sign Style

The Sign Style field controls how positive and negative values are displayed.

Available options include:

OptionDescription
Auto (Only Negatives Show -)Displays a sign only for negative values.
Show Always (+/-)Displays a sign for both positive and negative values.
Parentheses (Negatives as (123))Displays negative values within parentheses.

Examples:

StyleOutput
Auto-100
Show Always+100
Parentheses(100)
Exponent Style

The Exponent Style field determines how large numeric values are represented using scientific notation.

Available options include:

OptionExample Output
e Notation1.23e+4
E Notation1.23E+4

This setting is useful when displaying very large or very small metric values.

Grouping

The Grouping field controls how digit separators are applied to large numbers.

Available options include:

OptionExample
LocaleUses separators based on the selected locale.
ThousandDisplays numbers using standard thousand separators.
IndianDisplays numbers using the Indian numbering system.

Examples:

Grouping StyleOutput
Thousand1,234,567
Indian12,34,567
LocaleBased on locale-specific conventions
Managing Multiple Locale Configurations

Users can configure locale and formatting settings for multiple KPI metrics within the same visualization.

To add additional configurations:

  1. Click Add Metric.
  2. Select another KPI metric.
  3. Configure the required locale and formatting options.
  4. Save the visualization.

Each metric can maintain its own locale, currency settings, sign display behavior, exponent notation, and grouping style.

Removing a Locale Configuration

To remove a locale configuration:

  1. Locate the configured metric.
  2. Click the Delete icon.
  3. Save the visualization.

The selected configuration is removed immediately.

note

Changes made in the Locale and Formatting Style section are reflected immediately in the Preview panel, allowing users to validate regional formatting preferences before saving the visualization.

Data Controls

The Data Controls section allows users to define visual thresholds and configure value mapping rules for KPI values. These settings help improve data interpretation by highlighting critical values, applying conditional formatting, and displaying meaningful labels for specific values or missing data.

The Data Controls section contains the following options:

  • Thresholds
  • Value Mapping & Missing Values

Thresholds

Thresholds allow users to apply conditional formatting to KPI values based on predefined conditions. Thresholds can be used to visually distinguish KPI states such as normal, warning, or critical conditions. Users can apply threshold colors to either the KPI text or the KPI background.

Apply Color To

The Apply Color To option determines where the threshold color is displayed.

Available options:

OptionDescription
TextApplies threshold colors to the KPI value text.
BackgroundApplies threshold colors to the KPI background.
Threshold Inheritance

Thresholds can be inherited from the associated Data Model or configured directly within the visualization.

Available options:

OptionDescription
Custom ThresholdAllows users to define threshold rules specifically for the current visualization.
Data Model DefinedUses threshold configurations inherited from the selected Data Model.
Creating a Custom Threshold

To create a custom threshold:

  1. Select Custom Threshold.
  2. Click Add Metric.
  3. Select the KPI metric.
  4. Click Add Threshold.
  5. Configure the threshold condition.
  6. Select a threshold color.
  7. Save the visualization.
Threshold Configuration

Each threshold rule consists of the following fields:

Metric

Select the KPI metric for which the threshold rule should be applied. Available metrics are based on the configured KPI metrics in the visualization.

Examples:

  • p50_ms
  • p95_ms
Type

Select the threshold evaluation method.

Available options:

TypeDescription
StaticCompares the metric against a fixed value.
ComparisonCompares the metric against another KPI metric.
ExpressionEvaluates the threshold using a custom expression.
Threshold Color

Select a color that should be applied when the threshold condition is satisfied. The selected color is displayed either on the KPI text or KPI background based on the Apply Color To setting.

Operator

Defines the comparison condition used to evaluate the threshold.

Value

Specify the comparison value used by the threshold rule.

For example:

ConditionResult
p50_ms <= 650Apply configured threshold color
p95_ms >= p50_msApply configured threshold color
Multiple Thresholds

Multiple threshold rules can be added for the same metric.

To add additional threshold rules:

  1. Select the metric.
  2. Click Add Threshold.
  3. Configure the new threshold condition.
  4. Save the visualization.

Thresholds are evaluated independently and reflected immediately in the Preview panel.

Removing Thresholds

Users can remove:

  • Individual threshold rules using the Delete icon beside the rule.
  • Entire metric threshold configurations using the Delete icon beside the metric.
note

Threshold colors are displayed immediately in the Preview panel, allowing users to validate threshold behavior before saving the visualization.

Value Mapping & Missing Values

The Value Mapping & Missing Values section allows users to customize how KPI values are displayed in the visualization. Users can define replacement labels for specific values or value ranges, configure colors, and specify how missing or unavailable values should be presented.This feature improves dashboard readability by converting raw metric values into meaningful business-friendly outputs.

Missing Value

The Missing Value field defines the placeholder value displayed when the visualization does not receive any data.

Users can specify a custom text or symbol to represent:

  • Null values
  • Empty results
  • Missing metrics
  • Unavailable data

For example:

Input ConditionDisplay Value
No Data-
Null ValueN/A
Empty ResultNot Available
note

The configured missing value is displayed only when no valid data is returned by the query.

Apply Color To

Determines where the value mapping color is applied.

Available options:

OptionDescription
TextApplies the selected color to the displayed KPI value text.
BackgroundApplies the selected color to the KPI background.
Value Mapping

Value Mapping enables users to replace KPI values with custom display labels and apply visual formatting based on matching conditions. Click Add Metric to create a value mapping rule.

Metric

Select the KPI metric for which value mapping should be applied. Available metrics are populated from the configured KPI metrics in the visualization.

Examples:

  • p50_ms
  • p95_ms
Mapping Type

Defines how values are evaluated for replacement.

Available options:

TypeDescription
ValueMaps a specific metric value to a custom display value.
RangeMaps a range of metric values to a custom display value.
Value-Based Mapping

Use Value mapping when a single metric value should be replaced.

Configuration fields:

FieldDescription
Match ValueThe metric value to match.
Display ValueThe replacement value displayed in the KPI.

Example:

Match ValueDisplay Value
0Healthy
1Warning
2Critical

When the KPI value matches the specified value, the configured display value is shown instead.

Range-Based Mapping

Use Range mapping when a range of values should be mapped to a custom display value.

Configuration fields:

FieldDescription
Start ValueLower bound of the range.
End ValueUpper bound of the range.
Display ValueReplacement value displayed when the metric falls within the range.

Example:

Start ValueEnd ValueDisplay Value
100200Moderate
201500High
5011000Critical

If the KPI value falls within the configured range, the specified display value is displayed.

Color Indicator

Each value mapping rule can be assigned a color using the color selector. The selected color is applied according to the Apply Color To setting:

  • Text
  • Background

This helps visually categorize KPI values and ranges.

Managing Value Mapping Rules

Users can perform the following actions:

ActionDescription
Add MetricCreates a new metric mapping configuration.
Add Additional Mapping RulesConfigure multiple mappings for the same metric.
Reorder RulesDrag and rearrange mapping rules using the drag handle.
Delete RuleRemove an individual mapping rule.
Delete Metric MappingRemove all mappings associated with a metric.
note

Value mapping changes only the displayed output in the visualization. The underlying metric value and query results remain unchanged.

Historical Comparison

The Historical Comparison section allows users to compare current KPI values with data from a previous time period or a specific historical time range. This helps identify trends, measure performance changes, and analyze how current metrics differ from past observations. Users can configure one or more historical comparison settings for each KPI metric.

Add Metric

Click Add Metric to select the KPI metric for which historical comparison should be configured. Available metrics are populated from the metrics defined in the visualization.

Examples:

  • p50_ms
  • p95_ms

Each selected metric can have multiple historical comparison configurations.

Historical Settings

The Historical Settings section is used to define comparison rules for the selected metric.

Click Add Historical Setting to create a new comparison configuration. Each configuration consists of:

FieldDescription
TitleName displayed for the comparison configuration.
Comparison TypeDefines how historical data is selected.
Time ConfigurationSpecifies the historical time period used for comparison.
Title

Enter a meaningful name for the comparison configuration.

Examples:

  • Previous Hour
  • Yesterday

The title is used to identify the comparison setting within the visualization.

Comparison Type

Users can choose one of the following comparison methods:

Historical Time

Compares the current metric value against a relative historical time period.When Historical Time is selected, users can choose a predefined time shift.

The selected time shift determines the historical period used for comparison.

For example:

Current Time RangeHistorical Time Shift
Last 30 MinutesCompare with previous 30 minutes
Last 24 HoursCompare with previous day
Last 7 DaysCompare with previous week
End Time

Determines the reference point used for calculating the historical comparison period.

Available options:

OptionDescription
Global TimeUses the dashboard or visualization time range as the reference point.
Current TimeUses the current system time as the reference point.
Absolute

Use Absolute when comparison must be performed against a fixed date and time range. When selected, users must specify:

FieldDescription
Start TimeBeginning of the historical comparison period.
End TimeEnd of the historical comparison period.

Date and time values can be selected using the date-time picker. The current KPI values are compared against data collected during the specified historical period.

Managing Historical Comparison Settings

Users can perform the following actions:

ActionDescription
Add MetricAdd a KPI metric for historical comparison.
Add Historical SettingCreate additional comparison configurations for a metric.
Delete Historical SettingRemove an individual comparison configuration.
Delete MetricRemove all historical comparison settings associated with a metric.
Example Scenarios
Compare Current Performance with Previous Hour
TitleTypeTime Shift
Previous HourHistorical TimeLast 1 Hour

Compares the current KPI value against data from the previous hour.

Compare with Last Week
TitleTypeTime Shift
Weekly ComparisonHistorical TimeLast 7 Days

Compares the current KPI value against data from the corresponding period in the previous week.

note

Historical Comparison provides contextual insights by evaluating current KPI values against past data. It does not modify the underlying metric values and is used solely for comparison and trend analysis.