Frame Component Types¶
BizMetry supports different frame component types, aligned with the diverse needs businesses have regarding the information to be instrumented and captured — with the ultimate goal of contributing to KPIs and operational reports.
Each component type enables capturing a specific kind of information. The following sections describe each type in detail, including its configuration options and validation behavior.
Each row of the Frame Type editor has a Type pill: click it to open the component type drop-down — Custom, Field Reference, Object Reference, Object Field Reference and Nested Table, each with its icon — and pick a type. A check marks the current one. For a Custom component the Details column becomes editable inline (data type and its parameters); for the reference types it shows the resource type and attribute selectors.
Every component type shows up in the Business Event mapper with its own pill, and is mapped in its own way — see In the Business Event mapper in each section below.
OBJECT_REFERENCE¶
An OBJECT_REFERENCE component captures a reference to a specific ASBO instance by storing its primary key (PK) value. Rather than embedding the full object data in the telemetry frame, the component records only the identifier — a lightweight pointer that BizMetry can resolve to the full ASBO instance at analysis time.
This design is intentional: it keeps telemetry frames compact while still enabling downstream aggregation, filtering, and KPI computation against the referenced business object.
When to use OBJECT_REFERENCE
In the AGENT_INVOCATION frame type, each invocation should be associated with the LLM model that served it. The frame type has an OBJECT_REFERENCE component, LLM_MODEL, pointing to the aimodel ASBO type. At capture time, the agent records the identifier of the model used — the model id returned by invokeAgent — rather than the model's data. BizMetry can later use that reference to enrich reports and correlate invocations with model-level attributes such as cost per token or context window.
Selecting the Target ASBO Type¶
When OBJECT_REFERENCE is chosen as the component type, BizMetry displays a dropdown to select which ASBO type the component will point to. In this example, LLM_MODEL in AGENT_INVOCATION points to aimodel — the same component shown in the Business Event mapper further down; once selected, the resource type is also shown as a chip below the dropdown.
Only ASBO types with a configured primary key appear in the list
BizMetry uses the PK mapping to unambiguously identify which instance of the ASBO is being referenced. If an ASBO type has no attribute designated as its primary key, BizMetry has no reliable way to resolve the reference — so those types are excluded from the dropdown.
To designate an attribute as a primary key, open the template editor, navigate to the target resource type, and edit its attributes. In the attribute list, select the radio button in the PK column next to the attribute that should serve as the primary key.
How ASBO Instances Are Populated¶
The actual instances that can be referenced at runtime are managed through the Resources tab of the Profile editor. From there, instances belonging to the profile's configured environments can be imported directly from connected datasources. Once imported, those instances become available for PK-based resolution by the agents deployed across the profile's environments.
In the Business Event mapper¶
The component shows an OBJECT_REFERENCE pill and the resource type it points to. Map the source field that identifies the object — its key. In this example LLM_MODEL points to the aimodel resource type, and is fed by $.model from the response of invokeAgent: the model id that identifies the aimodel instance used.
CUSTOM¶
A CUSTOM component captures a standalone scalar value not tied to any existing ASBO attribute or instance. When this type is selected, BizMetry allows the operator to choose a scalar sub-type from the supported set.
Supported Scalar Sub-types¶
| Sub-type | Description |
|---|---|
| String | Character sequence with configurable maximum length and optional regex validation pattern |
| Integer | Whole number with configurable minimum and maximum boundaries |
| Float | Floating-point decimal value with configurable minimum and maximum boundaries |
| Boolean | Boolean value (true / false) |
| Date | Calendar date |
| Timestamp | Generic date-time value capturing a precise point in time |
| Enum | Enumerated type with a predefined set of allowed values configured by the operator |
String¶
Indicates that the value to be captured is a lexicographic character sequence of a given length, conforming to a specified regular expression pattern. The regex pattern acts as a filter, ensuring that values captured through manual or automatic instrumentation match it. If a captured value does not match the pattern, it is automatically discarded from the telemetry frame by the agent during data ingestion and curation.
Integer¶
Represents a whole number value with configurable lower and upper bound thresholds. Any captured value that falls below the lower bound or exceeds the upper bound is automatically discarded by the agent during data ingestion and curation.
Float¶
Represents a floating-point decimal value with configurable lower and upper bound thresholds. Any captured value that falls below the lower bound or exceeds the upper bound is automatically discarded by the agent during data ingestion and curation.
Boolean¶
Represents a binary true / false value. Any captured value other than true or false is automatically ignored by the agent during data ingestion and curation.
Date¶
Represents a calendar date. The agent validates that the captured value conforms to the expected date format during ingestion.
Timestamp¶
Represents an exact point in time. The agent validates that the captured value conforms to a valid timestamp format during ingestion.
Enum¶
Represents a value within a predefined set of allowed enumerated values. BizMetry allows the operator to configure the list of valid values for this sub-type. If a captured value does not match any entry in the configured list, it is automatically ignored by the agent during data ingestion and curation.
In the Business Event mapper¶
The component shows a CUSTOM pill and its own data type (for example STRING). It isn't tied to any resource: map whatever source field carries the value — or compute it with a BMEL expression. In this example AGENT_QUERY receives $.query from the request of invokeAgent, the question the agent was asked.
FIELD_REFERENCE¶
A FIELD_REFERENCE component captures the value of a specific attribute from an ASBO type, embedding it directly into the telemetry frame at capture time. Unlike OBJECT_REFERENCE — which stores only the identity of an object — a FIELD_REFERENCE extracts one of its attribute values and records it as part of the frame payload.
The component inherits its data type and validation rules from the source attribute definition. You do not configure the type manually: BizMetry reads it from the attribute's definition in the ASBO, and any future change to that definition is automatically reflected the next time an agent ingests data.
How Values Are Captured at Runtime¶
It is important to understand that a FIELD_REFERENCE does not read values by querying an ASBO instance directly. Instead, values flow through the Business Event mechanism:
An application defines one or more Business Events, each associated with an API interceptor. When a relevant API call occurs within the instrumented application - either inbound or outbound - , the interceptor intercepts the invocation and translates it into one or more telemetry frames — populating each frame component with the values present in the intercepted call. A FIELD_REFERENCE component is populated from the portion of that payload that corresponds to the mapped ASBO attribute.
This means the agent is not querying a database or a live ASBO registry — it is extracting values from the API interaction itself, as defined by the Business Event configuration.
When to use FIELD_REFERENCE
A Business Event captures every agent invocation in the AGENT_INVOCATION frame type, intercepting the invokeAgent API. To record the name of the agent that answered alongside the event, the frame type has a FIELD_REFERENCE component, AGENT_NAME, mapping agents → name. The response of invokeAgent already carries that name ($.agent_run.last_agent.name), so each time the agent is invoked, the interceptor extracts it from the response payload and writes it into the frame — inheriting the data type of the name attribute.
Configuring the Mapping¶
Selecting FIELD_REFERENCE reveals a two-step mapping flow. The screenshots below configure AGENT_NAME in the AGENT_INVOCATION frame type — the same component shown in the Business Event mapper further down, where it is fed by the agent's name.
Step 1 — Select the Resource Type
Choose the ASBO type that holds the attribute you want to capture. The dropdown only shows ASBO types that have at least one attribute defined. Here, agents:
Step 2 — Select the Attribute
Once a resource type is selected, a second dropdown appears listing its available attributes. Choose the attribute whose value the component will capture. Here, name:
Once both selections are made, the component header shows Mapped, and a summary chip shows the full mapping path — agents → name — confirming the configuration is complete.
Validation follows the source attribute
The captured value is validated against the scalar type configured on the source attribute — for instance, a String attribute with a maximum length of 100 characters. If the source attribute's type or constraints are updated in the template, the component automatically adopts the new rules at the next agent ingestion cycle, without requiring any manual reconfiguration.
In the Business Event mapper¶
The component shows a FIELD_REFERENCE pill, the resource type → attribute it captures and the attribute's data type. Map the source field that carries the attribute value itself. In this example AGENT_NAME captures agents → name, and is fed by $.agent_run.last_agent.name from the response of invokeAgent: the name of the agent, exactly as the API returns it.
FIELD_REFERENCE or OBJECT_FIELD_REF?
Both put an attribute of a resource in the frame. Use FIELD_REFERENCE when the API call carries the value itself; use OBJECT_FIELD_REF when it only carries the object's ID and the value lives in the resources imported into BizMetry.
OBJECT_FIELD_REF¶
An OBJECT_FIELD_REF (Object Field Reference) component writes into the frame the value of one attribute of a resource that has already been imported into BizMetry, looked up by its primary key (PK).
It combines the two reference types above:
- Like an OBJECT_REFERENCE, the Business Event maps only the object's ID — the PK value of the resource, which is usually all the intercepted API call carries.
- Like a FIELD_REFERENCE, what lands in the frame is the value of an attribute of that object, not the ID itself.
At runtime, BizMetry takes the ID mapped by the Business Event, looks up the imported resource of the configured type with that PK, and writes the value of the configured attribute into the frame.
Why OBJECT_FIELD_REF: enriching telemetry with imported data¶
A FIELD_REFERENCE can only capture values that are present in the intercepted API call. Very often, though, the business data you want to analyze isn't in the API payload at all — it lives in the system of record, and the API only carries a key that points to it.
OBJECT_FIELD_REF closes that gap: it projects information from resources already imported from the database through a datasource into the business telemetry frame. The frame is enriched with data the source API never sent, without changing the instrumented application and without the agent querying the business database at capture time.
When to use OBJECT_FIELD_REF
A SALE frame type captures each sale through a Business Event on the POST /sales API. The request carries the customer_id, but not the customer's fiscal address, which you need to break down sales by tax jurisdiction. The fiscal address does exist in the customer table of the CRM database, and the customer resources have been imported into the profile from that datasource.
Add an OBJECT_FIELD_REF component CUSTOMER_FISCAL_ADDRESS pointing to customer → fiscal_address, and map $.customer_id from the request to it in the Business Event. For every sale, BizMetry looks up the imported customer whose PK is that customer_id and writes its fiscal address into the frame — information the sales API never provided.
Configuring the Component¶
Selecting Object Field Reference as the component type reveals the same two-step flow as a FIELD_REFERENCE:
Step 1 — Select the Resource Type
Choose the resource (ASBO) type whose instances will be looked up.
Only resource types with a primary key
The object is found by its ID, so — as with OBJECT_REFERENCE — only resource types that have an attribute designated as PK are offered. If you switch an existing component to OBJECT_FIELD_REF and its resource type has no PK, the selection is cleared. See Selecting the Target ASBO Type for how to designate the PK.
Step 2 — Select the Attribute
Choose the attribute whose value will be written into the frame.
Once both are selected, the component header shows Mapped and a summary chip with the mapping path (for example, agent_providers → name), along with a reminder of how the value is resolved: the Business Event maps the object's ID, and at runtime the imported resource is looked up by that ID and the attribute's value is written to the frame.
Clear the mapping with the × button on the summary chip.
Mapping it in a Business Event¶
In the mapping canvas, connect the source field that holds the object's ID (the value of the resource's PK) to the OBJECT_FIELD_REF component — not a field holding the attribute value itself. IntelliSense knows this: for an OBJECT_FIELD_REF it looks for the source field carrying the object's identifier.
Mapping an OBJECT_FIELD_REF from the object's ID
The AGENT_INVOCATION frame type has an OBJECT_FIELD_REF component AGENT_PROVIDER_NAME, which projects agent_providers → name. The invokeAgentEndpoint operation doesn't carry the provider's name — only its ID, in the request field provider_id (a UUID).
In the mapping canvas, provider_id is connected to AGENT_PROVIDER_NAME: the component's mapping reads {invokeAgentEndpoint:Request Payload}.$.provider_id, typed UUID — the identifier, not a name. At runtime, BizMetry looks up the imported agent_providers resource whose PK is that ID and writes its name into the frame.
The same provider_id also feeds AGENT_PROVIDER_DESCRIPTION, another OBJECT_FIELD_REF that projects agent_providers → description from the same provider: one ID in the API call, as many attributes of the object as the frame needs.
How the Value Is Resolved at Runtime¶
When a resource is imported from a datasource, BizMetry stores a copy of its full database row — its source record — for each environment it is imported into. Each environment points to its own database, so the row (and its PK value) can differ between environments.
At capture time, the ID mapped by the Business Event is used to find the resource of the configured type whose PK matches, and the attribute value is read from that resource's source record for the environment where the frame was captured. No query is sent to the business database: the value comes from the data imported into BizMetry.
The resource must have been imported
Only resources imported from a datasource have a source record. A resource created manually, or one that hasn't been imported into the environment where the frame is captured, can't be resolved, so the attribute value can't be projected into the frame. Keep the resources up to date by re-importing them when the source data changes: the projected value is the one stored at the last import.
Validation and sensitivity follow the source attribute
As with a FIELD_REFERENCE, the data type and validation rules come from the source attribute. If that attribute is marked as sensitive in the resource type, the component's Sensitive toggle is turned on and locked (see Sensitive).
In the Template Explorer¶
OBJECT_FIELD_REF components are listed in the Template Explorer's Frame Types tab with an OBJECT FIELD REF badge, showing the resource type and the attribute they project:
NESTED_TABLE¶
A NESTED_TABLE component embeds a variable-length table directly inside a telemetry frame. Instead of capturing a single value like the other component types, it captures a structured dataset: multiple rows, each sharing the same set of columns. Think of it as attaching a mini-spreadsheet to every frame instance that the agent transmits.
Each column of the nested table has a column type that defines where its data type comes from (see Column Types): a column can point to an attribute of an ASBO type and inherit its data type, hold a reference to an ASBO instance, project an attribute of an imported ASBO instance from its ID, or define its own data type inline. The number of rows is not fixed: it depends on how many records the agent finds at capture time.
When to use NESTED_TABLE
In an online retail purchase frame, you need to capture not just that an order occurred, but every item included in it. A NESTED_TABLE component lets you define the column structure once — SKU, item name, unit price — and the agent will populate one row per purchased item at runtime. The resulting data can be used downstream to compute SKU-level KPIs, revenue attribution, and basket analysis metrics.
| Column | Mapped Attribute | Description |
|---|---|---|
SKU_ITEM | Order → SKU# | Inventory SKU number of the purchased item |
ITEM_NAME | Order → ItemName | Display name of the item |
ITEM_VALUE | Order → UnitPrice | Monetary value of the item |
Column Types¶
| Column type | What the column holds | What you configure |
|---|---|---|
| SCALAR REF | The value of an attribute of an ASBO type, like a FIELD_REFERENCE. Data type and validation rules are inherited from the attribute. | Resource type and attribute |
| OBJECT REF | A reference to an ASBO instance (its key), like an OBJECT_REFERENCE. Only ASBO types with a primary key are offered. | Resource type |
| OBJECT FIELD REF | The value of an attribute of an imported ASBO instance, looked up by its ID, like an OBJECT_FIELD_REF. The Business Event maps the object's ID for each row; at runtime the resource with that ID is looked up and its attribute is written to the column. Only ASBO types with a primary key are offered. | Resource type and attribute |
| SCALAR INLINE | A standalone scalar value, like a CUSTOM component: its data type and parameters are defined on the column itself, not inherited from an ASBO. | Description, data type and its parameters |
Use SCALAR INLINE for values that belong to each row but aren't modeled as an attribute of any ASBO — for example, the timestamp of each step of a process, or the status of each line of an order.
Use OBJECT FIELD REF when each row only carries the ID of an object and you need one of its attributes — the same enrichment an OBJECT_FIELD_REF component does for the whole frame, done row by row.
When to use an OBJECT FIELD REF column
The AGENT_INVOCATION frame type has a NESTED_TABLE LLM_TURN_SUMMARY, one row per LLM call the agent makes (createChatCompletion). Each response carries the model the call used — $.model, the ID of an aimodel — but not whether that model supports vision, which you need to tell multimodal turns apart. The aimodel resources, with their supports_vision attribute, have been imported from the model catalog.
Add an OBJECT FIELD REF column model_supports_vision pointing to aimodel → supports_vision, and map each call's $.model to it in the Business Event. For every row, BizMetry looks up the imported aimodel with that ID and writes its supports_vision value into the row.
Configuring Columns¶
When NESTED_TABLE is selected, BizMetry displays an inline column editor. Every column requires a column name — a unique identifier for the column within this component — and a column type. The rest depends on the column type:
- SCALAR REF — the resource type that holds the attribute (only ASBO types with at least one attribute defined are shown) and the attribute whose value will populate the column.
- OBJECT REF — the resource type whose instances the column references.
- OBJECT FIELD REF — the resource type whose instances the column looks up (only ASBO types with a primary key are shown) and the attribute whose value the column holds. Once both are set, the column shows the
resource → attributesummary and a reminder that the Business Event maps the object's ID for each row (see Configuring an OBJECT FIELD REF column). -
SCALAR INLINE — a description of what the column holds, the data type and that type's parameters, exactly as for a CUSTOM component (see Supported Scalar Sub-types):
Data type Parameters String Maximum length and regex pattern Integer / Float Minimum and maximum value Enum Allowed values Boolean / Date / Timestamp —
Write a meaningful description for SCALAR INLINE columns
An inline column isn't linked to an ASBO attribute, so its description is the only context about its meaning. IntelliSense uses it, together with the column name and data type, to suggest which source field should populate the column when you map a Business Event.
Adding a column
Click the + Add Column button at the bottom of the column editor to append a new empty column entry, choose its column type and fill in the fields that type requires.
Removing a column
Click the × button located to the right of the column entry you want to remove. The column is removed immediately from the component definition.
The component is considered fully configured only when every column has a name and everything its column type requires; the frame type can't be saved while a column is incomplete.
Configuring an OBJECT FIELD REF column¶
Following the example above, column 11 of LLM_TURN_SUMMARY is model_supports_vision:
-
Name the column and choose OBJECT FIELD REF in the column type selector.
-
Choose the resource type whose instances the column looks up —
aimodel. Only ASBO types with a primary key are listed, since each row is resolved by the object's ID. -
Choose the attribute whose value the column holds —
supports_vision. The list shows the attributes of the selected resource type.
Once configured, the column shows the aimodel → supports_vision summary and a reminder of how it's filled: the Business Event maps the object's ID for each row, and at runtime the imported aimodel with that ID is looked up and its supports_vision value is written to the column.
In the Template Explorer's Frame Types tab, the column is listed inside its table with an OBJECT FIELD REF badge and the chain it resolves — Object Type aimodel → Attribute supports_vision:
Validation of each column
SCALAR REF and OBJECT FIELD REF columns inherit their validation rules from the source attribute: if the attribute's type or constraints change in the template, the column automatically adopts the updated rules at the next agent ingestion cycle. SCALAR INLINE columns are validated against the data type and parameters defined on the column itself, just like a CUSTOM component.
Placement recommendation
Because a NESTED_TABLE component carries a variable-length payload — its size depends on the number of rows captured — it is good practice to place it at the end of the component sequence within a frame. This keeps the fixed-size components at the front of the RTMP packet, making frame parsing more predictable and efficient.
In the Business Event mapper¶
The component shows a NESTED_TABLE pill and a COLUMNS toggle that expands its columns. It is mapped in two levels:
- The rows — map an array to the table itself: each element becomes a row. It can be an array in the payload — for example
$.agent_run.new_items, one row per item — or, for an operation with cardinality MANY, the whole operation: drag the operation's[]handle, next to its version, and the table gets one row per invocation ({op:Invocations[]}.$). - The columns — expand COLUMNS and drag the child fields of that array onto each column. Each column shows its own type pill: its data type, or the resource type for an OBJECT REF column. For an OBJECT FIELD REF column, drag the field that carries the object's ID — the column shows
resource → attribute, and the attribute is read at runtime.
In this example LLM_TURN_SUMMARY gets one row per invocation of createChatCompletion (a MANY operation, marked []): the table reads {createChatCompletion:Invocations[]}.$, and its columns object, model, prompt_tokens and completion_tokens read {createChatCompletion:Response Payload[]}.$.object, .$.model, .$.usage.prompt_tokens and so on — one value per LLM call.
The OBJECT FIELD REF column model_supports_vision is mapped from the same invocations: it receives {createChatCompletion:Response Payload[]}.$.model — the ID of the model each call used, not the attribute. Its chip, aimodel → supports_vision, reminds you that the attribute is read from the imported aimodel at runtime.
Access Control & Data Protection Toggles¶
Every frame component — regardless of its type — exposes two control toggles that govern its mapping enforcement and data protection behavior: Required and Sensitive. These toggles are configured at component definition time, within the frame type editor.
Required¶
The Required toggle determines whether a component is mandatory within any Business Event that references the frame type containing it.
When Required is enabled (true)¶
If a component is marked as required and its parent frame type is referenced by a Business Event, that component must be explicitly mapped to a source field before the Business Event can be saved. BizMetry enforces this constraint at save time: if any required component remains unmapped, the Business Event cannot be persisted and an error is shown indicating which components need to be resolved.
When Required is disabled (false)¶
The mapping constraint is relaxed. If the frame type is referenced in a Business Event, the component may be left unmapped — making it effectively optional. The Business Event can be saved regardless of whether the component has a source mapping configured.
Use Required to enforce data completeness
Marking a component as required is recommended whenever the absence of its value would compromise the integrity of the captured telemetry frame or make downstream KPI computation unreliable. Required components act as a contract: any Business Event referencing the frame must honor them.
Sensitive¶
The Sensitive toggle indicates that a component captures protected or confidential information. When enabled, BizMetry activates the necessary data protection mechanisms to prevent unauthorized disclosure of the captured values.
This toggle is relevant when a component captures any of the following categories of information:
- Personal Identifiable Information (PII) — names, email addresses, phone numbers, etc.
- Personal Health Information (PHI/PIH) — medical records, diagnoses, treatment data
- Sensitive personal data — Social Security Numbers (SSN), government IDs, financial account numbers
- Any other category of protected data that must remain confidential under applicable regulations or business policy
Applicability¶
The Sensitive toggle is available for the following component types:
| Component Type | Sensitive Toggle |
|---|---|
CUSTOM | Configurable freely |
FIELD_REFERENCE | Configurable — with inheritance rules (see below) |
OBJECT_FIELD_REF | Configurable — with inheritance rules (see below) |
NESTED_TABLE | Configurable freely |
OBJECT_REFERENCE | — Not applicable |
Inheritance from ASBO Attribute Definition (FIELD_REFERENCE, OBJECT_FIELD_REF)¶
For components of type FIELD_REFERENCE or OBJECT_FIELD_REF, BizMetry checks whether the source attribute was already marked as sensitive at the ASBO configuration level. If it was:
- The component automatically inherits the sensitive flag from the source attribute
- The toggle is displayed as enabled and locked — it cannot be disabled at the component level
This ensures that data classified as sensitive at the ASBO layer is always protected when surfaced through a frame component, regardless of individual operator decisions.
For all other cases — either a CUSTOM or NESTED_TABLE component, or a FIELD_REFERENCE / OBJECT_FIELD_REF whose source attribute is not flagged as sensitive — the toggle can be freely enabled or disabled according to business requirements.
Sensitive flag inherited from ASBO cannot be overridden
If a FIELD_REFERENCE or OBJECT_FIELD_REF component points to an attribute that is marked as sensitive in the ASBO definition, the Sensitive toggle on the component will be permanently enabled and cannot be turned off. To change this behavior, the sensitive classification must be removed at the source attribute level within the template editor.
What BizMetry does with sensitive components
When a component is marked as sensitive, BizMetry applies its built-in data protection mechanisms to the captured values throughout the platform — including storage, display, and export. This ensures that sensitive data is handled in accordance with confidentiality requirements and is not inadvertently exposed in reports, dashboards, or API responses without appropriate access controls.



























