| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
This API Showcase demonstrates how to run an App Engine standard environment application with dependencies on both Google BigQuery and StackDriver Monitoring.
The home page of this application provides a form to initiate a query of public data, in this case StackOverflow questions tagged with google-bigquery.
The home page also provides a summary view of the metrics that have been logged in the past 30 days.
Copy the sample apps to your local machine, and cd to the appengine-java8/bigquery directory:
git clone https://github.com/GoogleCloudPlatform/java-docs-samples cd appengine-java8/bigquery
gcloud init
gcloud app create
Run using shown Maven command. You can then direct your browser to http://localhost:8080/ to see the most recent query run (since the app started) and the metrics from the past 30 days.
mvn appengine:run
Note: The first time the app is run (or after any metrics definitions have been deleted) it may take up to 5 minutes for the MetricDescriptors to sync with StackDriver before any results are shown. If you do not see results, please wait a few moments and try again.
mvn clean package appengine:deploy
| Back | FazBrowse Home | New Git URL |