# FilteringContext

**Kind**: type alias | **Module**: [Insights](https://docs.interop.io/desktop/reference/javascript/insights/index.md)

**Source**: https://docs.interop.io/desktop/reference/javascript/insights/filteringcontext/index.html

Key-value pair that can be used to match a span against a filter in the tracing filtering config.

```ts
type FilteringContext = {
    app?: string;
    user?: string;
    host?: string;
    serviceName?: string;
    serviceId?: string;
    platformVersion?: string;
    serviceVersion?: string;
    userId?: string;
  } & Record<string, any>
```
