You are viewing archived v1.24 Service Mesh documentation.
Available versions
Cloud Service Mesh latest
Cloud Service Mesh 1.26 archive
Cloud Service Mesh 1.24 archive
Cloud Service Mesh 1.24 archive
Cloud Service Mesh 1.23 archive
Cloud Service Mesh 1.22 archive
Cloud Service Mesh 1.21 archive
Cloud Service Mesh 1.20 archive
Anthos Service Mesh 1.19 archive
Integrating with third-party add-ons
Note: This guide only supports Cloud Service Mesh with Istio APIs and doesnot support Google Cloud APIs. For more information see,Cloud Service Mesh overview.Cloud Service Mesh profiles don't includePrometheus,Kiali, andGrafana add-ons.
Note, however, you can install your own instance of Prometheus, Kiali, andGrafana dashboards according to the applicablethird-party documentation.
This document applies to the in-cluster control plane only.
Enabling metrics export to Prometheus
To use the Prometheus, Grafana, or Kiali dashboards, Cloud Service Mesh mustbe configured to export metrics to Prometheus.
Metrics export to Prometheus is enabled by default when you installCloud Service Mesh on Google Distributed Cloud (software only) for VMware or on bare metal. On theseplatforms, you are all set to install your own instance of the dashboards.
You can enable metrics export to Prometheus instead of Stackdriver (now calledGoogle Cloud Observability) on GKE on Google Cloud clusters.
Before you begin
Follow the steps inInstall dependent tools and validate clusterto:- Install required tools
- Download
asmcli - Grant cluster admin permissions
- Validate your project and cluster
Enable metrics export to Prometheus
Follow the steps in theinstall andupgradeCloud Service Mesh guide to install or upgrade Cloud Service Mesh onGKE. When you run
asmcli install, include the followingoption:--option prometheusFor example:
Caution: Using./asmcliinstall\--project_idPROJECT_ID\--cluster_nameCLUSTER_NAME\--cluster_locationCLUSTER_LOCATION\--output_dirDIR_PATH\--enable_all\--camesh_ca\--optionprometheus--option prometheuswill disable metrics exportto Stackdriver. You must export metrics to Stackdriver if you want or needto use the Cloud Service Mesh dashboard features. You can enable bothStackdriver and Prometheus by using--option prometheus-and-stackdriver.Warning: With installation on GKE Enterprise On-premises clustersconfigured withenableStackdriverForApplications=true, enablingPrometheus may incur extra Cloud Monitoring charges. For moreinformation and disablingenableStackdriverForApplications, seeGKE Enterprise clusters on-prem known issues.To disable Prometheus annotations during Cloud Service Mesh installation, seedisable Prometheus metrics merging feature.Note: By default, `asmcli` doesn't install an ingress gateway, which you can useto manage inbound traffic to applications running on your service mesh. Followthe steps inInstall gateways to install an ingress gateway.Be sure to specify any otheroverlay filesthat you need to configure Cloud Service Mesh.
Complete the Cloud Service Mesh installation to enable automatic sidecarproxy injection on your workloads. For new installations, seeDeploy and redeploy workloads.For upgrades, seeSwitch to the new control plane
Third-party documentation
You candeploy Prometheus and Grafana through the Cloud Marketplace orrefer to the following documentation for installation.
Grafana:
Import the dashboards into an existing Grafana deployment.
Kiali:
Prometheus:
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-02-19 UTC.