Request attributes to old requests

Hi team

We use span attributes to add a lot of data needed to debug, but we cannot filter them directly and we need to create request attributes,

the point here is that we have this span attributes now but not mapped as request attributes, is there any way to create request attributes for old requests (or to filter by span attribute directly)

Thanks!

Hi,

Have you tried using multidimensional analysis and using the “Span Name” filter?

Radek

I’m trying it but I haven’t set span names, or i don’t see them in any span in a trace metadata, but, this is just a name of the unit of work isn’t it? not a concrete value of it
What I want is to filter, for example, by IOS, cartId, userId, tenant, promotionalCode, all together, to check what was happened with this filters

I would like to clarify something…do you have the span capture set up on the DT side? Can you send a screen of your configuration?

Span capturing is empty, we are using opentelemetry to instrumentalise our application and oneagent is capturing and publishing them, sorry I’m new with dynatrace, let me know if this answers your question

"All detected OpenTelemetry and OpenTracing spans are captured by default. This means that every detected span is added to distributed traces. This gives code-level visibility along with span attributes, even for technologies not supported by OneAgent out of the box.

You can create Request Attributes based on spans to segment the distributed traces."

Hello,

You can simply create request attributes based on the span attribute as below, so then you can filter with them.

Thanks,

Islam

You can do exactly as @Islam_Zedan  wrote.
In addition, you can configure Span Capture: Span settings — Dynatrace Docs

Try it and let us know.

The main question is basically how to do that to requests older than the time I’ve set that attribute :disappointed_face:

Unfortunately, you will not have data visibility before setting RA. Only all new data coming from transactions will be properly metered.

Unfortunately, you can’t get the history back before creating the request attribute.

Hello,

I have a similar situation where dev is setting some metadata via SPAN attributes ,  whicd show up on the distributed traces as “Value not stored”.   The tool tip on hovering over this shows the following message :

“The attribute value is not configured to be stored. You can configure it in the traceview for future traces”

The How do I set this TraceView configuration ?   Can anybody help  ?

thanks

Venkat