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.
Custom tag’s name, in quotes.
Lightstep generated tags.
The ID for a span, trace, or tracer.
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.