QueryFilter
import type { QueryFilter } from "https://aws-api.deno.dev/v0.4/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;
}