Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

QueryFilter

import type { QueryFilter } from "https://aws-api.deno.dev/v0.3/services/rum.ts?docs=full";

A structure that defines a key and values that you can use to filter the results. The only performance events that are returned are those that have values matching the ones that you specify in one of your QueryFilter structures.

For example, you could specify Browser as the Name and specify Chrome,Firefox as the Values to return events generated only from those browsers.

Specifying Invert as the Name works as a "not equal to" filter. For example, specify Invert as the Name and specify Chrome as the value to return all events except events from user sessions with the Chrome browser.

interface QueryFilter {
Name?: string | null;
Values?: string[] | null;
}

§Properties

§
Name?: string | null
[src]

The name of a key to search for. The filter returns only the events that match the Name and Values that you specify.

Valid values for Name are Browser | Device | Country | Page | OS | EventType | Invert

§
Values?: string[] | null
[src]

The values of the Name that are to be be included in the returned results.