Documentation / Product / Integrations / Google / Google Stackdriver

Google Stackdriver Authorization

If you haven't already done so, you will need to set up a Google Cloud Project before you begin the process described below. You will need "Editor" rights to your project to be able to ingest Lytics custome metrics.

If you are new to creating authorizations in Lytics, see the Authorizations Dashboard documentation for more information.

  1. Select Google Cloud from the list of providers.
  2. Select the Stackdriver Metrics Service Account JWT method for authorization.
  3. Enter a Label to identify your authorization.
  4. (Optional) Enter a Description for further context on your authorization.
  5. In JSON Service Account JSON, enter your Google Service Account JSON Key. The instructions for collecting this JSON token are detailed beflow.
  6. Click Save Authorization.

Stackdriver Metrics Service Account JSON Key

During the configuration process for authorizations of type JSON key you will need to create a service account.

  1. In Google Cloud console under IAM & Admin select Service Accounts.
  2. Click + Create Service Account
  3. Enter the details for your new service account and click Create. Google stackdriver service account details
  4. From the Role dropdown menu, search for and select Monitoring Editor and click Continue to grant these account permissions. Google Stackdriver grant service account access to project
  5. Optionally grant users access to this service account.
  6. You will be directed back to the main Service Accounts page and you should now see your newly created service account.
  7. Select this service account, click Keys tab, click Add Key, and select Create new key from the dropdown menu. Google stackdriver create new key
  8. Select JSON for key type and click Create to download your new key as a JSON file. Google stackdriver create
  9. The entire contents of this file represent your Google Service Account JSON key and will be used to authorize Google Stackdriver in Lytics.

Google stackdriver auth