zalando-zmon / zmon-actuator Goto Github PK
View Code? Open in Web Editor NEWImproved REST endpoint metrics for Spring Boot Projects
Home Page: http://zalando.github.io/zmon
Improved REST endpoint metrics for Spring Boot Projects
Home Page: http://zalando.github.io/zmon
I have an application that uses RxJava/Jersey/Spring boot.
I have the zmon-actuator metrics displayed on a grafana board.
As I noticed my actual latency didn't match with what is shown in grafana board, I looked into it and found a problem with the use of ZmonMetricsFilter extends OncePerRequestFilter
.
The stopwatch is started, my application logic triggers some external calls, stop watch is stopped and the metrics recorded, now my application logic get callbacks from external services and it sends final response to the client.
Basically I'm suing @suspended annotation of jax-rs
10:06:19 AM [INFO] ------------------------------------------------------------------------
10:06:19 AM [INFO] Total time: 13.315 s
10:06:19 AM [INFO] Finished at: 2018-11-15T09:06:19+00:00
10:06:19 AM [INFO] Final Memory: 46M/412M
10:06:19 AM [INFO] ------------------------------------------------------------------------
10:06:19 AM [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.21.0:test (default-test) on project zmon-actuator: There are test failures.
10:06:19 AM [ERROR]
10:06:19 AM [ERROR] Please refer to /workspace/zmon-actuator/target/surefire-reports for the individual test results.
10:06:19 AM [ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream.
10:06:19 AM [ERROR] The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
10:06:19 AM [ERROR] Command was /bin/sh -c cd /workspace/zmon-actuator && /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.8.1/org.jacoco.agent-0.8.1-runtime.jar=destfile=/workspace/zmon-actuator/target/jacoco.exec -jar /workspace/zmon-actuator/target/surefire/surefirebooter6846468578410377003.jar /workspace/zmon-actuator/target/surefire 2018-11-15T09-06-18_924-jvmRun1 surefire1061580974100643515tmp surefire_0317513306829845658tmp
10:06:19 AM [ERROR] Error occurred in starting fork, check output in log
10:06:19 AM [ERROR] Process Exit Code: 1
10:06:19 AM [ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
10:06:19 AM [ERROR] Command was /bin/sh -c cd /workspace/zmon-actuator && /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.8.1/org.jacoco.agent-0.8.1-runtime.jar=destfile=/workspace/zmon-actuator/target/jacoco.exec -jar /workspace/zmon-actuator/target/surefire/surefirebooter6846468578410377003.jar /workspace/zmon-actuator/target/surefire 2018-11-15T09-06-18_924-jvmRun1 surefire1061580974100643515tmp surefire_0317513306829845658tmp
10:06:19 AM [ERROR] Error occurred in starting fork, check output in log
10:06:19 AM [ERROR] Process Exit Code: 1
10:06:19 AM [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:671)
10:06:19 AM [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:533)
10:06:19 AM [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:278)
10:06:19 AM [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:244)
10:06:19 AM [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1149)
10:06:19 AM [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:978)
10:06:19 AM [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:854)
10:06:19 AM [ERROR] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
10:06:19 AM [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
10:06:19 AM [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
10:06:19 AM [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
10:06:19 AM [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
10:06:19 AM [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
10:06:19 AM [ERROR] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
10:06:19 AM [ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
10:06:19 AM [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
10:06:19 AM [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
10:06:19 AM [ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
10:06:19 AM [ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
10:06:19 AM [ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
10:06:19 AM [ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
10:06:19 AM [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
10:06:19 AM [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
10:06:19 AM [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
10:06:19 AM [ERROR] at java.lang.reflect.Method.invoke(Method.java:498)
10:06:19 AM [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
10:06:19 AM [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
10:06:19 AM [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
10:06:19 AM [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
10:06:19 AM [ERROR] -> [Help 1]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.