truegrain - v1.1.0
    Preparing search index...

    Interface Metric

    Something the engine can measure.

    interface Metric {
        datatype: string;
        definition?: string;
        description: string;
        dimensions: string[];
        name: string;
        namespace: string;
        raw: Record<string, unknown>;
        synonyms: string[];
    }
    Index
    datatype: string

    The logical type of the value, for example Decimal or Integer.

    definition?: string

    The metric's definition. Present on describeMetric, absent on a list.

    description: string

    The grounding text an agent reads to decide whether this metric answers the question that was asked. It is not decoration.

    dimensions: string[]

    Only the dimensions this identity may group the metric by.

    name: string

    Qualified as namespace.metric.

    namespace: string

    The namespace that owns and governs this definition.

    raw: Record<string, unknown>

    The unparsed payload, so a new server field is readable without an SDK release.

    synonyms: string[]

    Other names that resolve to this metric, such as "top line".