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 Metric | Google Metric | Metric Display Name | Unit | Description |
|---|---|---|---|---|
| google_pubsub_subscription_ack_latencies | pubsub.googleapis.com/subscription/ack_latencies | Ack latency | ms | Distribution 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_count | pubsub.googleapis.com/subscription/ack_message_count | Ack message count | count | Cumulative 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_bytes | pubsub.googleapis.com/subscription/backlog_bytes | Backlog size | bytes | Total 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_region | pubsub.googleapis.com/subscription/billable_bytes_by_region | Billable bytes by region | bytes | Total 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_cost | pubsub.googleapis.com/subscription/byte_cost | Subscription byte cost | bytes | Cumulative 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_count | pubsub.googleapis.com/subscription/config_updates_count | Subscription configuration operations | count | Cumulative 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_count | pubsub.googleapis.com/subscription/dead_letter_message_count | Dead letter message count | count | Cumulative 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_score | pubsub.googleapis.com/subscription/delivery_latency_health_score | Delivery latency health score | count | A 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_count | pubsub.googleapis.com/subscription/exactly_once_warning_count | Exactly once delivery warning | count | Count 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_count | pubsub.googleapis.com/subscription/expired_ack_deadlines_count | Expired ack deadlines count | count | Cumulative 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_details | pubsub.googleapis.com/subscription/export_push_subscription_details | Export push subscription details | count | Type 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_latencies | pubsub.googleapis.com/subscription/message_transform_latencies | Subscription message transform latency | ms | Distribution 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_count | pubsub.googleapis.com/subscription/mod_ack_deadline_message_count | Mod ack deadline message count | count | Cumulative 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_count | pubsub.googleapis.com/subscription/mod_ack_deadline_request_count | ModifyAckDeadline requests | count | Cumulative 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_latencies | pubsub.googleapis.com/subscription/mod_ack_latencies | ModAck latency | ms | Distribution 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_requests | pubsub.googleapis.com/subscription/nack_requests | Nack requests | count | Cumulative 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_messages | pubsub.googleapis.com/subscription/num_outstanding_messages | Outstanding push messages | count | Number 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_region | pubsub.googleapis.com/subscription/num_retained_acked_messages_by_region | Retained acked messages by region | count | Number 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_region | pubsub.googleapis.com/subscription/num_unacked_messages_by_region | Unacked messages by region | count | Number 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_messages | pubsub.googleapis.com/subscription/num_undelivered_messages | Unacked messages | count | Number 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_age | pubsub.googleapis.com/subscription/oldest_retained_acked_message_age | Oldest retained acked message age | seconds | Age (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_region | pubsub.googleapis.com/subscription/oldest_retained_acked_message_age_by_region | Oldest retained acked message age by region | seconds | Age (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_age | pubsub.googleapis.com/subscription/oldest_unacked_message_age | Oldest unacked message age | seconds | Age (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_region | pubsub.googleapis.com/subscription/oldest_unacked_message_age_by_region | Oldest unacked message age by region | seconds | Age (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_count | pubsub.googleapis.com/subscription/pull_ack_request_count | Acknowledge requests | count | Cumulative 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_count | pubsub.googleapis.com/subscription/pull_request_count | Pull requests | count | Cumulative 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_count | pubsub.googleapis.com/subscription/push_request_count | Push requests | count | Cumulative 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_latencies | pubsub.googleapis.com/subscription/push_request_latencies | Push latency | microseconds | Distribution 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_bytes | pubsub.googleapis.com/subscription/retained_acked_bytes | Retained acked bytes | bytes | Total 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_region | pubsub.googleapis.com/subscription/retained_acked_bytes_by_region | Retained acked bytes by region | bytes | Total 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_count | pubsub.googleapis.com/subscription/seek_request_count | Seek requests | count | Cumulative 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_count | pubsub.googleapis.com/subscription/sent_message_count | Sent message count | count | Cumulative 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_count | pubsub.googleapis.com/subscription/streaming_pull_ack_request_count | StreamingPull Acknowledge requests | count | Cumulative 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_count | pubsub.googleapis.com/subscription/streaming_pull_mod_ack_deadline_request_count | StreamingPull ModifyAckDeadline requests | count | Cumulative 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_count | pubsub.googleapis.com/subscription/streaming_pull_response_count | StreamingPull responses | count | Cumulative 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_region | pubsub.googleapis.com/subscription/unacked_bytes_by_region | Unacked bytes by region | bytes | Total 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.