GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — java-docs-samples/errorreporting/README.md at master · andyunique/java-docs-samples

Expand file tree

/

README.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
38 lines (27 loc) · 1.77 KB
/

README.md

Copy path

File metadata and controls

38 lines (27 loc) · 1.77 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Stackdriver Error Reporting sample

Open in Cloud Shell

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.

Setup

  1. Install Maven.
  2. Enable Stack Driver Error Reporting API.

Build

Build your project with:

	mvn clean package

Local testing

  1. Create a service account and set the GOOGLE_APPLICATION_CREDENTIALS environment variable.
  2. Run
   mvn clean verify

Check the error reporting console.

Confirm that you see the custom errors reported using the Error Reporting API.

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.