Open Q&A
If there's no good subforum for your question - ask it here!
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Searching by Bind Variable

KVZ
Contributor

We have a scenario where we want to see for example that an ID that has been inserted into a table and later needs to be deleted from that table.

The ID is seen as a bind variable, and I wanted to know if there's any way to search by this bind variable to see the different sql executions which used it?

6 REPLIES 6

AntonioSousa
DynaMight Guru
DynaMight Guru

@KVZ,

I imagine you are a Managed customer, as SaaS customers don't have the option to get bind variables.

There is no current way that I know of to find bind variables by their value.

But I get your point, and I believe it would be a good product idea. You can create one in the Product Ideas: https://community.dynatrace.com/t5/Dynatrace-product-ideas/idb-p/DynatraceProductIdeas

Antonio Sousa

techean
Inactive

Yes @AntonioSousa  something like auto tag top queries with bind variable for advance filter search.

I believe @KVZ  definitely go ahead converting this to an idea

KG

Babar_Qayyum
DynaMight Guru
DynaMight Guru

Dears @AntonioSousa & @KVZ 

Is there any update regarding this matter?

Regards,

Babar Qayyum

@Babar_Qayyum for SaaS this is certainly possible for DPS SaaS instances having traces in grail where you can query spans and filter on attributes, including bind variables.
For Managed, I don't think this is possible at the moment.

Dynatrace Ambassador | Alanata a.s., Slovakia, Dynatrace Master Partner

Hello @Julius_Loman 

I appreciate your thoughtful feedback. However, due to our managed setup, we are unable to take advantage of it.

Regards,

Babar Qayyum

In Managed, I'd try to define a request attribute to get the value. However, it might not be easily possible. It depends on how your application code is structured.

Dynatrace Ambassador | Alanata a.s., Slovakia, Dynatrace Master Partner

Featured Posts