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.

workflow.metrics

Dashboard widget showing workflow metrics and statistics

  • Type: presentation (presentation)
  • Version: 1.0.0
  • Owners: @workflow-team
  • Tags: workflow, metrics, dashboard
  • File: packages/examples/workflow-system/src/presentations/index.ts
  • field.key.label
    workflow.metrics
    field.version.label
    1.0.0
    field.type.label
    presentation (presentation)
    field.title.label
    workflow.metrics
    field.description.label

    Dashboard widget showing workflow metrics and statistics

  • Type: presentation (presentation)
  • Version: 1.0.0
  • Owners: @workflow-team
  • Tags: workflow, metrics, dashboard
  • File: packages/examples/workflow-system/src/presentations/index.ts
  • field.tags.label
    workflow,metrics,dashboard
    field.owners.label
    @workflow-team
    field.stability.label

    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'],
    	},
    });