OSS-first docs
These docs teach the open system first: contracts, generated surfaces, runtimes, governance, and incremental adoption. Studio shows up as the operating layer on top, not as the source of truth.
Dashboard widget showing workflow metrics and statistics
Goal
Monitoring throughput and bottlenecks
Context
System performance dashboard
Source Definition
import {
definePresentation,
StabilityEnum,
} from '@lssm-tech/lib.contracts-spec';
import { ApprovalRequestModel } from '../approval/approval.schema';
import { WorkflowInstanceModel } from '../instance/instance.schema';
import { WorkflowDefinitionModel } from '../workflow/workflow.schema';
export const WorkflowMetricsPresentation = definePresentation({
meta: {
key: 'workflow.metrics',
version: '1.0.0',
title: 'Workflow Metrics',
description: 'Dashboard widget showing workflow metrics and statistics',
domain: 'workflow-system',
owners: ['@workflow-team'],
tags: ['workflow', 'metrics', 'dashboard'],
stability: StabilityEnum.Experimental,
goal: 'Monitoring throughput and bottlenecks',
context: 'System performance dashboard',
},
source: {
type: 'component',
framework: 'react',
componentKey: 'WorkflowMetricsDashboard',
},
targets: ['react', 'markdown'],
policy: {
flags: ['workflow.metrics.enabled'],
},
});