Skip to main content

FilteringContexttype alias

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

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

Properties (8)

Property Type Default Required Description
app⚓︎ string x x x
host⚓︎ string x x x
platformVersion⚓︎ string x x x
serviceId⚓︎ string x x x
serviceName⚓︎ string x x x
serviceVersion⚓︎ string x x x
user⚓︎ string x x x
userId⚓︎ string x x x