[FEATURE] Support join
functionality for trace-analytics use case
#892
Labels
join
functionality for trace-analytics use case
#892
Trace analytics considered using SQL/PPL for its queries, but some graphs rely on joining two indices (span index and service map index) together which is not supported by SQL/PPL. Trace analytics was implemented with DSL + javascript, would be good if
join
being added to SQL could support this use case.Schema
There will be at least 2 indices,
otel-v1-apm-span-*
(large) andotel-v1-apm-service-map
(small).Relevant fields from indices:
otel-v1-apm-span-*
:latency
in UI)otel-v1-apm-service-map
:Full schemas are defined in data-prepper repo:
otel-v1-apm-span-*
,otel-v1-apm-service-map
Sample documents
Run the following commands to dump sample documents for the two indices to localhost:9200:
Requirement
Support
join
to calculate the following:For each service, join span index on service map index to calculate metrics under different type of filters.
This sample query calculates latency when filtered by trace group
client_cancel_order
for theorder
service. I only have a subquery example, don't have the join version of the query..The text was updated successfully, but these errors were encountered: