Using GCP Stackdriver Nozzle for PCF
This topic describes how to use GCP Stackdriver Nozzle for Pivotal Cloud Foundry (PCF).
With the nozzle deployed, you can view logs and metrics from PCF in Stackdriver Logging and Stackdriver Monitoring. The logs and metrics available depend on the Events to subscribe to field that you set when Configuring Stackdriver Nozzle for PCF.
Follow these steps to view streaming logs from PCF:
Navigate to the Stackdriver Log Viewer for your GCP Project. Sign in with the same credentials you used to create your project.
Select the Global resource and click on the Play button to see the logs streaming from your PCF deployment.
For more information about using the Logs Viewer, see the Stackdriver Log Viewer documentation
Follow these steps to create a metrics chart:
Navigate to the Stackdriver Monitoring Console for your GCP project.
Select Dashboards > Create Dashboard.
Click Add Chart.
Select Custom Metrics under Resource Type.
Choose a Metric Type and click Save to see your chart of metrics from PCF.
For more information, see the Stackdriver Monitoring documentation.