Giter VIP home page Giter VIP logo

cloud-trace-java-instrumentation's Introduction

Google Cloud Trace Java Instrumentation

Build Status Maven Central

Google Cloud Trace Java Instrumentation is a collection of Java libraries that integrate with Google Cloud Trace for collecting, displaying, and analyzing latency data from applications.

cloud-trace-java-instrumentation's People

Contributors

erikmcc avatar kevinmdavis avatar mtwo avatar ubschmidt avatar ubschmidt2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cloud-trace-java-instrumentation's Issues

UndeclaredThrowableException starting to show up

Thank you for a really nice tool. I do have a strange thing happening from time to time since I switched to the new db driver: I get an UndeclaredThrowableException in one of my very simple update calls. The error it should be reporting is (as tested on dev env):

com.google.api.server.spi.response.InternalServerErrorException: insert error
at com.connvision.napoleon.endpoints.CustomerEndpoint.insertCustomer(CustomerEndpoint.java:88)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
...
Caused by: java.sql.SQLException: Duplicate entry entry. ....
...

The stack trace as reported by by Appengine with the new trace driver:

java.lang.reflect.UndeclaredThrowableException
at com.sun.proxy.$Proxy28.executeUpdate (Unknown Source)
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate (DelegatingPreparedStatement.java:105)
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate (DelegatingPreparedStatement.java:105)
at org.apache.commons.dbutils.QueryRunner.update (QueryRunner.java:488)
at org.apache.commons.dbutils.QueryRunner.update (QueryRunner.java:404)
at com.connvision.napoleon.models.Customer.save (Customer.java:100)
at com.connvision.napoleon.endpoints.CustomerEndpoint.insertCustomer (CustomerEndpoint.java:84)
at sun.reflect.GeneratedMethodAccessor572.invoke (Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:42)
at com.google.api.server.spi.SystemService.invokeServiceMethod (SystemService.java:363)
at com.google.api.server.spi.SystemServiceServlet.execute (SystemServiceServlet.java:113)
at com.google.api.server.spi.SystemServiceServlet.doPost (SystemServiceServlet.java:71)
at javax.servlet.http.HttpServlet.service (HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service (HttpServlet.java:717)
at org.mortbay.jetty.servlet.ServletHolder.handle (ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter (ServletHandler.java:1166)
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite (RuleChain.java:176)
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules (RuleChain.java:145)
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest (UrlRewriter.java:92)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter (UrlRewriteFilter.java:389)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter (ServletHandler.java:1157)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter (ServletHandler.java:1157)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter (ServletHandler.java:1157)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter (ServletHandler.java:1157)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter (ServletHandler.java:1157)
at org.mortbay.jetty.servlet.ServletHandler.handle (ServletHandler.java:388)
at org.mortbay.jetty.security.SecurityHandler.handle (SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle (SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle (ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle (WebAppContext.java:418)
at org.mortbay.jetty.handler.HandlerWrapper.handle (HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle (Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest (HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete (HttpConnection.java:923)
at org.mortbay.jetty.HttpConnection.handle (HttpConnection.java:404)
at com.google.tracing.TraceContext$TraceContextRunnable.runInContext (TraceContext.java:453)
at com.google.tracing.TraceContext$TraceContextRunnable$1.run (TraceContext.java:460)
at com.google.tracing.CurrentContext.runInContext (CurrentContext.java:293)
at com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContextNoUnref (TraceContext.java:319)
at com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContext (TraceContext.java:311)
at com.google.tracing.TraceContext$TraceContextRunnable.run (TraceContext.java:457)
at java.lang.Thread.run (Thread.java:745)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.