Stackdriver Error Reporting Stackdriver Error Reporting counts, analyzes and aggregates the crashes in your running cloud services. A centralized error management interface displays the results with sorting and filtering capabilities.
This sample Java application demonstrates how to send custom error events using the Error Reporting API. Note: Runtime exceptions and stack traces are automatically sent to Error reporting in applications running in App Engine Flex environment.
Build your project with:
mvn clean package
- Create a service account
and set the
GOOGLE_APPLICATION_CREDENTIALS
environment variable. - Run
mvn clean verify
Check the error reporting console.
Confirm that you see the custom errors reported using the Error Reporting API.