Using the Dashboard

Page last updated:

You can find the dashboard using the Cloud Foundry Command Line Interface tool (cf CLI). Run cf service SERVICE_NAME, where SERVICE_NAME is the name of the Config Server service instance:

$ cf service cook-config-server
Showing info of service cook-config-server in org bklein / space dev as admin...

name:            cook-config-server
service:         p.config-server
tags:
plan:            standard
description:     Spring Cloud Config Server service
documentation:
dashboard:       https://config-server-a6b2a01b-9685-4f1b-a94b-5b5b45679d15.apps.example.com/dashboard

...

Visit the URL given for dashboard.

Dashboard Information

The dashboard shows the current health of the Config Server along with the JSON object used to configure its settings. In Spring Cloud Services v3.0.3 and later, it includes a button that you can use to Synchronize Mirrors for the Config Server’s Git repositories. In Spring Cloud Services v3.0.4 and later, it also lists information about each configured Git repository.

Cs dashboard

Using the Git Repository Information

Note: Git repository information is shown only in Spring Cloud Services v3.0.4 and later.

If you have configured one or more Git repositories for the Config Server, information for each repository will be shown in a list under the heading Git Repositories at the end of the Config Server dashboard.

Dashboard git repositories

For each repository, the dashboard lists the Source URI, the configured Label, and the hash of the most recent Git Commit that the Config Server’s repository mirror includes.

You can use the Git commit hash to check for updates to configuration which are in the external Git repository and have not yet been included in the Config Server’s mirror. For example, given the commit hash (shortened form) 9a33719 and label master, you can run the git log command on your local machine’s working copy of the external repository to find commits made since that commit:

$ git log 9a33719..master