Stackdriver Monitoring V3 Client - Class MeshIstio (1.5.1)

Reference documentation and code samples for the Stackdriver Monitoring V3 Client class MeshIstio.

Istio service scoped to an Istio mesh. Anthos clusters running ASM < 1.6.8 will have their services ingested as this type.

Generated from protobuf message google.monitoring.v3.Service.MeshIstio

Namespace

Google \ Cloud \ Monitoring \ V3 \ Service

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ mesh_uid string

Identifier for the mesh in which this Istio service is defined. Corresponds to the mesh_uid metric label in Istio metrics.

↳ service_namespace string

The namespace of the Istio service underlying this service. Corresponds to the destination_service_namespace metric label in Istio metrics.

↳ service_name string

The name of the Istio service underlying this service. Corresponds to the destination_service_name metric label in Istio metrics.

getMeshUid

Identifier for the mesh in which this Istio service is defined.

Corresponds to the mesh_uid metric label in Istio metrics.

Returns
TypeDescription
string

setMeshUid

Identifier for the mesh in which this Istio service is defined.

Corresponds to the mesh_uid metric label in Istio metrics.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getServiceNamespace

The namespace of the Istio service underlying this service. Corresponds to the destination_service_namespace metric label in Istio metrics.

Returns
TypeDescription
string

setServiceNamespace

The namespace of the Istio service underlying this service. Corresponds to the destination_service_namespace metric label in Istio metrics.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getServiceName

The name of the Istio service underlying this service. Corresponds to the destination_service_name metric label in Istio metrics.

Returns
TypeDescription
string

setServiceName

The name of the Istio service underlying this service. Corresponds to the destination_service_name metric label in Istio metrics.

Parameter
NameDescription
var string
Returns
TypeDescription
$this