Daily Summary Grid

Prev Next

Displays a summary of the occurred events and relevant metrics updates on a daily basis grid.

Daily Summary Grid

With this widget, DPS users can get an overview, day by day, of what has happened on the machine, including:

  • Meaningful events (e.g. a failure, anomalies)

  • Changes to configuration parameters (e.g. a temperature setpoint)

  • Measurements outside the critical or warning threshold (e.g. high temperature detected).

By clicking on a day cell, the widget expands to display more details about the events or measure changes.

Component Reference

Here is a comprehensive list of all the elements and properties that can be used to configure the component.

Daily Summary Grid <daily-summary-grid-widget>

Description

The description of the widget.

Name: description

Type: STRING | Optional

description="abc"

Title

The title displayed on the top part of the widget box.

Name: title

Type: STRING | Optional

[title]="'abc'"

Data

Default Loading Period

The default date and time filtering period applied when entering the page.

Name: config.defaultPeriod

Type: ENUM | Optional

Values: TODAY, YESTERDAY, LAST_7_DAYS, LAST_30_DAYS, THIS_MONTH, LAST_MONTH, LAST_6_MONTHS, LAST_12_MONTHS

Default Value: LAST_30_DAYS

[config]="{defaultPeriod: 'TODAY'}"

Period Reference

Name: inputs.periodRef

Type: STRING | Optional

[inputs]="{periodRef: 'abc'}"

Events

Event Names

The exact names of the events to display on the Y axis. If there are no occurrences for a given event, it will be discarded.

Name: config.eventNames

Type: STRING | Optional

[config]="{eventNames: 'abc'}"

Event Query

The query used to filter events.

Name: config.eventQuery

Type: QUERY | Optional

Predicates: beginsWith, eq, neq, gt, gte, isEmpty, isNotEmpty, lt, lte, like, notLike

[config]="{eventQuery: [{property:'prop1', predicate: 'eq', value: 'foo'}, {property:'prop2', predicate: 'in', value: ['bar', 'baz']}]}"

Event Query Reference

The id of the page's <search-field> used to filter events.

Name: inputs.eventQueryRef

Type: STRING | Optional

[inputs]="{eventQueryRef: 'abc'}"

Show Event Count

The number of daily events is displayed in each cell of the grid.

Name: config.showEventCount

Type: BOOLEAN | Optional

Default Value: false

[config]="{showEventCount: true}"

Show Event Severity

The cell related to an event is colored according to the event severity.

Name: config.showEventSeverity

Type: BOOLEAN | Optional

Default Value: false

[config]="{showEventSeverity: true}"

Sort By Occurrences

If selected, events are sorted by frequency (in descending order), otherwise by name (in ascending order).

Name: config.sortByOccurrences

Type: BOOLEAN | Optional

Default Value: false

[config]="{sortByOccurrences: true}"

Metrics

Metric Group Names

The exact names of the metric groups to display on the Y axis.

Name: config.metricGroupNames

Type: STRING | Optional

[config]="{metricGroupNames: 'abc'}"

Show Metric Highlight Count

The number of daily metric highlights is displayed in each cell of the grid.

Name: config.showMetricHighlightCount

Type: BOOLEAN | Optional

Default Value: false

[config]="{showMetricHighlightCount: true}"

Rendering

CSS Class

The name(s) of the CSS class used to customize the widget layout.

Name: class

Type: STRING | Optional

class="abc"

Height

The height of the widget (e.g. 250px).

Name: height

Type: STRING | Optional

Default Value: 300px

height="abc"

Visibility Condition

The expression that allows you to reduce the visibility of the element.

Name: *ngIf

Type: STRING | Optional

*ngIf="abc"

Sub Elements

Metric

The metric whose current value must be displayed within the widget.

Metric <metric>

Filter

The name of the filter used to transform and display values.

Name: filter

Type: FILTER | Optional

filter="dateFormat"

Name

The metric whose value(s) must be loaded by the widget.

Name: name

Type: METRIC | Required

name="metricName"

Unit

The unit of measurement to be displayed along the value.

Name: unit

Type: STRING | Optional

unit="abc"

Display Options

Group

The name used to group similar metrics together. The widget will display a row for each group or metric without a group.

Name: config.group

Type: STRING | Optional

[config]="{group: 'abc'}"

Highlight

Define what the widget should display for the metric. You can choose whether to highlight each time the metric value is changed (e.g. settings) or whether to highlight when the metric value is in WARNING or CRITICAL status.

Name: config.highlight

Type: ENUM | Optional

Values: VALUE_CHANGE, VALUE_SEVERITY

Default Value: VALUE_CHANGE

[config]="{highlight: 'VALUE_CHANGE'}"