Metrics
Metrics plots the values your instruments send (cell counts, turbidity, temperature, pH and so on) over time. Use it to follow a process, compare sites, or look back at what happened around an alarm. Every role can open it and use all of its controls. Only sharing a view with the whole workspace needs the Manager or Admin role.
The screen draws charts from series. A series is one metric from one device, at one location, under one tag. For example: Raw Water Intake - BactoSense Intake - Total Cell Count, tag Raw water.
The router reads most instruments every 2 seconds and sends one value per minute: the average of those readings, without outliers. A minute with too few readings, and the minutes within a FlowControl’s settle time after a flow switch, are marked as uncertain and left out of alarms and charts over 6 hours. A BactoSense sends one value per measurement.
Eleven series in five charts, grouped by metric. The three transmitter charts carry the same reading from all three measuring points; the two below show what the flow cytometer reports for the same water. The badge on Series counts the series, and the period button shows the 14 days charted.
When you open it
Section titled “When you open it”The first time you open Metrics, no series are selected and the screen reads No metrics selected. The period is the last 6 hours, with live updates running. After that, the screen remembers your series, period, grouping, scale and chart size in this browser for this workspace. It reopens the way you left it.
Links from elsewhere in the app, such as View metrics on a triggered alarm, open the screen with their own series and period.
The header
Section titled “The header”| Control | What it does |
|---|---|
| Export metrics | Downloads the selected series over the current period as an Excel file. Disabled until at least one series is selected. See Export metric data. |
| The menu (⋮) | Refresh fetches the series list and all chart data again. On a phone, the menu also holds Start live updates, Export metrics and Chart controls. |
The toolbar
Section titled “The toolbar”From left to right:
| Control | What it does |
|---|---|
| Views | Saved selections: My Views, Shared Views and Create view. When a view is open, the button shows its name. The Update view and Discard changes buttons appear next to it. See Save and share a view. |
| Series | Chooses what to plot. The badge shows how many series are selected. |
| Grouping: | Group charts by Location, Device and Metric. Together they decide which series share a chart. At least one stays on. |
| Shift back (2x) and Shift back move the period back by two or one times its length. | |
| The period | Shows the start and end of the period. Open it to pick a preset or a custom range. Times are in the workspace’s time zone, named at the bottom. |
| Shift forward and Shift forward (2x). The period never moves past the current time. | |
| / | Start live updates / Stop live updates. The button is red while live. |
| Zoom out doubles the period; Zoom in halves it, around its middle. Zooming out stops at 90 days. | |
| Scale (two-headed arrow) | Switches the vertical axis between Dynamic and Fixed (start at 0). |
| Bands | Show min/max bands / Hide min/max bands. Disabled for periods of 6 hours or less. |
Shifting, zooming or picking a custom range stops live updates.
On a phone, the toolbar shows only Series and the period. Views, grouping, Shift range, Scale and the bands switch are in › Chart controls.
The series selector
Section titled “The series selector”Series opens a list of every series in the workspace that has data in the current period.
- Search filters the list by any name in it: location, device, metric or tag.
- View by location () sorts the list as Location › Device › Metric › Tag. View by tag sorts it as Tag › Metric › Location › Device. Both show the same series.
- A checkbox at any level selects everything under it. A partly filled box means some of the series below are selected.
- {n} series hidden (no data in range) counts the series with no values in the period. Select Show series without data in range to list them too.
- Clear selection removes every series and closes the view you had open.
There is no separate list by metric type. To find one metric at every site, type its name in the search box.
The charts
Section titled “The charts”Each chart is a card. Its title names what the series in it have in common. For example, with all three grouping buttons on, the title reads Location - Device - Metric. The legend under the chart names each line: its tag, plus any location, device or metric the title leaves out.
- Hover over a chart to see the values of all its lines at that moment.
- Drag across a chart to zoom to that stretch of time. The whole screen follows. Hold Shift while dragging to zoom the vertical axis of that one chart instead. To undo that, double-click the chart or select the reset button in its top-right corner.
- Drag a chart by its handle (, Drag to reorder) to move it. The handle is not shown on phones.
- Resize from the bottom-right corner. All charts take the new size. The width snaps to one, two, three or more columns; the height runs from 120 to 800 pixels.
- A badge such as 2 units next to the title means the chart mixes units. Each unit gets its own axis, so lines may not line up with the scale you are reading. Hover for exact values.
- On a series that comes from flow-cytometry samples, the hover box ends with Click to view sample. Clicking the point opens that sample, with arrows to step to the samples before and after it.
Dynamic or fixed scale
Section titled “Dynamic or fixed scale”Dynamic (the default) fits the vertical axis to the values shown, so small changes are easy to see. Use it to spot a trend or a step change.
Fixed (start at 0) starts the axis at zero, so the height of a line is in proportion to its value. Use it to judge how large a change really is. On a dynamic axis, a rise from 0.30 to 0.35 FNU can fill the whole chart.
Raw values, averages and min/max bands
Section titled “Raw values, averages and min/max bands”How much detail a chart shows depends on the length of the period:
| Period | What each point is |
|---|---|
| Up to 6 hours, within the last 7 days | A value as the instrument sent it |
| Up to 7 days | The average of one minute |
| Longer than 7 days | The average of 15 minutes |
The server stores values in these three resolutions: raw values, 1-minute averages and 15-minute averages. It keeps raw values for 7 days. An average can hide a short spike. Show min/max bands shades the lowest and highest value within each averaged point behind the line, so a spike still shows as a band. Bands are only available when points are averaged, which is for periods longer than 6 hours.
What this screen does not do
Section titled “What this screen does not do”- There is no table view. To see the numbers, export them or hover over a chart.
- You cannot change a metric’s unit, number of decimals, or name here. That is set for the whole workspace in Settings › Workspace Settings › Metrics. See Add and edit metrics.
- Tag names and colors come from Settings › Workspace Settings › Tags. See Manage tags.
- Plot metrics — choose series, set the period and read the charts
- Save and share a view — keep a selection to come back to, for yourself or the workspace
- Export metric data — download the values as an Excel file