Skip to main content

InstrumentSpec

@forge/monorepo


@forge/monorepo / backend/src / InstrumentSpec

Type Alias: InstrumentSpec

InstrumentSpec = object

Defined in: backend/src/telemetry/metrics.ts:16

Properties

answers

readonly answers: string

Defined in: backend/src/telemetry/metrics.ts:28

The operational question this exists to answer.

Recorded per instrument because "enough to answer 'is it healthy'" is the acceptance criterion, and a metric with no question behind it is one nobody looks at — while a question with no metric is the gap this field makes visible.


description

readonly description: string

Defined in: backend/src/telemetry/metrics.ts:20


kind

readonly kind: InstrumentKind

Defined in: backend/src/telemetry/metrics.ts:18


name

readonly name: string

Defined in: backend/src/telemetry/metrics.ts:17


unit

readonly unit: string

Defined in: backend/src/telemetry/metrics.ts:19