Google Cloud Observability provides monitoring, logging, and diagnostics for Python apps.
Python libraries are available for the following Google Cloud Observability services:
Error Reporting
Error Reporting aggregates and displays errors produced in your running Python apps. To get started with Error Reporting, see Instrument Python apps for Error Reporting.
Cloud Logging
Cloud Logging lets you store, search, analyze, monitor, and set alerts on log data and events in Python apps. Logging provides Bunyan and Winston plugins, as well as Cloud Client Libraries for Python. To get started with Logging, see Setting up Cloud Logging for Python.
Cloud Monitoring
Cloud Monitoring collects metrics, events, and metadata from Python apps. Google Cloud Observability uses that data to generate dashboards, charts, and alerts.
For more information, see the following topics:
- Cloud Client Libraries for the Cloud Monitoring API
- Creating custom metrics
- Reading metrics
- Browsing metrics
- Python client library for the Cloud Monitoring API on GitHub
Cloud Trace
Cloud Trace is a distributed tracing system for Google Cloud that collects latency data from apps and displays it in near real time in the Google Cloud console. For more information, see Cloud Trace documentation.
To enable distributed tracing in Google Cloud Python client libraries, see Instrumenting Python client libraries.