Performance Co-Pilot (PCP) provides a systems-level set of tools for distributed performance monitoring. This guide describes how to extend PCP by writing agents to collect performance metrics from uncharted domains, how to program new analysis or visualization tools using the Performance Metrics Application Programming Interface (PMAPI), and how to add performance instrumentation to an application by using the trace facilities of the libpcp_trace library.