Skip to content

TraceqlFilterBuilder🔗

Constructor🔗

new TraceqlFilterBuilder()

Methods🔗

build🔗

Builds the object.

build()

id🔗

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

id(string $id)

operator🔗

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

operator(string $operator)

scope🔗

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

scope(\Grafana\Foundation\Tempo\TraceqlSearchScope $scope)

tag🔗

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

tag(string $tag)

value🔗

The value for the search filter

@param string|array $value

value($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

valueType(string $valueType)

See also🔗