Provisioning Metrics Service

Prerequisites

To provision the Metrics mobile service:

  1. Log into the OpenShift console.

  2. Create a new project or choose an existing project.

  3. Click Add to Project and choose Browse Catalog from the options.

    You can filter the catalog items to only show mobile specific items by clicking the Mobile tab.

  4. Click Services and choose the Metrics service.

    catalog mobile services
  5. Follow the wizard for provisioning that service.

    If prompted to Create a Binding, choose Do not bind at this time

When provisioning a Metrics Service, you are prompted to set the following:

Table 1. Configuration
Field Description

Grafana Storage Size (Gb)

Size of persistent volume for Grafana (default value is recommended)

Prometheus Storage Size (Gb)

Size of persistent volume for Prometheus (default value is recommended)

Postgres Storage Size (Gb)

Size of persistent volume for Postgres (default value is recommended)

Postgres User

User name that will be used to connect to postgres ('user' will be used if blank)

Postgres Password

Password to connect to Postgres (generated if blank)

If the Postgres password was generated, retrieve the password using:

$ oc describe dc postgres-metrics -n <myproject> | grep POSTGRESQL_PASSWORD

Once the wizard steps are completed, navigate to the Project Overview in OpenShift to see the newly provisioned service.