Metric
| Name (singular): | Metric |
| Name (plural): | Metrics |
| Alias (uri): | metric |
| Identifier (ID): | cerb.contexts.metric |
Usage tracking
Metric worklists offer a 'Dataset' sparklines column charting min, max, average, sum, and count, with a 2h/1d/30d range toggle.
Records API
These fields are available in the Records API and packages:
| Req'd | Field | Type | Notes |
|---|---|---|---|
created_at |
timestamp | The date/time when this record was created | |
description |
text | ||
dimensions_kata |
text | ||
links |
links | An array of record type:id tuples to link to. Prefix with - to unlink. |
|
| x | name |
text | The name of this metric |
type |
text | [counter, gauge] | |
updated_at |
timestamp | The date/time when this record was last modified |
Dictionary Placeholders
These placeholders are available in dictionaries for automations, snippets, and API responses:
| Field | Type | Description |
|---|---|---|
_context |
text | Record type extension ID |
_label |
text | Label |
_type |
text | Record type alias |
created_at |
date | Created |
description |
text | Description |
dimensions_kata |
text | Dao.metric.dimensions_Kata |
id |
number | Id |
name |
text | Name |
record_url |
text | Record Url |
type |
text | Type |
updated_at |
date | Updated |
These optional placeholders are also available with key expansion in dictionaries and the API:
| Field | Type | Description |
|---|---|---|
custom_<id> |
mixed | Custom Fields |
dimensions |
hashmap | Dimensions |
links |
links | Links |
watchers |
watchers | Watchers |
Search Query Fields
These filters are available in metric search queries:
| Field | Type | Description |
|---|---|---|
created: |
date | Created |
description: |
text | Description |
fieldset: |
record | Fieldset |
id: |
number | Id |
links: |
links | Record Links |
name: |
text | Name |
type: |
text | Type |
updated: |
date | Updated |
watchers: |
record | Watchers |
Worklist Columns
These columns are available on metric worklists:
| Column | Description |
|---|---|
cf_<id> |
Custom Field |
m_created_at |
Created |
m_description |
Description |
m_id |
Id |
m_name |
Name |
m_type |
Type |
m_updated_at |
Updated |