Correct. This is what the documentation says. Please also read the description if the options and see what is suitable for your scenario.
On 2018-05-17 10:16, Majd Harwida wrote: > Thanks Marc! > > So would this be the right approach attach Jacoco to my service? > > Java -javaagent:_[yourpath/]_jacocoagent.jar=_[option1]_=_[value1] -jar > myservicename.jar_ > > _ _ > > _ _ > > On Thu, 17 May 2018, 07:54 Marc Hoffmann, <[email protected]> wrote: > > Sure, this is possible. Simply configure the JaCoCo agent for the services: > > https://www.jacoco.org/jacoco/trunk/doc/agent.html > > Regards, > -marc > > On 2018-05-16 20:40, mskh wrote: > Hi all, > > Our backend services are built as JARs (using Maven) and then deployed as > RPMs (using Jenkins) on a dedicated CentOS server. I have already enabled > JaCoCo in the POM settings for each of our services and would like to know if > it would be possible to attach the JaCoCo agent to any of these running > services on production to see how much code is hit by the live traffic coming > from customers. > > Thanks > Mskh > > -- > You received this message because you are subscribed to the Google Groups > "JaCoCo and EclEmma Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jacoco/6ab4f518-1b59-4f28-9b43-04f4e6c23fd4%40googlegroups.com > [1]. > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to a topic in the Google > Groups "JaCoCo and EclEmma Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/jacoco/r1UE3mE-wdI/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jacoco/685204ad9d023005bf9076a9c3790d05%40mountainminds.com > [2]. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/CAK9HbV%3DqJtYgYEMg_RaSKBBHOiQR8HpLWp%3Dr-E_LWyFHhsu5oQ%40mail.gmail.com [3]. For more options, visit https://groups.google.com/d/optout. Links: ------ [1] https://groups.google.com/d/msgid/jacoco/6ab4f518-1b59-4f28-9b43-04f4e6c23fd4%40googlegroups.com?utm_medium=email&utm_source=footer [2] https://groups.google.com/d/msgid/jacoco/685204ad9d023005bf9076a9c3790d05%40mountainminds.com?utm_medium=email&utm_source=footer [3] https://groups.google.com/d/msgid/jacoco/CAK9HbV%3DqJtYgYEMg_RaSKBBHOiQR8HpLWp%3Dr-E_LWyFHhsu5oQ%40mail.gmail.com?utm_medium=email&utm_source=footer -- You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/7317f1f390742fe1642af9d88f5dec87%40mountainminds.com. For more options, visit https://groups.google.com/d/optout.
