Takaro - v0.6.0
    Preparing search index...

    Options for capturing a metric.

    interface MetricOptions {
        attributes?: Record<string, unknown>;
        scope?: Scope;
        unit?: string;
    }
    Index

    Properties

    attributes?: Record<string, unknown>

    Arbitrary structured data that stores information about the metric.

    scope?: Scope

    The scope to capture the metric with.

    unit?: string

    The unit of the metric value.