cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Java agent for jenkins job monitoring

Hi,

 

Need help on monitoring the jobs in jenkins using Java agent.

 

I have installed and configured java agent on jenkins host. In Buisness transaction its capturing details for / Service endpoints.but not for /Job/"different jobs".

 

Can you help me how to configure the jobs unders /job service endpoints.

 

Thanks,

Santhosh

1 REPLY 1

Philipp.von dem Bussche-Huennefeld
AppDynamics Team (Retired)

Hi Santosh,

 

do you want to monitor interaction with the Jenkins UI around your jobs or rather the job / build execution itself ?

When it was job execution then monitoring /job would not be sufficient I am afraid. This would only capture a user going onto the respective dashboards in Jenkins and checking the status of past jobs.

 

Another route might be to look at the Jenkins statistics published by default under 

http://<server>/jenkins/job/<job_name>/lastBuild/api/json?pretty=true and then consume that and push it back into AppD using a custom script agent like this https://docs.appdynamics.com/display/PRO45/Build+a+Monitoring+Extension+Using+Scripts
 
Philipp
Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.