Run a PxL script

Let’s use New Relic One’s Live Debugging with Pixie to run a built-in PxL script.

Run a PxL Script

Pixie

  • Click on the name of your cluster

Pixie

  • Click on Live debugging with Pixie

Pixie

  • Select the px/namespace script from the script drop-down menu.

select_script

  1. This script has one required argument (as denoted with an *). Enter default for the namespace argument.

select_namespace

After the script executes, you should see a view similar to the following:

px_namespace

This script (px/namespace) shows:

  • A service graph of HTTP1/2 traffic between the pods in the specified namespace.
  • A list of the services and pods with high-level resource and application metrics.

This script takes one other argument, start_time. This argument is specified using the Time Picker dropdown at the top right hand side of your screen and provides the time window for the query.

select_starttime