@squidcloud/backend
    Preparing search index...

    Interface SecureMetricContext

    A context passed to functions annotated with the '@secureMetric' decorator.

    interface SecureMetricContext {
        name: string;
        tags: Record<string, string>;
        value: number;
    }
    Index

    Properties

    Properties

    name: string

    Name of the metric to check.

    tags: Record<string, string>

    Key-value pairs for tagging the metric.

    value: number

    Numeric value of the metric.