Business Events¶
What is a Business Event?¶
A Business Event is BizMetry's transactional unit of business operations. It represents a set of data events, spread across different operations, that are related to each other as part of a larger business transaction, and that as a whole deserves to be tracked and accounted for.
A single API call rarely tells a business story. An order, a claim or an AI agent's answer usually spans several calls across services. Each one holds only part of the evidence. A Business Event declares which calls belong together and what they mean as one transaction, so that BizMetry can measure the result instead of the individual calls.
To do that, a Business Event connects two worlds:
- Data sources, through the API operations where the evidence is produced.
- A Frame Type declared in a telemetry template, which is the target element to measure: the outcome.
%%{init: {"themeVariables": {"fontSize": "16px"}}}%%
flowchart LR
subgraph S["Operational evidence"]
A["Primary operation"]
B["Related operation"]
C["Related operation"]
end
A --> E["Business Event\ncorrelates · filters · maps"]
B --> E
C --> E
E --> F["Frame Type\nthe outcome to measure"]
F --> K["Business telemetry\nand KPIs"]
Why It Matters: Outcome-Driven Telemetry¶
BizMetry follows the philosophy of outcome-driven, just-in-time (JIT) business telemetry: start with the business result, and capture the evidence needed to understand it, when it matters.
The Business Event is where that philosophy becomes concrete:
| Principle | What the Business Event does |
|---|---|
| Start with the outcome | Its target is a Frame Type of the template: what the business decided to measure comes first. |
| Capture only the evidence needed | It selects the operations, filters the calls that count, and maps only the fields the frame requires. |
| Just in time | The evidence is captured and enriched as the operations unfold, close to where it's produced. |
| Business language | Technical fields become the components of a frame, expressed in the semantics of the template. |
If the Telemetry Template is the blueprint of what you want to observe, the Business Event is the wiring that makes that observation happen.
Anatomy of a Business Event¶
| Element | Question it answers | Configured in |
|---|---|---|
| Event source | What kind of data is captured? | Step 1 |
| Target Frame | What outcome is being measured? | Step 2 |
| Operations | Where is the evidence produced? | Step 3 |
| Primary operation | Which operation, exposed to the final consumer, starts the transaction chain? | Step 4 |
| Correlation source | What ties the calls of one transaction together? | Step 4 |
| Filters | Which calls count? | Step 4 |
| Name and description | How is it identified? | Step 5 |
| Mappings | Which source value populates each frame component? | Step 6 |
Example¶
To measure each invocation of an AI agent, the template declares an AGENT_INVOCATION Frame Type, with components such as the agent, the model used and the query. One Business Event brings together:
invokeAgentEndpoint, exposed to the final consumer: the Primary operation.createChatCompletionandmcpCall, the LLM and tool calls made along the way, each possibly invoked several times.- A shared
X-Correlation-IDheader that ties all those calls to the same transaction.
The calls are several, but the business records one agent invocation, with all its evidence in a single frame.
Lifecycle¶
Business Events are versioned entities. Each version goes through a managed lifecycle:
Editability¶
A Business Event version can be edited in any state except DEPRECATED and RETIRED (i.e. DRAFT, PENDING_REVIEW, APPROVED, REJECTED, and PUBLISHED are all editable). What "editing" does depends on where the version starts:
- From
DRAFT,PENDING_REVIEW,APPROVED, orREJECTED, saving an edit updates that same version in place and moves it back toDRAFT— this restarts the review cycle (Submit→Approve/Reject). - From
PUBLISHED, a version is never modified in place — saving an edit automatically forks a newDRAFTversion instead, leaving the originalPUBLISHEDversion untouched and still capturing telemetry.
| Status | Editable? |
|---|---|
DRAFT | Yes — saves in place |
PENDING_REVIEW | Yes — reverts to DRAFT |
APPROVED | Yes — reverts to DRAFT |
REJECTED | Yes — reverts to DRAFT |
PUBLISHED | Yes — forks a new DRAFT version |
DEPRECATED | No |
RETIRED | No |
DELETED | No (terminal state) |
See Editing a Business Event for the full walkthrough, and Lifecycle & States and Versioning for the underlying rules.
Accessing Business Events¶
- Open a Profile from the Home Screen.
- From the Profile's tab bar, click on Business Events.
The Business Events tab opens, showing all events and their current versions.
Alternatively, you can access business events for a certain profile by clicking on the secondary menu icon, and from there, selecting the Business Events option as shown below
Business Events Tab Overview¶
The tab displays a list of all Business Events defined for this Profile:
| Column | Description |
|---|---|
| Event Name | Identifier for this business event. |
| Source | API Collection and transport type. |
| Target Frame | The Frame Type this event maps to. |
| Version | Current active version number. |
| Status | Lifecycle state of the current version: DRAFT, PENDING_REVIEW, APPROVED, REJECTED, PUBLISHED, RETIRED, DELETED. |
| Actions | Create new version, edit, manage lifecycle transitions. |
In This Section¶
- Lifecycle & States
- Biz Event Lifecycle Management — publishing rules and the steps from setup to live traffic
- Creating a Business Event
- Editing a Business Event
- Cloning a Business Event
- Tracking API Swagger Version Bumps Across Environments
- BMEL Expression Language
- IntelliSense Auto-Mapping
- Versioning & Fork-on-Bump
- Managing Versions




