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.
List all metrics.
Goal
View configured metrics.
Context
Called to browse metrics.
Source Definition
import { defineCommand, defineQuery } from '@lssm-tech/lib.contracts-spec';
import { defineSchemaModel, ScalarTypeEnum } from '@lssm-tech/lib.schema';
export const ListMetricsContract = defineQuery({
meta: {
key: 'metric.list',
version: '1.0.0',
stability: 'stable',
owners: ['platform.metering'],
tags: ['metering', 'metric', 'list'],
description: 'List all metrics.',
goal: 'View configured metrics.',
context: 'Called to browse metrics.',
},
io: {
input: ListMetricsInput,
output: ListMetricsOutput,
},
policy: {
auth: 'user',
},
});