Error Reporting API: counts, analyzes and aggregates the crashes in your running cloud services. A centralized error management interface displays the results with sorting and filtering capabilities. A dedicated view shows the error details: time chart, occurrences, affected user count, first and last seen dates and a cleaned exception stack trace. Opt-in to receive email and mobile alerts on new errors.
In order to use this library, you first need to go through the following steps:
Install this library in a virtual environment using venv. venv is a tool that creates isolated Python environments. These isolated environments can have separate versions of Python packages, which allows you to isolate one project's dependencies from the dependencies of other projects.
With venv, it's possible to install this library without needing system install permissions, and without clashing with the installed system dependencies.
Code samples and snippetsCode samples and snippets live in the samples/ folder.
Supported Python VersionsOur client libraries are compatible with all current active and maintenance versions of Python.
Python >= 3.7
Unsupported Python VersionsPython <= 3.6
If you are using an end-of-life version of Python, we recommend that you update as soon as possible to an actively supported version.
python3 -m venv <your-env> source <your-env>/bin/activate pip install google-cloud-error-reporting
py -m venv <your-env> .\<your-env>\Scripts\activate pip install google-cloud-error-reporting
This library uses the standard Python logging
functionality to log some RPC events that could be of interest for debugging and monitoring purposes. Note the following:
To enable logging for this library without any changes in your code, set the GOOGLE_SDK_PYTHON_LOGGING_SCOPE
environment variable to a valid Google logging scope. This configures handling of logging events (at level logging.DEBUG
or higher) from this library in a default manner, emitting the logged messages in a structured format. It does not currently allow customizing the logging levels captured nor the handlers, formatters, etc. used for any logging event.
A logging scope is a period-separated namespace that begins with google
, identifying the Python module or package to log.
google
, google.cloud.asset.v1
, google.api
, google.auth
, etc.foo
, 123
, etc.NOTE: If the logging scope is invalid, the library does not set up any logging handlers.
Environment-Based Examplesexport GOOGLE_SDK_PYTHON_LOGGING_SCOPE=google
library_v1
):export GOOGLE_SDK_PYTHON_LOGGING_SCOPE=google.cloud.library_v1Advanced, code-based configuration
You can also configure a valid logging scope using Python's standard logging mechanism.
import logging from google.cloud import library_v1 base_logger = logging.getLogger("google") base_logger.addHandler(logging.StreamHandler()) base_logger.setLevel(logging.DEBUG)
library_v1
):import logging from google.cloud import library_v1 base_logger = logging.getLogger("google.cloud.library_v1") base_logger.addHandler(logging.StreamHandler()) base_logger.setLevel(logging.DEBUG)
logging.getLogger("google").propagate = True
in your code.RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4