using jdbc4 proxy (4.1.1) - weird output

6 views
Skip to first unread message

Marc Logemann

unread,
Nov 24, 2015, 12:57:32 PM11/24/15
to javasimon
Hi,

just tried the jdbc proxy stuff to see how my SQLs perform and the resulting counters are quite weird. Please have a look at the web-console output which i attached. I cant see very much. First of all the "null" before the names is weird and i am missing the SQL altogether. Thanks for input.


Richard Richter

unread,
Nov 24, 2015, 1:17:38 PM11/24/15
to java...@googlegroups.com
Hi

That null is the prefix for all SQL related simons. There should be some default (SimonConnectionConfiguration.DEFAULT_PREFIX), or you can set it using JDBC URL parameter like ...;simon_prefix=my.comp.whatever, I don't know exactly why you have null there. You may want to debug org.javasimon.jdbc4.SimonConnectionConfiguration#SimonConnectionConfiguration constructor to find out more, it should set prefix field and that should get to the SimonConnection and to other classes (statements, ...) from there. It seems you get null there. If you find the reason, please, file it on our github: https://github.com/virgo47/javasimon/issues

Talking about SQL itself - these can be uberlong, there is no chance how to get these reasonably to the name itself (like we do this with HTTP URLs, that are more structured). That's why the SQL is in Simon's "Note" that can be viewed when you click on the simon name and display its details. Sorry for that, but there's no other way right now.

Cheers

Virgo

--
You received this message because you are subscribed to the Google Groups "javasimon" group.
To unsubscribe from this group and stop receiving emails from it, send an email to javasimon+...@googlegroups.com.
To post to this group, send email to java...@googlegroups.com.
Visit this group at http://groups.google.com/group/javasimon.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages