Class Service (0.35.0)

A Service is a discrete, autonomous, and network-accessible unit, designed to solve an individual concern (Wikipedia <https://en.wikipedia.org/wiki/Service-orientation>__). In Cloud Monitoring, a Service acts as the root resource under which operational aspects of the service are accessible. .. attribute:: name

Resource name for this Service. The format is: :: projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]

REQUIRED. Service-identifying atoms specifying the underlying service.

Type used for App Engine services.

Type used for Istio services that live in a Kubernetes cluster.

Configuration for how to query telemetry on a Service.

Classes

AppEngine

App Engine service. Learn more at https://cloud.google.com/appengine. .. attribute:: module_id

The ID of the App Engine module underlying this service. Corresponds to the module_id resource label in the gae_app monitored resource: https://cloud.google.com/monit oring/api/resources#tag_gae_app

CloudEndpoints

Cloud Endpoints service. Learn more at https://cloud.google.com/endpoints. .. attribute:: service

The name of the Cloud Endpoints service underlying this service. Corresponds to the service resource label in the api monitored resource: https://cloud.google.com/monitoring/api/resources#tag_api

ClusterIstio

Istio service scoped to a single Kubernetes cluster. Learn more at http://istio.io. .. attribute:: location

The location of the Kubernetes cluster in which this Istio service is defined. Corresponds to the location resource label in k8s_cluster resources.

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

Custom

Custom view of service telemetry. Currently a place-holder pending final design.

MeshIstio

Istio service scoped to an Istio mesh .. attribute:: mesh_uid

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

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

Telemetry

Configuration for how to query telemetry on a Service. .. attribute:: resource_name

The full name of the resource that defines this service. Formatted as described in https://cloud.google.com/apis/design/resource_names.