This message was deleted.
# general
s
This message was deleted.
a
Hi @刘瀚骋, When creating metrics from spans, you have to know what sort of metrics you want to extract beforehand. This is not utilising the spans data completely. In SigNoz, you can directly write sql on the raw spans data and plot a chart on runtime which is much more powerful IMO. You don't need to create metrics from spans and query the metrics. Why not just query on the raw spans data.
Eg, filter you traces based on an event inside a span and then get the p99 of those spans which has an attribute
rider_type
in their attributeMap. For each such query that you want to run on your system, you will first have to create metrics from spans and hence you cannot query on your existing past data as no metrics has been created.