You can build queries for services, operations, tags, span IDs and trace IDs using the following key/value pairs. Use
NOT IN to build the query. Values must be an exact match - capitalization matters.
Returns spans from the iOS service
Returns spans from every service but android
Returns spans from the
|Custom tag’s name, in quotes.|
Returns spans where the
|Lightstep generated tags.|
The ID for a span, trace, or tracer.
Returns that specific span
Returns spans in traces other than the
Returns spans that were produced from tracers other than the
Querying Multiple Keys and Values
Use the following syntax rules to build complex queries:
Use a comma to query multiple values for a key. Multiple values are treated as
service IN (“iOS”,“android”)
Returns spans that are from either the
“customer” NOT IN (“smith”,”jones”)
Returns spans that do not have
jonesas the value for the
Only one set of values per key are allowed.
service IN (“iOS”, “android”)
service IN (“iOS”, “android”) AND service IN (“web”)
ANDoperations to build queries with multiple key/value sets (the
ORoperation is not supported).
service IN (“iOS”,“android”) AND “aws_region” IN (“us_east”)
Returns spans that are in either the
androidservice and are in the
"lightstep.trace_id" NOT IN (“etla347uz”, “aeo7584xco”) AND “error” IN (“true”)
Returns spans that are not in traces with the ID
aeo7584xcoand have the value
truefor the error tag.
service IN (“iOS”, “android) AND operation IN (“auth”, “transaction-db”) AND “aws-region” NOT IN (“us-west”) AND "lightstep.span_id" IN (“ad753587das”, “zb18857cat”)
Returns spans with the ID of either
zb18857cat that are in either the
android service, from either the
transaction-db operation, and are not in the
us-west AWS region.