Fully featured low overhead profiler for Java EE and Java SE platforms.
Easy to use performance and memory .NET profiler for Windows and Linux.
Performance monitoring and profiling of Jenkins, Bamboo, TeamCity, Gradle, Maven, Ant and JUnit.

YouMonitor and AWS elastic agents

Moderators: Vladimir Kondratyev, Anton Katilin

YouMonitor and AWS elastic agents

Postby bbianchi » Mon Dec 30, 2019 9:16 pm

I am trying to integrate YouMonitor with my Jenkins server, which uses elastic agents on AWS. The agents run 10 build jobs and then self terminate.

I installed the Jenkins YouMonitor Plugin and created a pipeline with build commands wrapped inside of "youMonitor {}" blocks as a test environment.

Unfortunately, It seems the repository data is stored directly on the agents, which as I have explained, are not permanent agents.

Should I create a stage that copies the repository data off the elastic agents and into a central location, say on the Jenkins server itself, before the agent terminates? Or perhaps some other solution?

Please advise. Thank you.
Posts: 7
Joined: Mon Dec 30, 2019 9:09 pm

Re: YouMonitor and AWS elastic agents

Postby Ilya Kalikin » Thu Jan 02, 2020 4:39 pm

YouMonitor plugin automatically copies its logs from the remote nodes to the Jenkins server.
Are these elastic agents actually Jenkins nodes? If so, then such code should work (from docs):
Code: Select all
node {
  youMonitor {                           
    bat 'mvn install'

Do you use some plugin to create and/or connect to the AWS elastic agents? Could you please provide a link.

Please note that it is currently not possible to monitor remote builds which require manual uploading and launching using SSH, SCP or similar tasks, i.e. anything that is not a Jenkins node.
Ilya Kalikin
Posts: 14
Joined: Mon Jun 12, 2017 3:06 pm

Re: YouMonitor and AWS elastic agents

Postby bbianchi » Thu Jan 02, 2020 9:44 pm

Thank you for the response. Looks like the data is in fact being copied from the elastic agents back to the Jenkins server. Not sure how I missed it initially.

Please disregard.
Posts: 7
Joined: Mon Dec 30, 2019 9:09 pm

Re: YouMonitor and AWS elastic agents

Postby Vladimir Kondratyev » Fri Jan 03, 2020 11:54 am

Thank you for the notice.

Best regards,
Vladimir Kondratyev
YourKit GmbH
"Don't get lost in data, get information!"
Vladimir Kondratyev
Posts: 1527
Joined: Tue Aug 10, 2004 7:52 pm
Location: Düsseldorf, Germany

Return to YouMonitor

Who is online

Users browsing this forum: No registered users and 1 guest

YourKit uses cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.

By browsing our website, you consent to our use of cookies and other tracking technologies in accordance with the Privacy Policy.