This topic describes the Healthwatch™ for VMware Tanzu® (Healthwatch) tile components and the resource requirements for the Healthwatch tile.

For information about the metric exporter VMs that the Healthwatch Exporter for VMware Tanzu® Application Service™ (TAS for VMs) and Healthwatch Exporter for VMware Tanzu® Kubernetes Grid™ Integrated Edition (TKGI) tiles deploy, see Healthwatch Metrics.


Overview of Healthwatch Components

The main components of the Healthwatch tile are Prometheus, Grafana, MySQL, and MySQL Proxy:

  • Prometheus: The Prometheus instance scrapes and stores metrics from the Healthwatch Exporter tiles, allows you to configure alerts with Alertmanager, and sends canary tests to target URLs with Blackbox Exporter.
  • Grafana: The Healthwatch tile exports collected metrics to dashboards in the Grafana UI, allowing you to visualize the data with charts and graphs and create customized dashboards for long-term monitoring and troubleshooting.
  • MySQL: MySQL is used only to store your Grafana settings and does not store any time series data.
  • MySQL Proxy: MySQL Proxy routes client connections to healthy MySQL nodes.

The Healthwatch tile automatically selects the instance type that is best suited for each job based on the available resources for your deployment.

For more information about Healthwatch components, see Healthwatch Component VMs and Resource Requirements for the Healthwatch Tile below.

By default, the Healthwatch tile deploys two Prometheus VMs and only one each of the Grafana, MySQL, and MySQL Proxy VMs. For information about scaling these resources, see Scale Healthwatch below.


Healthwatch Component VMs

The table below explains each Healthwatch tile component and which VM deploys it:

Component VM Name Description
Prometheus tsdb
  • Collects metrics related to the functionality of platform-level and runtime-level components
  • Stores metrics for up to six weeks
  • Can write to remote storage in addition to its local time-series database (TSDB)
  • Manages and sends alerts through Alertmanager
  • Conducts canary tests through the Blackbox Exporter
Grafana grafana
  • Deploys the Grafana UI
  • Authenticates user login credentials
  • Organizes metrics data in charts and graphs
MySQL pxc Stores the Grafana settings you configure
MySQL Proxy pxc-proxy Routes client connections to healthy MySQL nodes and away from unhealthy MySQL nodes


Resource Requirements for the Healthwatch Tile

The following table provides the default resource and IP requirements for installing the Healthwatch tile:

Resource Instances CPUs RAM Ephemeral Disk Persistent Disk
Prometheus 2 4 16 GB 5 GB 512 GB
Grafana 1 1 4 GB 5 GB 5 GB
MySQL 1 1 4 GB 5 GB 10 GB
MySQL Proxy 1 1 4 GB 5 GB 5 GB


Scale Healthwatch

By default, the Healthwatch tile deploys two Prometheus VMs, one Grafana VM, one MySQL VM, and one MySQL Proxy VM.

To scale Healthwatch, see:


Scale Healthwatch Component VMs

By default, the Healthwatch tile deploys two Prometheus VMs, one Grafana VM, one MySQL VM, and one MySQL Proxy VM.

To scale your Healthwatch component resources:

  1. Open the Resource Config pane of the Healthwatch tile.
  2. Scale Healthwatch tile resources. You can scale Healthwatch tile resources either vertically or horizontally:

    • Prometheus: You can scale the Prometheus instance vertically only. Do not scale Prometheus horizontally.

    • Grafana: Healthwatch deploys a single Grafana VM by default. If you need Grafana to have high availability (HA), you can scale the Grafana instance horizontally. If you make Grafana HA, VMware recommends you also scale your MySQL instances.

    • MySQL: If you make Grafana HA, VMware recommends scaling your MySQL instance to three VMs.

    • MySQL Proxy: If you make Grafana HA, VMware recommends scaling your MySQL Proxy instance to two VMs.

    Note: To remove Grafana from your Healthwatch deployment, set the number of Grafana, MySQL, and MySQL Proxy instances to 0. For more information, see Remove Grafana from Healthwatch below.

For more information about vertical and horizontal scaling, see Scaling platform capacity in the TAS for VMs documentation.


Configure Healthwatch for High Availability

If you want to make your Healthwatch deployment HA, you must deploy a redundant number of Healthwatch tile component instances. This increases the capacity and availability of those components, which decreases the chances of downtime.

To configure Healthwatch for HA:

  1. Complete the steps in Scale Healthwatch Component VMs with the following HA configurations:

    • Prometheus: Healthwatch deploys two Prometheus VMs by default. With two VMs in the Prometheus instance, Prometheus and Alertmanager are HA by default.
    • Grafana: Scale the Grafana instance horizontally.
    • MySQL: Scale your MySQL instance to three VMs.
    • MySQL Proxy: Scale your MySQL Proxy instance to two VMs.


Remove Grafana from Healthwatch

If you do not want to use any Grafana instances in your Healthwatch deployment, you can remove Grafana. For example, you might want to remove Grafana from your Healthwatch deployment after configuring the Prometheus instance to send metrics to an external Grafana instance.

Note: If you remove Grafana from your Healthwatch deployment, scale Grafana, MySQL, and MySQL Proxy to 0 at the same time. MySQL is used only to store Grafana settings and MySQL Proxy is used only to route client connections to healthy MySQL nodes in an HA Grafana deployment. Neither component is necessary if you have not deployed Grafana.

To remove Grafana from your Healthwatch deployment:

  1. Open the Resource Config pane of the Healthwatch tile.
  2. Set the number of Grafana, MySQL, and MySQL Proxy instances to 0.
check-circle-line exclamation-circle-line close-line
Scroll to top icon