A PubSub subscription is a named resource representing the stream of messages from a single, specific topic, to be delivered to the subscribing application.

To set up the Google integration to discover and collect metrics against the Google service.

Setup

To set up the Google integration and discover the Google service, go to Google Integration Discovery Profile and select Subscription.

Supported metrics

New OpsRamp MetricGoogle MetricMetric Display NameUnitDescription
google_pubsub_subscription_ack_latenciespubsub.googleapis.com/subscription/ack_latenciesAck latencymsDistribution of ack latencies in milliseconds. The ack latency is the time between when Cloud Pub/Sub sends a message to a subscriber client and when Cloud Pub/Sub receives an Acknowledge request for that message. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
google_pubsub_subscription_ack_message_countpubsub.googleapis.com/subscription/ack_message_countAck message countcountCumulative count of messages acknowledged by Acknowledge requests, grouped by delivery type. Sampled every 60 seconds. After sampling, data is not visible for up to 181 seconds.
google_pubsub_subscription_backlog_bytespubsub.googleapis.com/subscription/backlog_bytesBacklog sizebytesTotal byte size of the unacknowledged messages (a.k.a. backlog messages) in a subscription. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
google_pubsub_subscription_billable_bytes_by_regionpubsub.googleapis.com/subscription/billable_bytes_by_regionBillable bytes by regionbytesTotal byte size of the billable messages in a subscription, broken down by Cloud region and type. Please refer togoogle.com/pubsub/pricing#storage_costs to understand the pricing for retaining unacknowledged messages in subscriptions for more than 24 hours. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
google_pubsub_subscription_byte_costpubsub.googleapis.com/subscription/byte_costSubscription byte costbytesCumulative cost of operations, measured in bytes. This is used to measure quota utilization. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
google_pubsub_subscription_config_updates_countpubsub.googleapis.com/subscription/config_updates_countSubscription configuration operationscountCumulative count of configuration operations for each subscription, grouped by operation type and result. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
google_pubsub_subscription_dead_letter_message_countpubsub.googleapis.com/subscription/dead_letter_message_countDead letter message countcountCumulative count of messages published to dead letter topic, grouped by result. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
google_pubsub_subscription_delivery_latency_health_scorepubsub.googleapis.com/subscription/delivery_latency_health_scoreDelivery latency health scorecountA score that measures the health of a subscription over a 10 minute rolling window. Sampled every 60 seconds. After sampling, data is not visible for up to 360 seconds.
google_pubsub_subscription_exactly_once_warning_countpubsub.googleapis.com/subscription/exactly_once_warning_countExactly once delivery warningcountCount of instances (acks and modacks that may have failed) that may lead to message redeliveries. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
google_pubsub_subscription_expired_ack_deadlines_countpubsub.googleapis.com/subscription/expired_ack_deadlines_countExpired ack deadlines countcountCumulative count of messages whose ack deadline expired while the message was outstanding to a subscriber client. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
google_pubsub_subscription_export_push_subscription_detailspubsub.googleapis.com/subscription/export_push_subscription_detailsExport push subscription detailscountType and state of the export push subscription. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
google_pubsub_subscription_message_transform_latenciespubsub.googleapis.com/subscription/message_transform_latenciesSubscription message transform latencymsDistribution of subscription message transform latencies in milliseconds. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
google_pubsub_subscription_mod_ack_deadline_message_countpubsub.googleapis.com/subscription/mod_ack_deadline_message_countMod ack deadline message countcountCumulative count of messages whose deadline was updated by ModifyAckDeadline requests, grouped by delivery type. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
google_pubsub_subscription_mod_ack_deadline_request_countpubsub.googleapis.com/subscription/mod_ack_deadline_request_countModifyAckDeadline requestscountCumulative count of ModifyAckDeadline requests, grouped by result. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
google_pubsub_subscription_mod_ack_latenciespubsub.googleapis.com/subscription/mod_ack_latenciesModAck latencymsDistribution of ModAck latencies. For each message delivery attempt, the ModAck latency is the duration between when the CPS service delivers the message to a subscriber client and when the CPS service receives a ModAck request for that message (note that this means this metric may be recorded multiple times per delivery attempt). If this metric is growing, it indicates that the subscriber is repeatedly extending the acknowledgement deadline for a message (i.e., it is holding on to that message). Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
google_pubsub_subscription_nack_requestspubsub.googleapis.com/subscription/nack_requestsNack requestscountCumulative count of messages that were nacked. One message nacked multiple times will be counted multiple times. Sampled every 60 seconds. After sampling, data is not visible for up to 360 seconds.
google_pubsub_subscription_num_outstanding_messagespubsub.googleapis.com/subscription/num_outstanding_messagesOutstanding push messagescountNumber of messages delivered to a subscription's push endpoint, but not yet acknowledged. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
google_pubsub_subscription_num_retained_acked_messages_by_regionpubsub.googleapis.com/subscription/num_retained_acked_messages_by_regionRetained acked messages by regioncountNumber of acknowledged messages retained in a subscription, broken down by Cloud region. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
google_pubsub_subscription_num_unacked_messages_by_regionpubsub.googleapis.com/subscription/num_unacked_messages_by_regionUnacked messages by regioncountNumber of unacknowledged messages in a subscription, broken down by Cloud region. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
google_pubsub_subscription_num_undelivered_messagespubsub.googleapis.com/subscription/num_undelivered_messagesUnacked messagescountNumber of unacknowledged messages (a.k.a. backlog messages) in a subscription. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
google_pubsub_subscription_oldest_retained_acked_message_agepubsub.googleapis.com/subscription/oldest_retained_acked_message_ageOldest retained acked message agesecondsAge (in seconds) of the oldest acknowledged message retained in a subscription. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
google_pubsub_subscription_oldest_retained_acked_message_age_by_regionpubsub.googleapis.com/subscription/oldest_retained_acked_message_age_by_regionOldest retained acked message age by regionsecondsAge (in seconds) of the oldest acknowledged message retained in a subscription, broken down by Cloud region. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
google_pubsub_subscription_oldest_unacked_message_agepubsub.googleapis.com/subscription/oldest_unacked_message_ageOldest unacked message agesecondsAge (in seconds) of the oldest unacknowledged message (a.k.a. backlog message) in a subscription. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
google_pubsub_subscription_oldest_unacked_message_age_by_regionpubsub.googleapis.com/subscription/oldest_unacked_message_age_by_regionOldest unacked message age by regionsecondsAge (in seconds) of the oldest unacknowledged message in a subscription, broken down by Cloud region. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
google_pubsub_subscription_pull_ack_request_countpubsub.googleapis.com/subscription/pull_ack_request_countAcknowledge requestscountCumulative count of acknowledge requests, grouped by result. Sampled every 60 seconds. After sampling, data is not visible for up to 181 seconds.
google_pubsub_subscription_pull_request_countpubsub.googleapis.com/subscription/pull_request_countPull requestscountCumulative count of pull requests, grouped by result. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
google_pubsub_subscription_push_request_countpubsub.googleapis.com/subscription/push_request_countPush requestscountCumulative count of push attempts, grouped by result. Unlike pulls, the push server implementation does not batch user messages. So each request only contains one user message. The push server retries on errors, so a given user message can appear multiple times. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
google_pubsub_subscription_push_request_latenciespubsub.googleapis.com/subscription/push_request_latenciesPush latencymicrosecondsDistribution of push request latencies (in microseconds), grouped by result. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
google_pubsub_subscription_retained_acked_bytespubsub.googleapis.com/subscription/retained_acked_bytesRetained acked bytesbytesTotal byte size of the acknowledged messages retained in a subscription. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
google_pubsub_subscription_retained_acked_bytes_by_regionpubsub.googleapis.com/subscription/retained_acked_bytes_by_regionRetained acked bytes by regionbytesTotal byte size of the acknowledged messages retained in a subscription, broken down by Cloud region. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
google_pubsub_subscription_seek_request_countpubsub.googleapis.com/subscription/seek_request_countSeek requestscountCumulative count of seek attempts, grouped by result. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
google_pubsub_subscription_sent_message_countpubsub.googleapis.com/subscription/sent_message_countSent message countcountCumulative count of messages sent by Cloud Pub/Sub to subscriber clients, grouped by delivery type. Sampled every 60 seconds. After sampling, data is not visible for up to 181 seconds.
google_pubsub_subscription_streaming_pull_ack_request_countpubsub.googleapis.com/subscription/streaming_pull_ack_request_countStreamingPull Acknowledge requestscountCumulative count of streaming pull requests with non-empty acknowledge ids, grouped by result. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
google_pubsub_subscription_streaming_pull_mod_ack_deadline_request_countpubsub.googleapis.com/subscription/streaming_pull_mod_ack_deadline_request_countStreamingPull ModifyAckDeadline requestscountCumulative count of streaming pull requests with non-empty ModifyAckDeadline fields, grouped by result. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
google_pubsub_subscription_streaming_pull_response_countpubsub.googleapis.com/subscription/streaming_pull_response_countStreamingPull responsescountCumulative count of streaming pull responses, grouped by result. Sampled every 60 seconds. After sampling, data is not visible for up to 181 seconds.
google_pubsub_subscription_unacked_bytes_by_regionpubsub.googleapis.com/subscription/unacked_bytes_by_regionUnacked bytes by regionbytesTotal byte size of the unacknowledged messages in a subscription, broken down by Cloud region. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.

Event support

  • Supported
  • Configurable in OpsRamp Google Integration Discovery Profile.

External reference