You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Queries that outputs filter.cc file that can successfully compiled.
How many traces went through a particular microservice A? MATCH n WHERE n.service_name == A RETURN count; count is a udf function which increments a counter by a whenever we see a request
How many traces went through microservices A, B, and C in that order? MATCH x->y, y->z, WHERE x.service_name==a, y.service_name==b, z.service_name==c, RETURN count
Get me the name of the service with highest latency MATCH x WHERE x.service_name == frontend RETURN max_latency
max_latency is a udf
Need further development
Latency
Latency is not a supported property
What is the average latency of an RPC from microservice A to microservice B? MATCH x->y WHERE x.service_name==a, y.service_name==b GROUP y.latency BY avg
Get me a histogram of end-to-end trace latencies or RPC latencies? MATCH x WHERE x.service_name == frontend GROUP x.latency BY histogram
Graph depth & and breadth
They're both graph properties and can be implemented by providing udfs.
Get me a histogram of trace service depths MATCH x WHERE x.service_name == frontend GROUP x.depth BY histogram
Get me a histogram of trace service breadths (the maximum fan out to child spans) MATCH x WHERE x.service_name == frontend GROUP x.breadth BY histogram
The text was updated successfully, but these errors were encountered:
taegyunkim
changed the title
Convert example english written queries to our query language
Example Queries
Sep 11, 2020
Queries that outputs filter.cc file that can successfully compiled.
How many traces went through a particular microservice A?
MATCH n WHERE n.service_name == A RETURN count;
count is a udf function which increments a counter by a whenever we see a requestHow many traces went through microservices A, B, and C in that order?
MATCH x->y, y->z, WHERE x.service_name==a, y.service_name==b, z.service_name==c, RETURN count
Get me the name of the service with highest latency
MATCH x WHERE x.service_name == frontend RETURN max_latency
max_latency is a udf
Need further development
Latency
Latency is not a supported property
What is the average latency of an RPC from microservice A to microservice B?
MATCH x->y WHERE x.service_name==a, y.service_name==b GROUP y.latency BY avg
Get me a histogram of end-to-end trace latencies or RPC latencies?
MATCH x WHERE x.service_name == frontend GROUP x.latency BY histogram
Graph depth & and breadth
They're both graph properties and can be implemented by providing udfs.
Get me a histogram of trace service depths
MATCH x WHERE x.service_name == frontend GROUP x.depth BY histogram
Get me a histogram of trace service breadths (the maximum fan out to child spans)
MATCH x WHERE x.service_name == frontend GROUP x.breadth BY histogram
The text was updated successfully, but these errors were encountered: