Resource: Service
A Service
is a discrete, autonomous, and network-accessible unit, designed to solve an individual concern (Wikipedia). In Cloud Monitoring, a Service
acts as the root resource under which operational aspects of the service are accessible.
JSON representation | |
---|---|
{ "name": string, "displayName": string, "telemetry": { object ( |
Fields | ||
---|---|---|
name |
Resource name for this Service. The format is:
|
|
displayName |
Name used for UI elements listing this Service. |
|
telemetry |
Configuration for how to query telemetry on a Service. |
|
Union field identifier . REQUIRED. Service-identifying atoms specifying the underlying service. identifier can be only one of the following: |
||
custom |
Custom service type. |
|
appEngine |
Type used for App Engine services. |
|
clusterIstio |
Type used for Istio services that live in a Kubernetes cluster. |
|
meshIstio |
Type used for Istio services scoped to an Istio mesh. |
|
istioCanonicalService |
Type used for canonical services scoped to an Istio mesh. Metrics for Istio are documented here |
Custom
Custom view of service telemetry. Currently a place-holder pending final design.
AppEngine
App Engine service. Learn more at https://cloud.google.com/appengine.
JSON representation | |
---|---|
{ "moduleId": string } |
Fields | |
---|---|
moduleId |
The ID of the App Engine module underlying this service. Corresponds to the |
ClusterIstio
Istio service scoped to a single Kubernetes cluster. Learn more at https://istio.io. Clusters running OSS Istio will have their services ingested as this type.
JSON representation | |
---|---|
{ "location": string, "clusterName": string, "serviceNamespace": string, "serviceName": string } |
Fields | |
---|---|
location |
The location of the Kubernetes cluster in which this Istio service is defined. Corresponds to the |
clusterName |
The name of the Kubernetes cluster in which this Istio service is defined. Corresponds to the |
serviceNamespace |
The namespace of the Istio service underlying this service. Corresponds to the |
serviceName |
The name of the Istio service underlying this service. Corresponds to the |
MeshIstio
Istio service scoped to an Istio mesh. Anthos clusters running ASM < 1.6.8 will have their services ingested as this type.
JSON representation | |
---|---|
{ "meshUid": string, "serviceNamespace": string, "serviceName": string } |
Fields | |
---|---|
meshUid |
Identifier for the mesh in which this Istio service is defined. Corresponds to the |
serviceNamespace |
The namespace of the Istio service underlying this service. Corresponds to the |
serviceName |
The name of the Istio service underlying this service. Corresponds to the |
IstioCanonicalService
Canonical service scoped to an Istio mesh. Anthos clusters running ASM >= 1.6.8 will have their services ingested as this type.
JSON representation | |
---|---|
{ "meshUid": string, "canonicalServiceNamespace": string, "canonicalService": string } |
Fields | |
---|---|
meshUid |
Identifier for the Istio mesh in which this canonical service is defined. Corresponds to the |
canonicalServiceNamespace |
The namespace of the canonical service underlying this service. Corresponds to the |
canonicalService |
The name of the canonical service underlying this service. Corresponds to the |
Telemetry
Configuration for how to query telemetry on a Service.
JSON representation | |
---|---|
{ "resourceName": string } |
Fields | |
---|---|
resourceName |
The full name of the resource that defines this service. Formatted as described in https://cloud.google.com/apis/design/resource_names. |
Methods |
|
---|---|
|
Create a Service . |
|
Soft delete this Service . |
|
Get the named Service . |
|
List Service s for this workspace. |
|
Update this Service . |