repository
stringclasses
156 values
issue title
stringlengths
1
1.01k
labels
stringclasses
8 values
body
stringlengths
1
270k
openzipkinzipkin
fix pagetitle bug
Bug
the pagetitle be incorrectly set in the index handler move that to the layout handler
openzipkinzipkin
can not import zipkin into intellij as a gradle project
Bug
this be block our switch off sbt I ve try many thing include completely nuke my configuration I think there s something misconfigure in gradle itself when you go to import as a gradle project thing start whir and intellij eventually spit back to the welcome screen here s the relevant part of the log file user acole library log ideaic14 idea log 2015 07 30 16 04 07 380 174841 warn manage contentrootdataservice can t import content root reason target module moduledata module io zipkin zipkin redis 1 2 0 snapshot be not find at the ide content root contentrootdata content root test source root user acole oss zipkin zipkin redis src test java source root user acole oss zipkin zipkin redis src test scala exclude source root user acole oss zipkin zipkin redis gradle source root user acole oss zipkin zipkin redis build resource source root user acole oss zipkin zipkin redis src main resource source source root user acole oss zipkin zipkin redis src main java source root user acole oss zipkin zipkin redis src main scala test resource source root user acole oss zipkin zipkin redis src test resource 2015 07 30 16 04 07 380 174841 warn manage contentrootdataservice can t import content root reason target module moduledata module io zipkin zipkin query core 1 2 0 snapshot be not find at the ide content root contentrootdata content root test source root user acole oss zipkin zipkin query core src test java source root user acole oss zipkin zipkin query core src test scala exclude source root user acole oss zipkin zipkin query core gradle source root user acole oss zipkin zipkin query core build resource source root user acole oss zipkin zipkin query core src main resource source source root user acole oss zipkin zipkin query core src main java source root user acole oss zipkin zipkin query core src main scala test resource source root user acole oss zipkin zipkin query core src test resource snip 2015 07 30 16 04 07 389 174850 warn ge moduledependencydataservice can t import module dependency moduledependencydata dependency module io zipkin zipkin web 1 2 0 snapshot scope compile export false owner module io zipkin zipkin redis example 1 2 0 snapshot moduledependencydata dependency module io zipkin zipkin common 1 2 0 snapshot scope compile export false owner module io zipkin zipkin redis example 1 2 0 snapshot moduledependencydata dependency module io zipkin zipkin scrooge 1 2 0 snapshot scope compile export false owner module io zipkin zipkin redis example 1 2 0 snapshot moduledependencydata dependency module io zipkin zipkin redis 1 2 0 snapshot scope compile export false owner module io zipkin zipkin redis example 1 2 0 snapshot moduledependencydata dependency module io zipkin zipkin query 1 2 0 snapshot scope compile export false owner module io zipkin zipkin redis example 1 2 0 snapshot moduledependencydata dependency module io zipkin zipkin receiver scribe 1 2 0 snapshot scope compile export false owner module io zipkin zipkin redis example 1 2 0 snapshot moduledependencydata dependency module io zipkin zipkin collector 1 2 0 snapshot scope compile export false owner module io zipkin zipkin redis example 1 2 0 snapshot moduledependencydata dependency module io zipkin zipkin zookeeper 1 2 0 snapshot scope compile export false owner module io zipkin zipkin redis example 1 2 0 snapshot reason target module moduledata module io zipkin zipkin redis example 1 2 0 snapshot be not find at the ide and can t be import 2015 07 30 16 04 07 402 174863 error llij ide plugin pluginmanag null java lang nullpointerexception at org jetbrain plugins scala project package moduleext compilerconfiguration package scala 116 at org jetbrain plugins scala project package moduleext configurescalacompilersettingsfrom package scala 113 at org jetbrain plugins scala project gradle scalagradledataservice org jetbrain plugins scala project gradle scalagradledataservice doimport scalagradledataservice scala 33 at org jetbrain plugins scala project gradle scalagradledataservice anonfun doimportdata 1 apply scalagradledataservice scala 22 at org jetbrain plugins scala project gradle scalagradledataservice anonfun doimportdata 1 apply scalagradledataservice scala 22
openzipkinzipkin
parallel test task in the gradle build
Enhancement
this also move the definition of the group and version into the gradle property which will properly apply to all subproject
openzipkinzipkin
check task fail if you don t have redi instal
Bug
because zipkin redis be in the core repo this be a problem since its test require a system dependency of redis server to be instal we can either grab that dependency via gradle boo or move zipkin redis out zipkin git master gradlew zipkin redis check zipkin common compilejava up to date zipkin common compilescala up to date zipkin common processresource up to date zipkin common class up to date zipkin common jar up to date zipkin scrooge idljar up to date zipkin scrooge copydependencyidl up to date zipkin scrooge copyincludedidl up to date zipkin scrooge generateinterface up to date zipkin scrooge compilejava up to date zipkin scrooge compilescala up to date zipkin scrooge processresource up to date zipkin scrooge class up to date zipkin scrooge jar up to date zipkin redis compilejava up to date zipkin redis compilescala up to date zipkin redis processresource up to date zipkin redis class up to date zipkin redis compiletestjava up to date zipkin redis compiletestscala up to date zipkin redis processtestresource up to date zipkin redis testclasse up to date zipkin redis test discovery start jul 29 2015 2 22 34 am com twitter finagle init anonfun 1 apply mcv sp info finagle version 6 27 0 rev 65df1512aadc8b79871a6dcafbbd210fd088b055 build at 20150727 172410 discovery complete in 2 second 205 millisecond run start expect test count be 36 run abort 3 second 62 millisecond java util concurrent executionexception java io ioexception can not run program redis server error 2 no such file or directory at java util concurrent futuretask report futuretask java 122 at java util concurrent futuretask get futuretask java 192 at org scalat tool concurrentdistributor waituntildone concurrentdistributor scala 52 at org scalat tool runner dorunrunrundadorunrun runner scala 2549 at org scalat tool runner anonfun runoptionallywithpassfailreporter 2 apply runner scala 1044 at org scalat tool runner anonfun runoptionallywithpassfailreporter 2 apply runner scala 1043 at org scalat tool runner withclassloaderanddispatchreporter runner scala 2722 at org scalat tool runner runoptionallywithpassfailreporter runner scala 1043 at org scalat tool runner main runner scala 860 at org scalat tool runner main runner scala cause java io ioexception can not run program redis server error 2 no such file or directory at java lang processbuilder start processbuilder java 1048 at com twitter finagle redis util externalredis assertredisbinarypresent testserver scala 58 at com twitter finagle redis util externalredis testserver scala 109 at com twitter finagle redis util rediscluster anonfun start 1 apply testserver scala 30 at com twitter finagle redis util rediscluster anonfun start 1 apply testserver scala 29 at scala collection immutable range foreach range scala 141 at com twitter finagle redis util rediscluster start testserver scala 29 at com twitter zipkin storage redis redisspecification class beforeall redisspecification scala 27 at com twitter zipkin storage redis redissetmapspec beforeall redissetmapspec scala 21 at org scala test beforeandafterall class run beforeandafterall scala 253 cause java io ioexception error 2 no such file or directory at java lang unixprocess forkandexec native method at java lang unixprocess unixprocess java 248 at java lang processimpl start processimpl java 134 at java lang processbuilder start processbuilder java 1029 at com twitter finagle redis util externalredis assertredisbinarypresent testserver scala 58 at com twitter finagle redis util externalredis testserver scala 109 at com twitter finagle redis util rediscluster anonfun start 1 apply testserver scala 30 at com twitter finagle redis util rediscluster anonfun start 1 apply testserver scala 29 at scala collection immutable range foreach range scala 141 at com twitter finagle redis util rediscluster start testserver scala 29 zipkin redis test fail failure build fail with an exception what go wrong execution fail for task zipkin redis test there be fail test see the result at file home tyler source github openzipkin zipkin zipkin redis build test result try run with stacktrace option to get the stack trace run with info or debug option to get more log output build fail total time 17 967 sec
openzipkinzipkin
gradle
Enhancement
why because the sbt build be a pain what work gradlew check run test use maiflai gradle scalat and they pass gradlew build build normal jar and an idl jar for zipkin thrift gradlew disttar build a tar distribution for the stand alone service gradlew installdist generate a runnable version of the service basically the content of the output of disttar what doesn t work I d appreciate thought on how important these be the doc project isn t port yet I can take a stab at it but if someone know what actually happen there they ll probably have an easy time buildpropertie be not port do we need it what might not work I d appreciate experience eye on these maybe some test be not pick up by gradle maybe some artifact don t look like they should especially idl and standalone service stuff integration test I use to bring up zipkin and send trace to it use sh zipkin tracegen build install zipkin tracegen bin zipkin tracegen scribed docker machine ip 9410 and I see trace smile note the sbt build system be still in place to make comparison easy
openzipkinzipkin
lot of code duplication
Enhancement
look like zipkin common have lot of code duplication or be it just I not understand the code e g have many of the same method as I m wonder if it s that be merge with new interface without remove the old one sprsquish bmdhack franklinhu could that be right
openzipkinzipkin
zoom the trace view base on user select time range
Enhancement
our trace sometimes span across a few minute that cause a bunch of span to get huddle up in a corner this pull request be to enable user to have a well viewing option in such case user can move mouse over the span view to select a time range and entire span view would be zoom in accord to select time range user thus get a well view of the span they be interested in analyze a zoomout button would pop up which allow user to go back to original view the button have a fix position on screen so that even if user scroll up or down the zoomout button be always available at same position on screen please check and let I know your feedback thank nikhil
openzipkinzipkin
swap out exist kafka testing jar
Enhancement
in order to reduce our code footprint swap out exist kafka testing scaffold zipkin kafka receiver with
openzipkinzipkin
migrate to new fast travis ci infra
Enhancement
look like we re not use their new builder will send a pr imminently to switch we over
openzipkinzipkin
configuration
Question
how should we configure zipkin collector query web the present way be to use scala code with eval adriancole say twitter have do a lot of refactoring in their app later now might be the time to use twitter flag instead we would lose the possibility of write scala code in the configuration so it might be a little more difficult to set up backend as people wish another option I suggest be to use typesafe config which have a pretty flexible setup possible alternative config as scala eval like today twitter flag runtime command line option something else thought
openzipkinzipkin
cassandra cluster for store zipkin query throw exception
Bug
I have 3 cassandar cluster nodes state normal leaving join move address load token own host i d rack un 192 168 115 105 416 67 kb 256 30 6 aa9265fb b72d 46d5 a25a 42358c58e26b rack1 un 192 168 115 106 110 46 kb 256 36 5 d3201d31 368a 4a80 9da8 51fce16a43ea rack1 un 192 168 115 102 110 54 kb 256 32 9 639844e2 4300 416d a25f f0d3b164b381 rack1 and zipkin query query cassandra scala config development mode val keyspacebuilder cassandra keyspace static node set 192 168 115 106 val keyspacebuilder cassandra keyspace static val storebuilder store builder cassandra storagebuilder keyspacebuilder cassandra indexbuilder keyspacebuilder cassandra aggregatesbuilder keyspacebuilder queryservicebuilder storebuilder the zipkin query work ok zipkin web when I kill the node 19 168 115 102 like this un 192 168 115 105 518 14 kb 256 30 6 aa9265fb b72d 46d5 a25a 42358c58e26b rack1 un 192 168 115 106 110 46 kb 256 36 5 d3201d31 368a 4a80 9da8 51fce16a43ea rack1 dn 192 168 115 102 110 54 kb 256 32 9 639844e2 4300 416d a25f f0d3b164b381 rack1 visit the zipkin web throw exception like this unavailableexception com twitter zipkin gen queryexception decode queryexception scala 97 com twitter zipkin gen zipkinquery getservicename result readqevalue zipkinquery scala 5528 com twitter zipkin gen zipkinquery getservicename result decode zipkinquery scala 5449 com twitter zipkin gen zipkinquery getservicename result decode zipkinquery scala 5368 com twitter zipkin gen zipkinquery finagleclient decoderesponse zipkinquery finagleclient scala 56 com twitter zipkin gen zipkinquery finagleclient anonfun getservicename 1 apply zipkinquery finagleclient scala 440 com twitter zipkin gen zipkinquery finagleclient anonfun getservicename 1 apply zipkinquery finagleclient scala 439 com twitter util future anonfun flatmap 1 apply future scala 781 com twitter util future anonfun flatmap 1 apply future scala 780 com twitter util promise transformer liftedtree1 1 promise scala 93 com twitter util promise transformer k promise scala 93 com twitter util promise transformer apply promise scala 102 com twitter util promise transformer apply promise scala 84 com twitter util promise anon 2 run promise scala 324 com twitter concurrent localscheduler activation run scheduler scala 129 com twitter concurrent localscheduler activation submit scheduler scala 107 com twitter concurrent localscheduler submit scheduler scala 150 com twitter concurrent scheduler submit scheduler scala 59 com twitter util promise runq promise scala 310 com twitter util promise updateifempty promise scala 605 com twitter util promise update promise scala 583 com twitter util promise setvalue promise scala 559 com twitter concurrent asyncqueue offer asyncqueue scala 71 com twitter finagle transport channeltransport handleupstream channeltransport scala 41 org jboss netty channel defaultchannelpipeline sendupstream defaultchannelpipeline java 564 org jboss netty channel defaultchannelpipeline defaultchannelhandlercontext sendupstream defaultchannelpipeline java 791 org jboss netty channel channel firemessagereceive channel java 296 org jboss netty handler codec oneone onetoonedecoder handleupstream onetoonedecoder java 70 org jboss netty channel defaultchannelpipeline sendupstream defaultchannelpipeline java 564 org jboss netty channel defaultchannelpipeline defaultchannelhandlercontext sendupstream defaultchannelpipeline java 791 org jboss netty channel channel firemessagereceive channel java 296 org jboss netty handler codec frame framedecoder unfoldandfiremessagereceived framedecoder java 462 org jboss netty handler codec frame framedecoder calldecode framedecoder java 443 org jboss netty handler codec frame framedecoder messagereceive framedecoder java 303 org jboss netty channel simplechannelupstreamhandler handleupstream simplechannelupstreamhandler java 70 com twitter finagle thrift thriftframecodec handleupstream thriftframecodec scala 17 org jboss netty channel defaultchannelpipeline sendupstream defaultchannelpipeline java 564 org jboss netty channel defaultchannelpipeline defaultchannelhandlercontext sendupstream defaultchannelpipeline java 791 org jboss netty channel simplechannelhandler messagereceived simplechannelhandler java 142 com twitter finagle channel channelstatshandler messagereceive channelstatshandler scala 81 org jboss netty channel simplechannelhandler handleupstream simplechannelhandler java 88 when I start the node the zipkin query be work
openzipkinzipkin
eliminate dependency on scala compiler and runtime
Enhancement
many java centric company prefer to avoid alternate jvm language dependency rewrite component as require to eliminate the scala dependency of zipkin would be valuable to they
openzipkinzipkin
documentation improvement for zipkin
Enhancement
manually copy for raun007 I have be use zipkin for almost like 2 3 month and I feel that the big hurdle in adoption be that documentation be miss and github page doesn t have much as well can somebody who know in and out of the zipkin can write documentation on the usage and the internal of the zipkin with the control lever that the user have along with recommend practice etc
openzipkinzipkin
add statsd instrumentation into zipkin core service
Enhancement
I order to be have visibility into the health of the application it would be great to be able to record stat base on various metric from within the application collector query web this issue need more thought in term of which stat need to be collect method of actual implementation configuration method will add more info later
openzipkinzipkin
greenify the travis build
Enhancement
I know that jamescway be already work on this but here s an issue to keep track of it
openzipkinzipkin
prune the zipkin browser extension code from the core tree
Enhancement
the subtree history have be move here
openzipkinzipkin
http trace samplerate don t work
Bug
when I use the samplerate in the http trace like this tracer tracer zipkintracer mk flumeip port sr float valueof samplerate set the samplerate 0 the tracer record the datum again why
openzipkinzipkin
express key interface as java interface not scala trait
Enhancement
a number of folk have express a desire to have zipkin become more friendly to non scala implementation we want integrator to not leave zipkin solely because of scala or finagle for example the brave project could implement interface define in zipkin as oppose to similar one as zipkin only expose trait more recently at lyft jpinner need to implement a splunk base spanstore in java by make integration point representable and implementable as dependency free java type we can slow the amount of divergence in the ecosystem and head towards convergence this issue will track the trait and type folk prefer to be java type and address modeling for example what to use instead of scala s seq
openzipkinzipkin
web ui dependency tree
Question
how to search the service dependency tree be the web ui the same as twitter use image
openzipkinzipkin
dynamic sample rate base on span annotation rather than just trace i d
Enhancement
sample decision should be decouple from span creation and not resolve locally for example in an unknown case always buffer and use rule base on child span to determine whether or not to sample this particularly facilitate low frequency sample decision for example address 503 scenario report by jpinner
openzipkinzipkin
reduce default query limit from 100 to 10
Enhancement
we ve find that the default of 100 trace result be somewhat excessive and 10 be more reasonable and potentially substantially well perform in most case this pull request reduce the default query limit from 100 to 10 one notable downside to this change be that when two or more annotation be specify the probability of a matching intersection be find can be decrease
openzipkinzipkin
build be flakey and take way too long
Bug
sbt clean test be long on laptop and extremely long like 30 m on travis it often flake on download too zipkin have a vast and uncached dependency tree there be likely many way to improve this
openzipkinzipkin
replace of scribe on roadmap
Question
as scribe seem to have be archive be there any plan to replace it with something else
openzipkinzipkin
add web ui for view aggregated trace datum
Enhancement
there we go I ve clean up the code a bit tell I if there be any issue that have to be address code style etc commit message after run the zipkin aggregate hadoop job dependency link be store in the database this allow we to draw a graph of the entire system hover over node will highlight which dependency link it have click a node will show a list of its dependency link and from there you can click on a dependency to view datum about the dependency link itself number of call mean time etc the width of an arrow correspond to the amount of traffic between nodes the number of call make
openzipkinzipkin
cassandra issue with query by binaryannotation
Bug
zipkin run on cassandra but can not find trace with any specify annotation when the servicename be include uppercase than the web can not find anything zipkin cassandra src main scala com twitter zipkin storage cassandra cassandraindex scala fix 273 val key encode endpoint servicename ba key getbyte val key encode endpoint servicename tolowercase ba key getbyte
openzipkinzipkin
feature hadoop
Enhancement
for context see topic zipkin user z89xjfc3goo the commit message explain a bit what s go on in the pr it s basically just a copy of this scald job discuss in msg zipkin user q emwanbhcw qbchqgel3bmj with a custom scald tap sink build on top of zipkin cassandra I choose to put the low level hadoop implementation in zipkin cassandra since it s cassandra specific that also make stuff easy if zipkin be ever port to the native cassandra client since cassie be deprecate see topic zipkin user ul58f0wzfe4 for some reason I have to change some stuff in zipkin scrooge to make it build with sbt I m not quite sure why I include it in this pr as a separate commit if one can build 3b1e4bf without a493c0b then I guess one could drop that one the module be currently only build with sbt it s miss pant build file somebody with more pant experience have to add that I guess there will also be a web ui but I ll provide that as a second pr later on so the pr doesn t grow too big there s a readme show how to set it up it would be great if people who run zipkin with cassandra in production could battle test this and reply to the pr
openzipkinzipkin
zipkin gen binaryannotation do not decode binary annotation from golang
Bug
I use thrift 0 9 1 and zipkin master when I send a trace with one binary annotation and cs cr to zipkin it throw an exception error war 20140910 18 26 29 693 processor invalid msg cgabaewsoa5p60qlaamaaaakz2v0x21lbwjlcgoababfkqguaetedwagdaaaaaikaaeabqkzfdhpowsaagaaaajjcwwaawgaaqaaaaagaaiaaasaawaaaazrzxjuzwwaaaoaaqafarn8mc jcwacaaaaamnyaa8acawaaaabcwabaaaabgtletesaaiaaaagdmfsdwuxcaadaaaabgaa error war 20140910 18 26 29 693 processor org apache thrift protocol tprotocolexception receive wrong type for field value expect string actual unknown I go to com twitter zipkin gen binaryannotation scala and print field and the output be as follow info and it expect ttype string namely type 11 but when I ignore the type mismatch like this on binaryannotation line 131 case 2 field type match case ttype string value readvaluevalue iprot case actualtype val expectedtype ttype string value readvaluevalue iprot throw new tprotocolexception receive wrong type for field value expect s actual s format ttypetohuman expectedtype ttypetohuman actualtype zipkin seem to accept it error deb 20140910 18 44 24 422 processor processing span span 35613407032242887 get member 35613407032242887 none list annotation 1410345864419960 cs some 0 0 0 0 0 kernel none annotation 1410345864420008 cr none none arraybuffer binaryannotation key1 java nio heapbyte buffer pos 0 lim 6 cap 6 annotationtype 6 string none false from cgabah6gnhtl8sclaamaaaakz2v0x21lbwjlcgoabab hjr7zflhdwagdaaaaaikaaeabqkzvejaeasaagaaaajjcwwaawgaaqaaaaagaaiaaasaawaaaazrzxjuzwwaaaoaaqafa ro8qlqocwacaaaaamnyaa8acawaaaabcwabaaaabgtletesaaiaaaagdmfsdwuxcaadaaaabgaa be it a bug of scrooge
openzipkinzipkin
many duplicate trace show in zipkin web ui use cassandra sqlite be ok
Bug
I ve be test my instrumentation use zipkin service with sqlite persistence store everything work well however in preparation of production release I switch to use cassandra 2 0 9 I see large number of duplicate trace in the web ui all point to the same trace link screen shoot 2014 08 27 at 4 00 31 pm any help would be greatly appreciate howard btw what cassandra version be officially support
openzipkinzipkin
service ui duration and relative time column be difficult to read use mixed unit of time
Bug
use mixed unit of time in the duration field and the relative time field in the service view ui make it difficult to get obvious at a glance sense of where the trouble lie it would be ideal to settle on a single unit of time e g millisecond screen shoot 2014 08 05 at 10 20 22 am screen shoot 2014 08 05 at 10 26 11 am
openzipkinzipkin
service view ui explode on long annotation name
Bug
if an annotation be extremely long it explode out the service view ui you can also see that odd line have a transparent background which make it look even bad this be on chrome version 36 0 1985 125 same experience on safari version 7 0 5 screen shoot 2014 08 05 at 10 20 22 am
openzipkinzipkin
run zipkin with zookeeper throw exception
Bug
error inf 20140717 21 01 54 095 zookeeper set group member i d to adaptiveleader 0000000008 error java lang nosuchmethoderror com twitter common zookeeper group watch lcom twitter common zookeeper group groupchangelistener v error at com twitter common zookeeper candidateimpl offerleadership candidateimpl java 136 error at com twitter zipkin collector sampler adaptive zookeeperadaptiveleader class start zookeeperadaptiveleader scala 78 error at com twitter zipkin collector sampler adaptive zookeeperadaptiveleader anon 1 start zookeeperadaptiveleader scala 152 error at com twitter zipkin collector sampler adaptive zookeeperadaptivesampler class start zookeeperadaptivesampler scala 42 error at com twitter zipkin collector sampler adaptive zookeeperadaptivesampler anon 1 start zookeeperadaptivesampler scala 60 error at com twitter zipkin collector builder collectorservicebuilder anonfun apply 1 anonfun apply 5 apply collectorservicebuilder scala 155 error at com twitter zipkin collector builder collectorservicebuilder anonfun apply 1 anonfun apply 5 apply collectorservicebuilder scala 152 error at scala option foreach option scala 197 error at com twitter zipkin collector builder collectorservicebuilder anonfun apply 1 apply collectorservicebuilder scala 152 error at com twitter zipkin collector builder collectorservicebuilder anonfun apply 1 apply collectorservicebuilder scala 104 error at com twitter zipkin collector main main main scala 34 error at com twitter zipkin collector main main main scala error at sun reflect nativemethodaccessorimpl invoke0 native method error at sun reflect nativemethodaccessorimpl invoke nativemethodaccessorimpl java 57 error at sun reflect delegatingmethodaccessorimpl invoke delegatingmethodaccessorimpl java 43 error at java lang reflect method invoke method java 601 error at scala tools nsc util scalaclassloader anonfun run 1 apply scalaclassloader scala 78 error at scala tools nsc util scalaclassloader class ascontext scalaclassloader scala 24 error at scala tools nsc util scalaclassloader urlclassloader ascontext scalaclassloader scala 88 error at scala tools nsc util scalaclassloader class run scalaclassloader scala 78 error at scala tools nsc util scalaclassloader urlclassloader run scalaclassloader scala 101 error at scala tool nsc objectrunner run objectrunner scala 33 error at scala tool nsc objectrunner runandcatch objectrunner scala 40 error at scala tools nsc maingenericrunner runtarget 1 maingenericrunner scala 56 error at scala tools nsc maingenericrunner process maingenericrunner scala 80 error at scala tools nsc maingenericrunner main maingenericrunner scala 89 error at scala tools nsc maingenericrunner main maingenericrunner scala java lang runtimeexception nonzero exit code return from runner 1 at scala sys package error package scala 27 trace stack trace suppress run last zipkin collector service compile run for the full output error zipkin collector service compile run nonzero exit code return from runner 1 why and how to solve it
openzipkinzipkin
postgresql dbconfig with ssl set to false still use ssl
Bug
the postgresql enable ssl by the mere presence of the ssl key in the connection string this be true for both the 8 4 and 9 1 driver mention in project scala the patch should be quite trivial something on the line of this in dbconfig scala scala jdbc postgresql dbp host dbp getport dbp dbname user dbp username password dbp password if param ssl ssl true else
openzipkinzipkin
time zone error
Question
there s a 1 hour difference in time zone from utc here so we don t get to see the last trace new than 1 hour unless we adjust the end time in the zipkin ui one hour ahead I guess it s my laptop computer that be set to local time and the server run utc anyways could the end time option in zipkin be turn off by default
openzipkinzipkin
abount the notification of warn
Question
hi all in zipkin be there any way to get the notification of warning for example if the web api response too long I hope to get some strong notification e g email sms thank in advance
openzipkinzipkin
new trace ui
Enhancement
this be a re write of the main trace ui I ll get an example up soon with this re write all generation happen server side once render we use flight to add behavior to the page the page be render as style divs instead of via d3 the page will now take up the full width of the browser popup be also large and clear individual span can be expand and collapse filtering of service have be simplify and expand as well
openzipkinzipkin
discussion h2 as the default database
Enhancement
I have be play with zipkin use the default sqlite implementation and have run into random failure write trace in the collector the application I be attempt to trace have span that be very short and I would get error like the follow error err 20140416 14 43 14 253 processor storespan error err 20140416 14 43 14 253 processor java sql sqlexception sql logic error or miss database error err 20140416 14 43 14 253 processor at org sqlite db throwex db java 370 error err 20140416 14 43 14 253 processor at org sqlite db exec db java 76 error err 20140416 14 43 14 253 processor at org sqlite conn rollback conn java 351 error err 20140416 14 43 14 253 processor at com twitter zipkin storage anormdb db withtransaction db scala 70 error err 20140416 14 43 14 253 processor at com twitter zipkin storage anormdb anormstorage anonfun storespan 1 apply mcv sp anormstorage scala 63 error err 20140416 14 43 14 253 processor at com twitter zipkin storage anormdb anormstorage anonfun storespan 1 apply anormstorage scala 58 error err 20140416 14 43 14 253 processor at com twitter zipkin storage anormdb anormstorage anonfun storespan 1 apply anormstorage scala 58 error err 20140416 14 43 14 253 processor at com twitter util try apply try scala 13 error err 20140416 14 43 14 253 processor at com twitter util executorservicefuturepool anon 2 run futurepool scala 111 error err 20140416 14 43 14 253 processor at java util concurrent executors runnableadapter call executor java 439 error err 20140416 14 43 14 253 processor at java util concurrent futuretask sync innerrun futuretask java 303 error err 20140416 14 43 14 253 processor at java util concurrent futuretask run futuretask java 138 error err 20140416 14 43 14 253 processor at java util concurrent threadpoolexecutor worker runtask threadpoolexecutor java 895 error err 20140416 14 43 14 253 processor at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 918 error err 20140416 14 43 14 253 processor at java lang thread run thread java 695 error err 20140416 14 43 14 253 processor storespan error err 20140416 14 43 14 253 processor java sql sqlexception database in auto commit mode error err 20140416 14 43 14 253 processor at org sqlite conn rollback conn java 350 error err 20140416 14 43 14 253 processor at com twitter zipkin storage anormdb db withtransaction db scala 70 error err 20140416 14 43 14 253 processor at com twitter zipkin storage anormdb anormstorage anonfun storespan 1 apply mcv sp anormstorage scala 63 error err 20140416 14 43 14 253 processor at com twitter zipkin storage anormdb anormstorage anonfun storespan 1 apply anormstorage scala 58 error err 20140416 14 43 14 253 processor at com twitter zipkin storage anormdb anormstorage anonfun storespan 1 apply anormstorage scala 58 error err 20140416 14 43 14 253 processor at com twitter util try apply try scala 13 error err 20140416 14 43 14 253 processor at com twitter util executorservicefuturepool anon 2 run futurepool scala 111 error err 20140416 14 43 14 253 processor at java util concurrent executors runnableadapter call executor java 439 error err 20140416 14 43 14 253 processor at java util concurrent futuretask sync innerrun futuretask java 303 error err 20140416 14 43 14 253 processor at java util concurrent futuretask run futuretask java 138 error err 20140416 14 43 14 253 processor at java util concurrent threadpoolexecutor worker runtask threadpoolexecutor java 895 error err 20140416 14 43 14 253 processor at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 918 error err 20140416 14 43 14 253 processor at java lang thread run thread java 695 think maybe the file base sqlite implementation couldn t handle the rapid span I be send it I switch to file base h2 have to tweak the sql statement as some of the group by portion be non standard and didn t work no more error and it appear all the span be store I also add a small h2 client script to launch a web gui into the same h2 database which I find useful for see what be store would this change be useful to contribute if so I would need to update the test think I might pull out the database configuration as well so you could switch database without recompile that would make it easy to unit test all database backend instead of just the default thank
openzipkinzipkin
bin web fail out of the box miss bootstrap jquery
Bug
as of commit 257f3135e78afd3894213ae2500f00ee53e28c35 the zipkin web interface throw 500 s when try to reach the following bootstrap min css bootstrap min js jquery min js they re all miss in the tree run bower install doesn t fix this but copy the file manually into zipkin web src main resource app lib produce a working ui if these be mean to be commit to the tree I can make a pull request
openzipkinzipkin
de duplicate span record in anormdb
Bug
the anormdb datum model be a bit wrong span don t get store as unique record because of this a span from the server and a span from the server get save to the span table as two different record read they out then cause duplicate datum to be display in the ui
openzipkinzipkin
refresh the find a trace section of the web ui
Enhancement
this will start the migration to bootstrap3 and flight js package management be handle with bower but package be pick apart by hand and commit directly to the repo so as to not require a full suite of js tool if someone want to simply build and run the ui
openzipkinzipkin
collector hbase scala do not properly configure zookeeper quorum value when pass string value instead of an option configuration
Bug
collector hbase scala do not properly configure zookeeper quorum value when pass string value instead of an option configuration the follow should set the zookeeper quorum value in hbase but do not val zipkinzkserver option string some some address com val zipkinzkport option int some 2181 val hbasebuilder store builder hbase storagebuilder zkserver zipkinzkserver zkport zipkinzkport hbase indexbuilder zkserver zipkinzkserver zkport zipkinzkport hbase aggregatesbuilder zkserver zipkinzkserver zkport zipkinzkport
openzipkinzipkin
add query ui support for trace with multiple parent span
Enhancement
while instrument a number of distribute service recently to enable end to end trace I run into a snag zipkin s ui seem to only support display a single span that lack a parent i d in a trace my service be all guarantee to receive a unique i d which the trace i d be base off of but service that read from a queue be not dependent on an invocation from a parent service and thus start their own new span this introduce multiple span in a trace that do not have parent ids which the zipkin ui and possibly query engine can not handle currently yes I could possibly pass a parent i d along in the message queue but the service be logically separate this just seem like a hack
openzipkinzipkin
highlight server duration on trace summary page
Enhancement
it be helpful to tell at a glance how network latency affect a trace this change show a highlight at the bottom of each span that contain both client and server timing the highlight show what duration of the span be spend in the server I arrive on this highlight style after a few other attempt it keep the span text readable and use the color for the next depth which hopefully make it more intuitive relate to issue 196 but probably not everything envision example
openzipkinzipkin
anormdb fix span merge
Bug
annotation and binary annotation be not join with span predicate on span name this cause for duplicate annotation to show up in the ui
openzipkinzipkin
ipv6 only host support
Enhancement
if I m right host identifier in trace be currently name ipv4 and encode as int32 and use as integer throughout the system column type etc this automaticaly disable ipv6 only host from be compatible with zipkin be there any plan or thought how one can add such support or maybe workaround can be find
openzipkinzipkin
web ui improvement for zero length span
Enhancement
two minor improvement for span with length zero draw span bar with small width instead of zero show bar label even if the span be of length zero
openzipkinzipkin
build ec2 on ubuntu fail
Bug
when I build zipkin get error like this error home ubuntu twitter zipkin zipkin common src main scala com twitter zipkin builder zipkinserverbuilder scala 18 statsreceiver be not a member of com twitter finagle stat error import com twitter finagle stat statsreceiver ostrichstatsreceiver error error home ubuntu twitter zipkin zipkin common src main scala com twitter zipkin builder zipkinserverbuilder scala 19 object tracing be not a member of package com twitter finagle error import com twitter finagle trace tracer nulltracer error error home ubuntu twitter zipkin zipkin common src main scala com twitter zipkin builder zipkinserverbuilder scala 38 not find type statsreceiver error statsreceiver statsreceiver new ostrichstatsreceiver error error home ubuntu twitter zipkin zipkin common src main scala com twitter zipkin builder zipkinserverbuilder scala 38 class file need by ostrichstatsreceiver be miss error reference type statsreceiverwithcumulativegauge of package com twitter finagle stat refer to nonexisting symbol error statsreceiver statsreceiver new ostrichstatsreceiver error error home ubuntu twitter zipkin zipkin common src main scala com twitter zipkin builder zipkinserverbuilder scala 48 not find type statsreceiver error def statsreceiver s statsreceiver zipkinserverbuilder copy statsreceiver s error error home ubuntu twitter zipkin zipkin common src main scala com twitter zipkin config zipkinconfig scala 19 statsreceiver be not a member of com twitter finagle stat error import com twitter finagle stat ostrichstatsreceiver statsreceiver error error home ubuntu twitter zipkin zipkin common src main scala com twitter zipkin config zipkinconfig scala 20 object tracing be not a member of package com twitter finagle error import com twitter finagle trace nulltracer tracer error error home ubuntu twitter zipkin zipkin common src main scala com twitter zipkin config zipkinconfig scala 38 not find type statsreceiver error lazy val statsreceiver statsreceiver new ostrichstatsreceiver error error home ubuntu twitter zipkin zipkin common src main scala com twitter zipkin config zipkinconfig scala 38 class file need by ostrichstatsreceiver be miss error reference type statsreceiverwithcumulativegauge of package com twitter finagle stat refer to nonexisting symbol error lazy val statsreceiver statsreceiver new ostrichstatsreceiver error error home ubuntu twitter zipkin zipkin common src main scala com twitter zipkin query trace scala 18 object tracing be not a member of package com twitter finagle error import com twitter finagle trace trace ftrace error error 10 error find error zipkin common compile compile compilation fail
openzipkinzipkin
document hbase table creation
Enhancement
document hbase table creation and how to run hbase collector and hbase query
openzipkinzipkin
hbase storage
Enhancement
here s the start of an hbase storage module it s still in pretty early form but I want to get this up so that review could start early table zipkin trace zipkin duration zipkin idxservice zipkin idxservicespanname zipkin idxserviceannotation zipkin topannotation zipkin dependency zipkin mappings zipkin idgen internal I create a non blocking future base version of hbase s htable this hbasetable use a thread pool to execute the call to hbase currently it s use hbase 0 94 9 and hadoop 1 row key construction whenever possible I be use a fix length row key that necessitate a set i d for any variable length string that can be on the row key this mapping be create use the mapping table and the i d gen table the idgen table hold the last idgenerate there can be up to long maxvalue service each service can have long maxvalue spanname and annotation the mapping table hold the mapping of array byte to i d and the reverse still todo counter counter more counter allow this to build against current hbase trunk
openzipkinzipkin
zipkin web should remember your sort order
Enhancement
it keep default back to slow request I be currently prefer timestamp descend and every time I refresh or navigate back to the page I have to reset the sort order
openzipkinzipkin
scala 2 10 artifact
Enhancement
be there artifact that support scala 2 10 have just artifact for the 2 9 release there also aren t any on maven central what to do to get em
openzipkinzipkin
search break on trace page
Question
be it just I or be the search bar completely unusable no query be return any result also I wonder if ctrl f work for your guy for I in firefox ctrl f doesn t highlight the text be search whereas in chrome ctrl f just doesn t work on the trace page
openzipkinzipkin
why I can not use aggregate in zipkin web
Bug
when I click aggregate in zipkin web the page will always in run and can not open the result and I haven t see any exception in console I wonder how can I use the aggregate function
openzipkinzipkin
why I start zipkin webui it throw a unknown method exception
Bug
when I start web ui and query the trace log it throw a unknown method exception unsafe be a class in rt jar but I try all jdk such as jdk 7u17 openjdk7 jdk6u22 openjdk6 I still can not resolve this problem I wonder this sun misc unsafe copymemory ljava lang object jljava lang object jj v in which jdk version fat 20130402 13 28 03 663 zipkinweb org apache thrift tapplicationexception internal error processing gettracesummariesbyid java lang nosuchmethoderror sun misc unsafe copymemory ljava lang object jljava lang object jj v fat 20130402 13 28 03 663 zipkinweb at org apache thrift tapplicationexception read tapplicationexception java 108 fat 20130402 13 28 03 663 zipkinweb at com twitter zipkin gen zipkinquery finagledclient decoderesponse zipkinquery scala 5263 fat 20130402 13 28 03 663 zipkinweb at com twitter zipkin gen zipkinquery finagledclient anonfun gettracesummariesbyid 1 apply zipkinquery scala 5480 fat 20130402 13 28 03 663 zipkinweb at com twitter zipkin gen zipkinquery finagledclient anonfun gettracesummariesbyid 1 apply zipkinquery scala 5479 fat 20130402 13 28 03 663 zipkinweb at com twitter util future anonfun flatmap 1 apply future scala 477 fat 20130402 13 28 03 663 zipkinweb at com twitter util future anonfun flatmap 1 apply future scala 476 fat 20130402 13 28 03 663 zipkinweb at com twitter util promise anonfun transform 1 apply future scala 883 fat 20130402 13 28 03 663 zipkinweb at com twitter util promise anonfun transform 1 apply future scala 879 fat 20130402 13 28 03 663 zipkinweb at com twitter util promise anonfun respondwithoutchaine 1 apply future scala 868 fat 20130402 13 28 03 663 zipkinweb at com twitter util promise anonfun respondwithoutchaine 1 apply future scala 863 fat 20130402 13 28 03 663 zipkinweb at com twitter concurrent ivar anonfun runqs 1 apply mcv sp ivar scala 174 fat 20130402 13 28 03 663 zipkinweb at com twitter concurrent ivar localscheduler run ivar scala 125 fat 20130402 13 28 03 663 zipkinweb at com twitter concurrent ivar localscheduler apply ivar scala 105 fat 20130402 13 28 03 663 zipkinweb at com twitter concurrent ivar runqs ivar scala 169 fat 20130402 13 28 03 663 zipkinweb at com twitter concurrent ivar set ivar scala 311
openzipkinzipkin
parallelize test
Enhancement
the build and test take quite awhile for zipkin can we speed thing up by parallelize
openzipkinzipkin
collector move sample storagerequ rate thrift method to admin interface
Enhancement
the collector thrift interface have a few admin method to get and set the sample rate and storage request rate these should be move into the ostrich admin interface
openzipkinzipkin
how can I quickly try out a zipkin demo
Bug
I just wanna try out a zipkin demo to check whether it be suitable for my own project I follow the install page and I have already build the zipkin project successfully by use the command bin sbt update package dist it show no error and all test be pass so what s the next I can not find a dist directory to execute scp dist zipkin zip server I just wanna see a demo to demonstrate the functionality of zipkin how can I try out the zipkin ui maybe the zipkin web directory I be not sure to see the rail app maybe the install page be out of date
openzipkinzipkin
simplify configuration
Enhancement
we ve have quite a bit of feedback via the mailing list that the configuration of the collector query service and web ui be quite confusing user be unclear which part they do and do not need and be often put off by there be too many move part in reality the basic collector query setup only require a backing store either cassandra or redi at the time of this writing the base config be pretty confusing so I m propose move to a finagle builder style config base config scala collectorbuilder scribe interface writeto cassandra static hostname writeto cassandra zookeeperserverset zookeeper path to cassandra cluster serverset or maybe you want to use redis instead scala collectorbuilder writeto redis static or maybe you want to listen for json on an http port doesn t exist yet but be conceivable scala collectorbuilder http json or if you want something more intense with sample scala collectorbuilder sampler sampler static 0 5 sample 50 of span or even adaptive sampling scala collectorbuilder sampler adaptivesampler zookeeper the builder would be similar for the query service and the web ui this would also allow for user to spin up all three service in the same jvm instance by return a seq builder thought
openzipkinzipkin
fix a small bug in the ui javascript s timeunit function
Bug
timeunit need to return a two item list and it shouldn t subscript number
openzipkinzipkin
collector drop trace with certain id
Bug
report instance of the collector drop specific trace ids xxx by experimentation zipkin have trouble recording trace with ids large than 2 56 1 l26
openzipkinzipkin
search for trace by a service s duration
Enhancement
would be nice to be able to sort trace by the search service s duration and not the duration of the entire trace
openzipkinzipkin
web well client server differentiation
Enhancement
would be nice to be able to clearly differentiate between the part of the span
openzipkinzipkin
publish to maven central
Enhancement
I discuss with franklinhu on create a sonatype oss account this would allow we to publish artifact directly to maven central and be good open source citizen
openzipkinzipkin
ui catch binary annotation conversion error
Bug
convert a malformed binary annotation throw exception that break the ui in this case just catch the exception and say it could not be read
openzipkinzipkin
ui buffer underflow
Bug
fat 20121023 18 33 11 993 zipkinweb java nio bufferunderflowexception fat 20121023 18 33 11 993 zipkinweb at java nio buffer nextgetindex buffer java 498 fat 20121023 18 33 11 993 zipkinweb at java nio heapbytebuffer getint heapbytebuffer java 355 fat 20121023 18 33 11 993 zipkinweb at com twitter zipkin conversions json wrappedbinaryannotation tojson json scala 19 fat 20121023 18 33 11 993 zipkinweb at com twitter zipkin conversions json wrappedtracetimeline anonfun tojson 10 apply json scala 79 fat 20121023 18 33 11 993 zipkinweb at com twitter zipkin conversions json wrappedtracetimeline anonfun tojson 10 apply json scala 79 fat 20121023 18 33 11 993 zipkinweb at scala collection traversablelike anonfun map 1 apply traversablelike scala 194 fat 20121023 18 33 11 993 zipkinweb at scala collection traversablelike anonfun map 1 apply traversablelike scala 194 fat 20121023 18 33 11 993 zipkinweb at scala collection mutable resizablearray class foreach resizablearray scala 60 fat 20121023 18 33 11 993 zipkinweb at scala collection mutable arraybuffer foreach arraybuffer scala 44 fat 20121023 18 33 11 993 zipkinweb at scala collection traversablelike class map traversablelike scala 194 fat 20121023 18 33 11 993 zipkinweb at scala collection mutable arraybuffer map arraybuffer scala 44 fat 20121023 18 33 11 993 zipkinweb at com twitter zipkin conversions json wrappedtracetimeline tojson json scala 79 fat 20121023 18 33 11 993 zipkinweb at com twitter zipkin conversions json wrappedtracecombo anonfun tojson 12 apply json scala 95 fat 20121023 18 33 11 993 zipkinweb at com twitter zipkin conversions json wrappedtracecombo anonfun tojson 12 apply json scala 95 fat 20121023 18 33 11 993 zipkinweb at scala option map option scala 133 fat 20121023 18 33 11 993 zipkinweb at com twitter zipkin conversions json wrappedtracecombo tojson json scala 95 fat 20121023 18 33 11 993 zipkinweb at com twitter zipkin web app anonfun 12 anonfun apply 23 apply app scala 236 fat 20121023 18 33 11 993 zipkinweb at com twitter zipkin web app anonfun 12 anonfun apply 23 apply app scala 235 fat 20121023 18 33 11 993 zipkinweb at com twitter util future anonfun map 1 anonfun apply 10 apply future scala 503 fat 20121023 18 33 11 993 zipkinweb at com twitter util try apply try scala 13 fat 20121023 18 33 11 993 zipkinweb at com twitter util future apply future scala 98 fat 20121023 18 33 11 993 zipkinweb at com twitter util future anonfun map 1 apply future scala 503 fat 20121023 18 33 11 993 zipkinweb at com twitter util future anonfun map 1 apply future scala 503 fat 20121023 18 33 11 993 zipkinweb at com twitter util future anonfun flatmap 1 apply future scala 477 fat 20121023 18 33 11 993 zipkinweb at com twitter util future anonfun flatmap 1 apply future scala 476 fat 20121023 18 33 11 993 zipkinweb at com twitter util promise anonfun transform 1 apply future scala 883 fat 20121023 18 33 11 993 zipkinweb at com twitter util promise anonfun transform 1 apply future scala 879 fat 20121023 18 33 11 993 zipkinweb at com twitter util promise anonfun respondwithoutchaine 1 apply future scala 868 fat 20121023 18 33 11 993 zipkinweb at com twitter util promise anonfun respondwithoutchaine 1 apply future scala 863 fat 20121023 18 33 11 993 zipkinweb at com twitter concurrent ivar anonfun runqs 1 apply mcv sp ivar scala 174 fat 20121023 18 33 11 993 zipkinweb more
openzipkinzipkin
download link for most release file appear to be break
Bug
attempt to download most of the file on the release page result in a file not find message
openzipkinzipkin
ui replace static link with url update
Enhancement
rather than display a link button to the static search page update the url so it contain the same info
openzipkinzipkin
counter log successful send despite failure when slf4j logger miss
Bug
when there s no slf4j logger implementation on the classpath the zipkin log span counter log a successful send when it s actually fail due to a noclassdeffoundexception use a simple console statsreceiver with no logger implementation the output be as follow counter httpserver connect 1 counter httpserver receive byte 149 counter httpserver request 1 stat httpserver handletime us 61161 0 stat httpserver request latency ms 4 0 counter httpserver success 1 counter zipkin create log entry error java lang noclassdeffounderror org slf4j impl staticloggerbinder 1 counter httpserver send byte 19 stat httpserver connection receive byte 149 0 stat httpserver connection send byte 19 0 stat httpserver connection duration 170 0 stat httpserver connection request 1 0 counter zipkin log span ok 1 but the span be not actually send to scribe
openzipkinzipkin
zipkin test link break
Bug
show a file not find error
openzipkinzipkin
simplify documentation for first time user
Enhancement
set finagle samplerate to 1 set collector sample rate to 1 make collector sample rate a top level config option
openzipkinzipkin
add ui complex query support
Enhancement
add feature to get trace base on an intersection of multiple annotation and or key value annotation for example trace that have both url my url json and finagle retry annotation change add common class queryrequest queryresponse to mirror previously add thrift struct break change some query form input field name have change service name to servicename span name to spanname end datetime to enddatetime annotation be now send as an array of the form annotation 0 annotation 1 etc annotation key and annotation value be similarly send as keyvalueannotation 0 key keyvalueannotation 0 val etc
openzipkinzipkin
add dependency endpoint
Enhancement
make the page for the dependency tree san any ajax or connect to the server since I learn javascript last week I reckon a lot of this will be crap
openzipkinzipkin
improve scribe documentation
Enhancement
documentation on get the full stack up and run should be more thorough
openzipkinzipkin
zipkin web remove filtering of empty span
Bug
remove filtering of empty span to fix ui side bug for case where span only have a kv annotation
openzipkinzipkin
add annotation suggestion support in ui
Enhancement
upgrade to zipkin query v0 0 3 add autocomplete dropdown with suggestion if they exist
openzipkinzipkin
prefix or regex lookup for annotation
Enhancement
we ve receive numerous request for prefix lookup or even regex match for annotation when look up trace this would allow user to match a prefix to a memcache key for example
openzipkinzipkin
display url in the lookup result
Enhancement
on the trace lookup page we can display the url of each trace in the list to make it easy to pick interesting one we would have to make the kv annotation that represent the url configurable as different instrumented library might call they differently
openzipkinzipkin
deploy script
Enhancement
right now deploy the open source version of zipkin be a very manual process we need to reduce that burden a bit capistrano script would probably do as a start
tencentapijson
bug rn
Bug
apijson version apijson 6 3 0 database type version 8 environment markdown jdk 11 0 16 os window 10 apiauto screenshot apiauto current behavior markdown abstractsqlconfig 3203 getoraclepagesql sql rownum as rn rn issue apijson alias mysql oracle oralce rn sql select from select table20240311 rownum rn from select table20240311 dd from gr bas dymform table20240311 as table20240311 leave join select from select dd rownum rn from select i d as dd i d pid from gr bas dymform dd dd where rownum 0 where rn 0 as dd on dd pid table20240311 i d table20240311 where rownum 50 where rn 0 join
tencentapijson
sys
Question
description js join tbl audit data pk uid tbl order query pass vehicle plate e55369 pass vehicle color actual veicle plate e55369 actual vehicle color ensure fee type start time 2022 09 25 21 23 31 2022 09 25 21 23 31 column pk uid order i d pass vehicle plate pass vehicle color pass vehicle info actual veicle plate actual vehicle color actual vehicle info ensure fee type order desc date format start time y m d h I s start time tbl audit datum pk uid tbl order query pk uid pk datum i d 202209252121140001 last update time 2023 02 12 11 08 18 2023 02 12 11 08 18 column last update time page 0 count 5 query 2 total total js msg you have an error in your sql syntax check the manual that correspond to your mysql server version for the right syntax to use near sys tbl audit datum as tbl audit datum on tbl audit datum pk uid tbl o at line 2 trace stack filename sqlerror java nativemethod false methodname createsqlexception classname com mysql cj jdbc exception sqlerror linenumber 120 filename sqlerror java nativemethod false methodname createsqlexception classname com mysql cj jdbc exception sqlerror linenumber 97 filename sqlexceptionsmappe java nativemethod false methodname translateexception classname com mysql cj jdbc exception sqlexceptionsmappe linenumber 122 filename clientpreparedstatement java nativemethod false methodname executeinternal classname com mysql cj jdbc clientpreparedstatement linenumber 953 filename clientpreparedstatement java nativemethod false methodname executequery classname com mysql cj jdbc clientpreparedstatement linenumber 1003 filename abstractsqlexecutor java nativemethod false methodname executequery classname apijson orm abstractsqlexecutor linenumber 1363 filename sqlexecutor java nativemethod false methodname executequery classname apijson orm sqlexecutor linenumber 70 filename abstractsqlexecutor java nativemethod false methodname execute classname apijson orm abstractsqlexecutor linenumber 294 filename abstractparser java nativemethod false methodname executesql classname apijson orm abstractparser linenumber 2032 filename abstractobjectparser java nativemethod false methodname onsqlexecute classname apijson orm abstractobjectparser linenumber 1095 filename abstractobjectparser java nativemethod false methodname executesql classname apijson orm abstractobjectparser linenumber 933 filename abstractobjectparser java nativemethod false methodname executesql classname apijson orm abstractobjectparser linenumber 38 filename abstractparser java nativemethod false methodname onobjectparse classname apijson orm abstractparser linenumber 1165 filename abstractobjectparser java nativemethod false methodname onchildparse classname apijson orm abstractobjectparser linenumber 578 filename abstractobjectparser java nativemethod false methodname parse classname apijson orm abstractobjectparser linenumber 282 filename abstractobjectparser java nativemethod false methodname parse classname apijson orm abstractobjectparser linenumber 38 filename abstractparser java nativemethod false methodname onobjectparse classname apijson orm abstractparser linenumber 1125 filename abstractparser java nativemethod false methodname onarrayparse classname apijson orm abstractparser linenumber 1354 filename abstractobjectparser java nativemethod false methodname onchildparse classname apijson orm abstractobjectparser linenumber 558 filename abstractobjectparser java nativemethod false methodname parse classname apijson orm abstractobjectparser linenumber 282 filename abstractobjectparser java nativemethod false methodname parse classname apijson orm abstractobjectparser linenumber 38 filename abstractparser java nativemethod false methodname onobjectparse classname apijson orm abstractparser linenumber 1125 filename abstractparser java nativemethod false methodname parseresponse classname apijson orm abstractparser linenumber 527 filename apijsonparser java nativemethod false methodname parseresponse classname apijson framework apijsonparser linenumber 117 filename eagleparser java nativemethod false methodname parseresponse classname com eagle tpd order crud framework config eagleparser linenumber 25 filename abstractparser java nativemethod false methodname parseresponse classname apijson orm abstractparser linenumber 442 filename abstractparser java nativemethod false methodname parse classname apijson orm abstractparser linenumber 414 filename apijsoncontroller java nativemethod false methodname parse classname apijson framework apijsoncontroller linenumber 93 filename apijsoncontroller java nativemethod false methodname crud classname apijson framework apijsoncontroller linenumber 121 filename crudcontroller java nativemethod false methodname crud classname com eagle tpd order crud controller crudcontroller linenumber 39 filename nativemethodaccessorimpl java nativemethod true methodname invoke0 classname sun reflect nativemethodaccessorimpl linenumber 2 filename nativemethodaccessorimpl java nativemethod false methodname invoke classname sun reflect nativemethodaccessorimpl linenumber 62 filename delegatingmethodaccessorimpl java nativemethod false methodname invoke classname sun reflect delegatingmethodaccessorimpl linenumber 43 filename method java nativemethod false methodname invoke classname java lang reflect method linenumber 498 filename invocablehandlermethod java nativemethod false methodname doinvoke classname org springframework web method support invocablehandlermethod linenumber 190 filename invocablehandlermethod java nativemethod false methodname invokeforrequ classname org springframework web method support invocablehandlermethod linenumber 138 filename servletinvocablehandlermethod java nativemethod false methodname invokeandhandle classname org springframework web servlet mvc method annotation servletinvocablehandlermethod linenumber 104 filename requestmappinghandleradapter java nativemethod false methodname invokehandlermethod classname org springframework web servlet mvc method annotation requestmappinghandleradapter linenumber 892 filename requestmappinghandleradapter java nativemethod false methodname handleinternal classname org springframework web servlet mvc method annotation requestmappinghandleradapter linenumber 797 filename abstracthandlermethodadapter java nativemethod false methodname handle classname org springframework web servlet mvc method abstracthandlermethodadapter linenumber 87 filename dispatcherservlet java nativemethod false methodname dodispatch classname org springframework web servlet dispatcherservlet linenumber 1039 filename dispatcherservlet java nativemethod false methodname doservice classname org springframework web servlet dispatcherservlet linenumber 942 filename frameworkservlet java nativemethod false methodname processrequ classname org springframework web servlet frameworkservlet linenumber 1005 filename frameworkservlet java nativemethod false methodname dopost classname org springframework web servlet frameworkservlet linenumber 908 filename httpservlet java nativemethod false methodname service classname javax servlet http httpservlet linenumber 665 filename frameworkservlet java nativemethod false methodname service classname org springframework web servlet frameworkservlet linenumber 882 filename httpservlet java nativemethod false methodname service classname javax servlet http httpservlet linenumber 750 filename applicationfilterchain java nativemethod false methodname internaldofilter classname org apache catalina core applicationfilterchain linenumber 231 filename applicationfilterchain java nativemethod false methodname dofilter classname org apache catalina core applicationfilterchain linenumber 166 filename wsfilter java nativemethod false methodname dofilter classname org apache tomcat websocket server wsfilter linenumber 53 filename applicationfilterchain java nativemethod false methodname internaldofilter classname org apache catalina core applicationfilterchain linenumber 193 filename applicationfilterchain java nativemethod false methodname dofilter classname org apache catalina core applicationfilterchain linenumber 166 filename advicefilter java nativemethod false methodname executechain classname org apache shiro web servlet advicefilter linenumber 108 filename advicefilter java nativemethod false methodname dofilterinternal classname org apache shiro web servlet advicefilter linenumber 137 filename onceperrequestfilter java nativemethod false methodname dofilter classname org apache shiro web servlet onceperrequestfilter linenumber 125 filename applicationfilterchain java nativemethod false methodname internaldofilter classname org apache catalina core applicationfilterchain linenumber 193 filename applicationfilterchain java nativemethod false methodname dofilter classname org apache catalina core applicationfilterchain linenumber 166 filename abstractshirofilter java nativemethod false methodname executechain classname org apache shiro web servlet abstractshirofilter linenumber 449 filename abstractshirofilter java nativemethod false methodname call classname org apache shiro web servlet abstractshirofilter 1 linenumber 365 filename subjectcallable java nativemethod false methodname docall classname org apache shiro subject support subjectcallable linenumber 90 filename subjectcallable java nativemethod false methodname call classname org apache shiro subject support subjectcallable linenumber 83 filename delegatingsubject java nativemethod false methodname execute classname org apache shiro subject support delegatingsubject linenumber 387 filename abstractshirofilter java nativemethod false methodname dofilterinternal classname org apache shiro web servlet abstractshirofilter linenumber 362 filename onceperrequestfilter java nativemethod false methodname dofilter classname org apache shiro web servlet onceperrequestfilter linenumber 125 filename applicationfilterchain java nativemethod false methodname internaldofilter classname org apache catalina core applicationfilterchain linenumber 193 filename applicationfilterchain java nativemethod false methodname dofilter classname org apache catalina core applicationfilterchain linenumber 166 filename simplecorsfilter java nativemethod false methodname dofilter classname com eagle tpd comm filter simplecorsfilter linenumber 23 filename applicationfilterchain java nativemethod false methodname internaldofilter classname org apache catalina core applicationfilterchain linenumber 193 filename applicationfilterchain java nativemethod false methodname dofilter classname org apache catalina core applicationfilterchain linenumber 166 filename reqlogfilter java nativemethod false methodname dofilter classname com eagle tpd order filter reqlogfilter linenumber 68 filename applicationfilterchain java nativemethod false methodname internaldofilter classname org apache catalina core applicationfilterchain linenumber 193 filename applicationfilterchain java nativemethod false methodname dofilter classname org apache catalina core applicationfilterchain linenumber 166 filename tokenfilter java nativemethod false methodname dofilter classname com eagle tpd user filter tokenfilter linenumber 99 filename applicationfilterchain java nativemethod false methodname internaldofilter classname org apache catalina core applicationfilterchain linenumber 193 filename applicationfilterchain java nativemethod false methodname dofilter classname org apache catalina core applicationfilterchain linenumber 166 filename simplecorsfilter java nativemethod false methodname dofilter classname com eagle tpd comm filter simplecorsfilter linenumber 23 filename applicationfilterchain java nativemethod false methodname internaldofilter classname org apache catalina core applicationfilterchain linenumber 193 filename applicationfilterchain java nativemethod false methodname dofilter classname org apache catalina core applicationfilterchain linenumber 166 filename exceptionfilter java nativemethod false methodname dofilter classname com eagle tpd comm exception exceptionfilter linenumber 14 filename applicationfilterchain java nativemethod false methodname internaldofilter classname org apache catalina core applicationfilterchain linenumber 193 filename applicationfilterchain java nativemethod false methodname dofilter classname org apache catalina core applicationfilterchain linenumber 166 filename requestcontextfilter java nativemethod false methodname dofilterinternal classname org springframework web filter requestcontextfilter linenumber 99 filename onceperrequestfilter java nativemethod false methodname dofilter classname org springframework web filter onceperrequestfilter linenumber 118 filename applicationfilterchain java nativemethod false methodname internaldofilter classname org apache catalina core applicationfilterchain linenumber 193 filename applicationfilterchain java nativemethod false methodname dofilter classname org apache catalina core applicationfilterchain linenumber 166 filename formcontentfilter java nativemethod false methodname dofilterinternal classname org springframework web filter formcontentfilter linenumber 92 filename onceperrequestfilter java nativemethod false methodname dofilter classname org springframework web filter onceperrequestfilter linenumber 118 filename applicationfilterchain java nativemethod false methodname internaldofilter classname org apache catalina core applicationfilterchain linenumber 193 filename applicationfilterchain java nativemethod false methodname dofilter classname org apache catalina core applicationfilterchain linenumber 166 filename hiddenhttpmethodfilter java nativemethod false methodname dofilterinternal classname org springframework web filter hiddenhttpmethodfilter linenumber 93 filename onceperrequestfilter java nativemethod false methodname dofilter classname org springframework web filter onceperrequestfilter linenumber 118 filename applicationfilterchain java nativemethod false methodname internaldofilter classname org apache catalina core applicationfilterchain linenumber 193 filename applicationfilterchain java nativemethod false methodname dofilter classname org apache catalina core applicationfilterchain linenumber 166 filename characterencodingfilter java nativemethod false methodname dofilterinternal classname org springframework web filter characterencodingfilter linenumber 200 filename onceperrequestfilter java nativemethod false methodname dofilter classname org springframework web filter onceperrequestfilter linenumber 118 filename applicationfilterchain java nativemethod false methodname internaldofilter classname org apache catalina core applicationfilterchain linenumber 193 filename applicationfilterchain java nativemethod false methodname dofilter classname org apache catalina core applicationfilterchain linenumber 166 filename standardwrappervalve java nativemethod false methodname invoke classname org apache catalina core standardwrappervalve linenumber 202 filename standardcontextvalve java nativemethod false methodname invoke classname org apache catalina core standardcontextvalve linenumber 96 filename authenticatorbase java nativemethod false methodname invoke classname org apache catalina authenticator authenticatorbase linenumber 490 filename standardhostvalve java nativemethod false methodname invoke classname org apache catalina core standardhostvalve linenumber 139 filename errorreportvalve java nativemethod false methodname invoke classname org apache catalina valve errorreportvalve linenumber 92 filename standardenginevalve java nativemethod false methodname invoke classname org apache catalina core standardenginevalve linenumber 74 filename coyoteadapter java nativemethod false methodname service classname org apache catalina connector coyoteadapter linenumber 343 filename http11processor java nativemethod false methodname service classname org apache coyote http11 http11processor linenumber 408 filename abstractprocessorlight java nativemethod false methodname process classname org apache coyote abstractprocessorlight linenumber 66 filename abstractprotocol java nativemethod false methodname process classname org apache coyote abstractprotocol connectionhandler linenumber 853 filename nioendpoint java nativemethod false methodname dorun classname org apache tomcat util net nioendpoint socketprocessor linenumber 1587 filename socketprocessorbase java nativemethod false methodname run classname org apache tomcat util net socketprocessorbase linenumber 49 filename threadpoolexecutor java nativemethod false methodname runworker classname java util concurrent threadpoolexecutor linenumber 1149 filename threadpoolexecutor java nativemethod false methodname run classname java util concurrent threadpoolexecutor worker linenumber 624 filename taskthread java nativemethod false methodname run classname org apache tomcat util thread taskthread wrappingrunnable linenumber 61 filename thread java nativemethod false methodname run classname java lang thread linenumber 748 code 500 datum tbl audit datum last update time 2023 02 12 11 08 18 2023 02 12 11 08 18 pk uid tbl order query pk uid column last update time pk datum i d 202209252121140001 query 2 count 5 page 0 join tbl audit data pk uid tbl order query ensure fee type start time 2022 09 25 21 23 31 2022 09 25 21 23 31 pass vehicle color actual vehicle color pass vehicle plate e55369 actual veicle plate e55369 column pk uid order i d pass vehicle plate pass vehicle color pass vehicle info actual veicle plate actual vehicle color actual vehicle info ensure fee type order desc date format start time y m d h I s start time trace throw java sql sqlsyntaxerrorexception total total depth count max 3 5 time start duration end parse sql 1706856326715 251 1706856326966 251 0 debug info help n n google n n n n apiauto n n n github n n n n n n you have an error in your sql syntax check the manual that correspond to your mysql server version for the right syntax to use near sys tbl audit datum as tbl audit datum on tbl audit datum pk uid tbl o at line 2 n n window 10 10 0 n mysql 5 7 22 n jdk 1 8 0 291 amd64 n apijson 6 3 0 n n nyou have an error in your sql syntax check the manual that correspond to your mysql server version for the right syntax to use near sys tbl audit datum as tbl audit datum on tbl audit datum pk uid tbl o at line 2 n n n npost n request json n js n user n n n response json n js n user code 401 msg user unknown get n time 1706856326966 ok false sql generate cache execute maxexecute 1 0 1 1000000 sql 1 sql execute starttime 1706856326717 database schema db wh portal xl sql sql select count as count from db wh portal xl tbl order query as tbl order query inner join sys tbl audit datum as tbl audit datum on tbl audit datum pk uid tbl order query pk uid where tbl order query pass vehicle plate e55369 and tbl order query pass vehicle color and tbl order query actual veicle plate e55369 and tbl order query actual vehicle color and tbl order query ensure fee type in and tbl order query start time between 2022 09 25 21 23 31 and 2022 09 25 21 23 31 and tbl audit datum pk datum i d 202209252121140001 and tbl audit datum last update time between 2023 02 12 11 08 18 and 2023 02 12 11 08 18 sys tbl audit datum db wh portal xl tbl audit datum
tencentapijson
apijson
Question
description 6 3 0 apijson function begin commit rollback sql 1 2 sql demo
tencentapijson
admin
Question
apijson version apijson 6 3 0 database type version 5 7 34 environment markdown jdk 1 8 os deepin apiauto screenshot apiauto verifyadmin admin current behavior markdown verifyadmin admin admin login expect behavior markdown admin any additional comment no response
tencentapijson
apijson dynamic datasource
Question
description dynamic datasource demo
tencentapijson
crud catch
Enhancement
description js try crud db redis catch todo redi key finally
tencentapijson
can not invoke java util map get object because apijson orm abstractverifi access fake delete map be null
Bug
apijson version apijson 6 3 0 database type version mysql8 environment markdown can not invoke java util map get object because apijson orm abstractverifi access fake delete map be null window 11 10 0 jdk 21 0 1 amd64 apijson 6 3 0 apiauto screenshot apiauto current behavior markdown can not invoke java util map get object because apijson orm abstractverifi access fake delete map be null expect behavior markdown any additional comment markdown debug log debug false
tencentapijson
sqlserver
Bug
description sqlserver function json user limit 2 offset 5 procedure testproc limit offset limit 2 offset 5 procedure testproc limit offset use of execute string method be not support on this type of statement alter procedure dbo testproc limit int offset int as begin select limit offset as sumqty end execute testproc 4 5 sqlserver execute testproc 4 5
tencentapijson
bug inner join where leave join
Question
apijson version apijson 6 1 0 database type version mysql5 7 environment markdown jdk 1 8 os linux apiauto screenshot apiauto bug inner join where leave join current behavior markdown inner join where leave join expect behavior no response any additional comment no response
tencentapijson
bug sqlserver
Help Wanted
apijson version apijson 6 2 database type version sqlserver2012 environment markdown jdk 1 8 os win11 apiauto screenshot apiauto current behavior markdown moment column max date date moment column max date date ok false code 500 msg sqlexception log debug log order by i d group by max i d expect behavior markdown moment column max date date max i d i d any additional comment no response
tencentapijson
access request postman document
Question
description apijson v6 2 0 jdk 17 document
tencentapijson
apijson 5 3 0 6 2 0
Bug
description test table column i d name datasource xxxdatasource count 1 page 0 query 2 list moveobj test table method get pageinfo info 5 3 0 list moveobj 6 2 0 list moveobj moveobj test table sql json list 5 3 0 6 2 0 5 3 0 table list moveobj functionmap 6 2 0 isplus false istable false parsefunction
tencentapijson
feature mysql multipolygon
Question
description select i d camera name from ivs video device where st contain view area point 3 3 update ivs video device set view area st geomfromtext multipolygon 2 2 2 7 7 7 7 2 2 2 where i d 1694855561796 multipolygon
tencentapijson
total sql
Bug
description vehiclelist count ds etcmj vehicleclass 0 vehicletype 1 order maxcnt vehicleid qd24s8 0 sumdate 2023 10 15 2023 10 17 cntss 3 group vehicleid sumdate column vehicleid sumdate max vehicletype vt max vehicleclass vc max cnt maxcnt max cntss maxcntss page 0 count 5 query 2 total total msg success total 18 code 200 datum vehiclelist count maxcnt 18 vehicleid qd24s8 0 sumdate 2023 10 17 vc 0 maxcntss 3 vt 1 ds etcmj depth count max 3 5 time start duration end parse sql 1698283826663 136 1698283826799 7 129 debug info help n bug n n n n n n linux 3 10 0 1160 el7 x86 64 n default database mysql njdk 1 8 0 222 amd64 napijson 6 1 0 n n n n ok true sql generate cache execute maxexecute 2 0 2 1000000 total 18 1
tencentapijson
feature
Question
description
tencentapijson
i d
Question
description 6 2 0
tencentapijson
Question
apijson version apijson 6 2 0 database type version mysql8 environment markdown jdk 1 8 os window apiauto screenshot apiauto current behavior markdown column join query 2 page 0 count 10 devdeviceinstance column i d name product i d devproduct column i d name i d devdeviceinstance product i d join devproduct i d total total info info devdeviceinstance i d 500 name productid 1694773415864 devdeviceinstance i d 501 name 10 productid 1685845210247561218 total 2 info total 2 count 10 page 0 max 0 more false first true last true ok true code 200 msg success debug info help n bug n n n n n n window 10 10 0 n default database mysql njdk 1 8 0 261 amd64 napijson 6 2 1 n n n n reference 0 devproduct i d 0 devdeviceinstance product i d null time 1695371196089 sql generate cache execute maxexecute 2 0 2 200 depth count max 3 5 time start duration end parse sql 1695371195868 221 1695371196089 19 202 expect behavior markdown any additional comment no response
tencentapijson
bug response
Question
apijson version apijson 6 2 0 database type version mysql 5 7 environment markdown jdk 1 8 0 17 os window 11 apiauto screenshot apiauto current behavior markdown url get body classroom datum classroom count 8 page 0 format true explain false datum classroom i d 1 name classroom 1 address room1 area 20 remark rm1 count 8 page 0 ok true code 200 msg success expect behavior markdown datum i d 1 name classroom 1 address room1 area 20 remark rm1 i d 2 name classroom 2 address room2 area 20 remark rm2 ok true code 200 msg success any additional comment no response
tencentapijson
bug
Bug
apijson version apijson 6 2 0 database type version mysql 8 environment markdown jdk 1 8 os macos apiauto screenshot apiauto current behavior markdown aceess 3 deletedkey deletedvalue notdeletedvalue aceess customer customer deletedkey be del deletedvalue 1 notdeletedvalue 0 customer customer be del 0 demosqlconfig isfakedelete true post delete customer i d 15 expect behavior markdown be del 1 any additional comment markdown method delete null map accessfakedeletemap method delete null abstractverifi access fake delete map get config gettable l5240
tencentapijson
6 1 0 crud
Question
apijson version apijson 6 1 0 database type version 5 7mysql environment jdk 1 8 os window apiauto screenshot apiauto post whp tag whp whz tag whz whp name 3 whz address 3 foreign i d whp i d address 3 foreign i d whp i d delete whz del tag whz whz i d 143 144 tag whp whz formid 1684508373846192130 datasourceid 215w4mjk image current behavior expect behavior any additional comment no response
tencentapijson
from
Enhancement
description from apijson join d grade rule detail grade rule i d d grade rule column i d view i d d grade rule detail grade rule i d d grade rule i d from from d grade rule detail d grade rule detail column grade rule i d count hierarchy group grade rule i d page 0 count 20 query 2 info info explain false from apijson
tencentapijson
Enhancement
description count 30 view base count column concat substre index enter code 1 0000 0000 company sum total count count min company name company name raw column data type device log province code 110000 group company view base count company substre index enter code 1 0000 0000 count 485 company name xxx count 30 ok true code 200 msg success debug info help n bug n n n n n n window 10 10 0 n default database mysql njdk 1 8 0 201 amd64 napijson 6 1 0 n n n n sql generate cache execute maxexecute 1 0 1 200 depth count max 3 5 time start duration end parse sql 1689837777891 14 1689837777905 3 11
tencentapijson
xxx json
Question
description select subquery1 sumcount subquery2 doccount as total from select sum doc count as sumcount from apijson java base datum count where datum date 20230604 and datum type 1 limit 1 as subquery1 select doc count as doccount from apijson java base count where datum type 1 limit 1 as subquery2 sql json