AppDynamics Knowledge Base

How to list PSA pods/containers running only a particular synthetic job or a synthetic job session

How to list PSA pods/containers running only a particular synthetic job or a synthetic job session

1. Use below commands to list all the containers/pods for a particular synthetic job with <scheduleIdValue>:

  • For Docker based PSA:

 

docker ps --filter "label=scheduleId=<scheduleIdValue>"

 

  • For Kubernetes based PSA:

 

kubectl get pods -l scheduleId=<scheduleIdValue>

 

 

NOTE:  <scheduleIdValue> in the above commands can be copied from the Synthetic Jobs page under EUM App on your AppD Controller UI. Please refer attached screenshot.

 

2. And in order to debug a particular synthetic job session instead of all the sessions (pods/containers) for that synth job, we can use the label "measurementId=<measurementIdValue>" or both labels together as below:

  • For docker based PSA:

 

docker container ls --filter "label=scheduleId=<scheduleIdValue>" --filter "label=measurementId=<measurementIdValue>"

 

  • For Kubernetes based PSA:

 

kubectl get pods -l scheduleId=<scheduleIdValue>,measurementId=<measurementIdValue>

 

NOTE:  <measurementIdValue> in the above commands can be copied from that particular synthetic job session's script output or session's deep-link url which will be in format <scheduleIdValue~measurementIdValue> i.e. scheduleIdValue and measurementIdValue separated with a tilde "~" symbol.

Attachments
Version history
Last update:
‎03-06-2025 08:45 AM
Updated by:
Contributors