Skip to content

TraceqlFilterBuilder🔗

Constructor🔗

new TraceqlFilterBuilder()

Methods🔗

build🔗

Builds the object.

public TraceqlFilter build()

id🔗

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

public TraceqlFilterBuilder id(String id)

operator🔗

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

public TraceqlFilterBuilder operator(String operator)

scope🔗

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

public TraceqlFilterBuilder scope(TraceqlSearchScope scope)

tag🔗

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

public TraceqlFilterBuilder tag(String tag)

value🔗

The value for the search filter

public TraceqlFilterBuilder value(StringOrArrayOfString value)

valueType🔗

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

public TraceqlFilterBuilder valueType(String valueType)

See also🔗