throw Error()

in src/alert/condition.ts [81:103]


            throw Error(
                'Query identifier must be a string. eg. "A" or "B", etc...'
            );
        }
        this._query.params[0] = query;
        this._query.params[1] = duration;
        this._query.params[2] = from;

        return this;
    }
    withReducer(type: GrafanaReducerType) {
        const types = [
            'min',
            'max',
            'sum',
            'avg',
            'count',
            'last',
            'median',
            'diff',
        ] satisfies GrafanaReducerType[];

        if (!types.includes(type)) {