Git Product home page Git Product logo

zmon-actuator's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

zmon-actuator's Issues

Actuator cannot record metrics for downstream asynchronous tasks

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

maven build fails

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]

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.