Expand description
The messages and enums that are part of this client library.
Modules§
- aggregation
- Defines additional types related to Aggregation
- alert_
policy - Defines additional types related to AlertPolicy
- basic_
sli - Defines additional types related to BasicSli
- comparison_
type - Useful constants to work with ComparisonType
- create_
time_ series_ summary - Defines additional types related to CreateTimeSeriesSummary
- group_
resource_ type - Useful constants to work with GroupResourceType
- internal_
checker - Defines additional types related to InternalChecker
- label_
value - Defines additional types related to LabelValue
- list_
groups_ request - Defines additional types related to ListGroupsRequest
- list_
time_ series_ request - Defines additional types related to ListTimeSeriesRequest
- notification_
channel - Defines additional types related to NotificationChannel
- request_
based_ sli - Defines additional types related to RequestBasedSli
- service
- Defines additional types related to Service
- service_
level_ indicator - Defines additional types related to ServiceLevelIndicator
- service_
level_ objective - Defines additional types related to ServiceLevelObjective
- service_
tier - Useful constants to work with ServiceTier
- snooze
- Defines additional types related to Snooze
- synthetic_
monitor_ target - Defines additional types related to SyntheticMonitorTarget
- text_
locator - Defines additional types related to TextLocator
- time_
series_ data - Defines additional types related to TimeSeriesData
- time_
series_ descriptor - Defines additional types related to TimeSeriesDescriptor
- typed_
value - Defines additional types related to TypedValue
- uptime_
check_ config - Defines additional types related to UptimeCheckConfig
- uptime_
check_ region - Useful constants to work with UptimeCheckRegion
- windows_
based_ sli - Defines additional types related to WindowsBasedSli
Structs§
- Aggregation
- Describes how to combine multiple time series to provide a different view of the data. Aggregation of time series is done in two steps. First, each time series in the set is aligned to the same time interval boundaries, then the set of time series is optionally reduced in number.
- Alert
Policy - A description of the conditions under which some aspect of your system is considered to be “unhealthy” and the ways to notify people or services about this state. For an overview of alerting policies, see Introduction to Alerting.
- Basic
Sli - An SLI measuring performance on a well-known service type. Performance will
be computed on the basis of pre-defined metrics. The type of the
service_resourcedetermines the metrics to use and theservice_resource.labelsandmetric_labelsare used to construct a monitoring filter to filter that metric down to just the data relevant to this service. - Comparison
Type - Specifies an ordering relationship on two arguments, called
leftandright. - Create
Alert Policy Request - The protocol for the
CreateAlertPolicyrequest. - Create
Group Request - The
CreateGrouprequest. - Create
Metric Descriptor Request - The
CreateMetricDescriptorrequest. - Create
Notification Channel Request - The
CreateNotificationChannelrequest. - Create
Service Level Objective Request - The
CreateServiceLevelObjectiverequest. - Create
Service Request - The
CreateServicerequest. - Create
Snooze Request - The message definition for creating a
Snooze. Users must provide the body of theSnoozeto be created but must omit theSnoozefield,name. - Create
Time Series Error - DEPRECATED. Used to hold per-time-series error status.
- Create
Time Series Request - The
CreateTimeSeriesrequest. - Create
Time Series Summary - Summary of the result of a failed request to write data to a time series.
- Create
Uptime Check Config Request - The protocol for the
CreateUptimeCheckConfigrequest. - Delete
Alert Policy Request - The protocol for the
DeleteAlertPolicyrequest. - Delete
Group Request - The
DeleteGrouprequest. The default behavior is to be able to delete a single group without any descendants. - Delete
Metric Descriptor Request - The
DeleteMetricDescriptorrequest. - Delete
Notification Channel Request - The
DeleteNotificationChannelrequest. - Delete
Service Level Objective Request - The
DeleteServiceLevelObjectiverequest. - Delete
Service Request - The
DeleteServicerequest. - Delete
Uptime Check Config Request - The protocol for the
DeleteUptimeCheckConfigrequest. - Distribution
Cut - A
DistributionCutdefines aTimeSeriesand thresholds used for measuring good service and total service. TheTimeSeriesmust haveValueType = DISTRIBUTIONandMetricKind = DELTAorMetricKind = CUMULATIVE. The computedgood_servicewill be the estimated count of values in theDistributionthat fall within the specifiedminandmax. - Dropped
Labels - A set of (label, value) pairs that were removed from a Distribution time series during aggregation and then added as an attachment to a Distribution.Exemplar.
- GetAlert
Policy Request - The protocol for the
GetAlertPolicyrequest. - GetGroup
Request - The
GetGrouprequest. - GetMetric
Descriptor Request - The
GetMetricDescriptorrequest. - GetMonitored
Resource Descriptor Request - The
GetMonitoredResourceDescriptorrequest. - GetNotification
Channel Descriptor Request - The
GetNotificationChannelDescriptorresponse. - GetNotification
Channel Request - The
GetNotificationChannelrequest. - GetNotification
Channel Verification Code Request - The
GetNotificationChannelVerificationCoderequest. - GetNotification
Channel Verification Code Response - The
GetNotificationChannelVerificationCoderequest. - GetService
Level Objective Request - The
GetServiceLevelObjectiverequest. - GetService
Request - The
GetServicerequest. - GetSnooze
Request - The message definition for retrieving a
Snooze. Users must specify the field,name, which identifies theSnooze. - GetUptime
Check Config Request - The protocol for the
GetUptimeCheckConfigrequest. - Group
- The description of a dynamic collection of monitored resources. Each group has a filter that is matched against monitored resources and their associated metadata. If a group’s filter matches an available monitored resource, then that resource is a member of that group. Groups can contain any number of monitored resources, and each monitored resource can be a member of any number of groups.
- Group
Resource Type - The supported resource types that can be used as values of
group_resource.resource_type.INSTANCEincludesgce_instanceandaws_ec2_instanceresource types. The resource typesgae_appanduptime_urlare not valid here because group checks on App Engine modules and URLs are not allowed. - Internal
Checker - An internal checker allows Uptime checks to run on private/internal GCP resources.
- Label
Value - A label value.
- List
Alert Policies Request - The protocol for the
ListAlertPoliciesrequest. - List
Alert Policies Response - The protocol for the
ListAlertPoliciesresponse. - List
Group Members Request - The
ListGroupMembersrequest. - List
Group Members Response - The
ListGroupMembersresponse. - List
Groups Request - The
ListGrouprequest. - List
Groups Response - The
ListGroupsresponse. - List
Metric Descriptors Request - The
ListMetricDescriptorsrequest. - List
Metric Descriptors Response - The
ListMetricDescriptorsresponse. - List
Monitored Resource Descriptors Request - The
ListMonitoredResourceDescriptorsrequest. - List
Monitored Resource Descriptors Response - The
ListMonitoredResourceDescriptorsresponse. - List
Notification Channel Descriptors Request - The
ListNotificationChannelDescriptorsrequest. - List
Notification Channel Descriptors Response - The
ListNotificationChannelDescriptorsresponse. - List
Notification Channels Request - The
ListNotificationChannelsrequest. - List
Notification Channels Response - The
ListNotificationChannelsresponse. - List
Service Level Objectives Request - The
ListServiceLevelObjectivesrequest. - List
Service Level Objectives Response - The
ListServiceLevelObjectivesresponse. - List
Services Request - The
ListServicesrequest. - List
Services Response - The
ListServicesresponse. - List
Snoozes Request - The message definition for listing
Snoozes associated with the givenparent, satisfying the optionalfilter. - List
Snoozes Response - The results of a successful
ListSnoozescall, containing the matchingSnoozes. - List
Time Series Request - The
ListTimeSeriesrequest. - List
Time Series Response - The
ListTimeSeriesresponse. - List
Uptime Check Configs Request - The protocol for the
ListUptimeCheckConfigsrequest. - List
Uptime Check Configs Response - The protocol for the
ListUptimeCheckConfigsresponse. - List
Uptime Check IpsRequest - The protocol for the
ListUptimeCheckIpsrequest. - List
Uptime Check IpsResponse - The protocol for the
ListUptimeCheckIpsresponse. - Mutation
Record - Describes a change made to a configuration.
- Notification
Channel - A
NotificationChannelis a medium through which an alert is delivered when a policy violation is detected. Examples of channels include email, SMS, and third-party messaging applications. Fields containing sensitive information like authentication tokens or contact info are only partially populated on retrieval. - Notification
Channel Descriptor - A description of a notification channel. The descriptor includes the properties of the channel and the set of labels or fields that must be specified to configure channels of a given type.
- Point
- A single data point in a time series.
- Query
Error - An error associated with a query in the time series query language format.
- Query
Error List - This is an error detail intended to be used with INVALID_ARGUMENT errors.
- Query
Time Series Request - The
QueryTimeSeriesrequest. For information about the status of Monitoring Query Language (MQL), see the MQL deprecation notice. - Query
Time Series Response - The
QueryTimeSeriesresponse. For information about the status of Monitoring Query Language (MQL), see the MQL deprecation notice. - Range
- Range of numerical values within
minandmax. - Request
Based Sli - Service Level Indicators for which atomic units of service are counted directly.
- Send
Notification Channel Verification Code Request - The
SendNotificationChannelVerificationCoderequest. - Service
- A
Serviceis a discrete, autonomous, and network-accessible unit, designed to solve an individual concern (Wikipedia). In Cloud Monitoring, aServiceacts as the root resource under which operational aspects of the service are accessible. - Service
Level Indicator - A Service-Level Indicator (SLI) describes the “performance” of a service. For
some services, the SLI is well-defined. In such cases, the SLI can be
described easily by referencing the well-known SLI and providing the needed
parameters. Alternatively, a “custom” SLI can be defined with a query to the
underlying metric store. An SLI is defined to be
good_service / total_serviceover any queried time interval. The value of performance always falls into the range0 <= performance <= 1. A custom SLI describes how to compute this ratio, whether this is by dividing values from a pair of time series, cutting aDistributioninto good and bad counts, or counting time windows in which the service complies with a criterion. For separation of concerns, a single Service-Level Indicator measures performance for only one aspect of service quality, such as fraction of successful queries or fast-enough queries. - Service
Level Objective - A Service-Level Objective (SLO) describes a level of desired good service. It consists of a service-level indicator (SLI), a performance goal, and a period over which the objective is to be evaluated against that goal. The SLO can use SLIs defined in a number of different manners. Typical SLOs might include “99% of requests in each rolling week have latency below 200 milliseconds” or “99.5% of requests in each calendar month return successfully.”
- Service
Tier - The tier of service for a Metrics Scope. Please see the service tiers documentation for more details.
- Snooze
- A
Snoozewill prevent any alerts from being opened, and close any that are already open. TheSnoozewill work on alerts that match the criteria defined in theSnooze. TheSnoozewill be active frominterval.start_timethroughinterval.end_time. - Span
Context - The context of a span. This is attached to an Exemplar in Distribution values during aggregation.
- Synthetic
Monitor Target - Describes a Synthetic Monitor to be invoked by Uptime.
- Text
Locator - A locator for text. Indicates a particular part of the text of a request or of an object referenced in the request.
- Time
Interval - Describes a time interval:
- Time
Series - A collection of data points that describes the time-varying values of a metric. A time series is identified by a combination of a fully-specified monitored resource and a fully-specified metric. This type is used for both listing and creating time series.
- Time
Series Data - Represents the values of a time series associated with a TimeSeriesDescriptor.
- Time
Series Descriptor - A descriptor for the labels and points in a time series.
- Time
Series Ratio - A
TimeSeriesRatiospecifies twoTimeSeriesto use for computing thegood_service / total_serviceratio. The specifiedTimeSeriesmust haveValueType = DOUBLEorValueType = INT64and must haveMetricKind = DELTAorMetricKind = CUMULATIVE. TheTimeSeriesRatiomust specify exactly two of good, bad, and total, and the relationshipgood_service + bad_service = total_servicewill be assumed. - Typed
Value - A single strongly-typed value.
- Update
Alert Policy Request - The protocol for the
UpdateAlertPolicyrequest. - Update
Group Request - The
UpdateGrouprequest. - Update
Notification Channel Request - The
UpdateNotificationChannelrequest. - Update
Service Level Objective Request - The
UpdateServiceLevelObjectiverequest. - Update
Service Request - The
UpdateServicerequest. - Update
Snooze Request - The message definition for updating a
Snooze. The field,snooze.nameidentifies theSnoozeto be updated. The remainder ofsnoozegives the content theSnoozein question will be assigned. - Update
Uptime Check Config Request - The protocol for the
UpdateUptimeCheckConfigrequest. - Uptime
Check Config - This message configures which resources and services to monitor for availability.
- Uptime
Check Ip - Contains the region, location, and list of IP addresses where checkers in the location run from.
- Uptime
Check Region - The regions from which an Uptime check can be run.
- Verify
Notification Channel Request - The
VerifyNotificationChannelrequest. - Windows
Based Sli - A
WindowsBasedSlidefinesgood_serviceas the count of time windows for which the provided service was of good quality. Criteria for determining if service was good are embedded in thewindow_criterion.