Aster TypeScript 0.3.893
    Preparing search index...

    Interface InstrumentOptions

    Instrument declaration options.

    interface InstrumentOptions {
        description?: string;
        unit?: string;
        autoAttrs?: string[];
        cardinalityLimit?: number;
        boundaries?: number[];
    }
    Index

    Properties

    description?: string
    unit?: string

    UCUM unit ('1', 'ms', 'By').

    autoAttrs?: string[]

    Attribute keys merged in from the current call's extractors. Accepted and stored; merging is not active yet (Rust per-call cache, later step).

    cardinalityLimit?: number

    Series limit override; 0/unset = the SDK default (2000). Not active yet.

    boundaries?: number[]

    Histograms only: explicit bucket upper bounds, finite and strictly increasing. Unset: a histogram with unit 's' gets the RPC duration buckets (0.005 .. 10 s, like aster.rpc.server.duration); any other unit gets the SDK default, which is millisecond-scaled.