| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
This sample demonstrates how to show all system environment metadata and properties on Google App Engine standard app.
If you haven't already, Download and initialize the Cloud SDK
gcloud init
If you haven't already, Create an App Engine app within the current Google Cloud Project
gcloud app create
If you haven't already, Setup Application Default Credentials
gcloud auth application-default login
git clone https://github.com/GoogleCloudPlatform/java-docs-samples
cd java-docs-samples/appengine-java11/appengine-simple-jetty-main mvn install
cd ../gaeinfo mvn package
mvn appengine:deploy -Dapp.deploy.projectId=<your-project-id>
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.
| Back | FazBrowse Home | New Git URL |