Skip to content

TraceqlFilter🔗

Constructor🔗

TraceqlFilter()

Methods🔗

build🔗

Builds the object.

def build() -> tempo.TraceqlFilter

id_val🔗

Uniquely identify the filter, will not be used in the query generation

def id_val(id_val: str) -> typing.Self

operator🔗

The operator that connects the tag to the value, for example: =, >, !=, =~

def operator(operator: str) -> typing.Self

scope🔗

The scope of the filter, can either be unscoped/all scopes, resource or span

def scope(scope: tempo.TraceqlSearchScope) -> typing.Self

tag🔗

The tag for the search filter, for example: .http.status_code, .service.name, status

def tag(tag: str) -> typing.Self

value🔗

The value for the search filter

def value(value: typing.Union[str, list[str]]) -> typing.Self

value_type🔗

The type of the value, used for example to check whether we need to wrap the value in quotes when generating the query

def value_type(value_type: str) -> typing.Self

See also🔗