Google Pub/Sub Topic monitoring integration
Utilize Site24x7 to monitor your Google Cloud Pub/Sub Topic resources. As a result, you can optimize performance, plan better in case of scaling up, and ensure optimal resource utilization. Site24x7's Google Cloud Pub/Sub Topic monitor lets you maintain a reliable messaging system, meeting the demands of your applications or services.
Setup and configuration
- Adding Google Cloud Pub/Sub Topic while configuring a new Google Cloud monitor
If you have not configured a Google Cloud monitor yet, add one by following the steps below:
- Log in to your Site24x7 account.
- Go to Cloud > GCP > Add GCP Monitor or Admin > Cloud Monitoring > Google Cloud Platform(GCP).
- Provide a unique display name for identification purposes.
- Upload the JSON file that contains the private key of the service account to authenticate Site24x7 for performing resource discovery.
- Select Pub/Sub Topic from the Select the Resources for Monitoring list.
- Select existing Notification Profiles, User Alerts Groups, Tags, and IT Automation Templates or add new ones. You can also integrate Site24x7's alarms with your preferred third-party service.
- Click Start GCP Monitoring.
- Adding Google Cloud Pub/Sub Topic to an existing Google Cloud monitor
If you already have a Google Cloud monitor configured for the service account, you can add Google Cloud Pub/Sub Topic by following the steps below:
- Log in to your Site24x7 account.
- Go to Cloud > GCP and select your GCP monitor.
- Click the hamburger icon next to Service View and select Edit, which brings you to the Edit GCP Monitor page.
- On the Edit GCP Monitor page, select Pub/Sub Topic from the Select the Resources for Monitoring list and click Save.
- After successful configuration, go to Cloud > GCP > Pub/Sub Topic. Now you can view the discovered Google Cloud Pub/Sub Topic resources.
It will take approximately five minutes to discover new GCP resources.
Polling frequency
Site24x7's Google Pub/Sub Topic monitor collects minute-wise metric data, and the statuses of your Google Pub/Sub Topic are reported every five minutes.
Supported metrics
Metric name | Description | Statistic | Unit |
---|---|---|---|
Snapshot Backlog Bytes | The total amount of message data retained in a snapshot | Total | Bytes |
Topic Byte Cost | The average cost of operations, displayed in terms of bytes. This data can be utilized to measure utilization for quotas. | Average | Bytes |
Topic Configuration Operations | The total count of configuration operations segregated by the operation type and result | Total | Count |
Publish Message Size | The total size of publish messages | Total | Bytes |
Retained Acked Messages by Region | The total number of acknowledged messages retained across all the subscriptions and snapshots attached to the topic, segregated by the Cloud region | Average | Count |
Retained Messages | The total number of messages retained in a topic | Total | Count |
Unacked Messages by Region | The total count of unacknowledged messages across all subscriptions and snapshots attached to a topic, segregated based on Cloud region | Total | Count |
Oldest Retained Acked Message Age by Region | The average age of the oldest acknowledged message retained across all subscriptions and snapshots attached to a topic, segregated based on Cloud region | Average | Seconds |
Oldest Retained Message Age | The average age of the oldest retained message in a topic | Average | Seconds |
Oldest Unacked Message Age by Region | The average age of the oldest unacknowledged message across all subscriptions and snapshots attached to a topic, segregated based on Cloud region | Average | Seconds |
Retained Acked Bytes by Region | The total size of acknowledged messages retained across all subscriptions and snapshots attached to a topic, segregated based on Cloud region | Total | Bytes |
Retained Bytes | The total size of retained messages in a topic | Total | Bytes |
Schema Validation Latency | The average latency in schema validation | Average | Milliseconds |
Publish Requests | The total count of publish requests segregated based on results | Total | Count |
Publish Request Latency | The average latency in processing publish requests | Average | Microseconds |
Unacked Bytes by Region | The total size of acknowledged messages across all subscriptions and snapshots attached to a topic, segregated based on Cloud region | Total | Bytes |
Threshold configuration
- Global configuration
- In the Site24x7 web client, go to the Admin section on the left navigation pane.
- Select Configuration Profiles from the left pane and select Threshold and Availability from the drop-down menu.
- Click Add Threshold Profile in the top-right corner.
- For Monitor Type, select Pub/Sub Topic.
- Now you can set the threshold values for the metrics listed above.
- Monitor-level configuration
- In the Site24x7 web client, go to Cloud > GCP > Pub/Sub Topic.
- Select a resource you would like to set a threshold for, then click the hamburger icon.
- Select Edit, which directs you to the Edit Pub/Sub Topic Monitor page.
- You can set the threshold values for the metrics with the Threshold and Availability option.
- You can also configure IT Automation at the attribute level.
IT Automation
Site24x7 offers a set of exclusive IT Automation tools that automatically resolve performance degradation issues. These tools react to events proactively rather than waiting for manual intervention. The IT Automation tools automate repetitive tasks and automatically remediate threshold breaches. The alarm engine continually evaluates system events for which thresholds are set and executes the mapped automation when there is a breach.
How to configure IT Automation for a monitor
Configuration Rules
Editing multiple monitors to associate different monitor groups or add a different tag can be a tedious process. With Site24x7's Configuration Rules, you can automate the configuration settings of your monitoring resources. Also, Site24x7 allows you to create custom rules to track configuration changes continuously and achieve the ideal configuration settings.
How to add Configuration Rules
Summary
The Summary tab will give you the performance data organized by time for the metrics listed above. To view the summary:
- Go to Cloud > GCP > Pub/Sub Topic.
- Select a resource.
- Click the Summary tab.
Configuration Details
The Configuration Details tab provides details on the configurations of application instances. To get the configuration details:
- Go to Cloud > GCP > Pub/Sub Topic.
- Select a resource.
- Click the Configuration Details tab.
Reports
Gain in-depth data about the various parameters of your monitored resources and accentuate your service performance using our insightful reports.
To view reports for a Google Pub/Sub Topic resource:
- Go to the Reports section on the left navigation pane.
- Select Pub/Sub Topic from the menu on the left.
- You can find the Availability Summary Report, Performance Report, and Inventory Report for one selected monitor. Or you can get the Summary Report, Availability Summary Report, Health Trend Report, and Performance Report for all the Google Pub/Sub Topic monitors.
You can also get reports from the Summary tab of the Google Pub/Sub Topic monitor:
- Click the Summary tab.
- Get the Availability Summary Report of the monitor by clicking Availability.
- You can also find the Performance Report of the monitor by clicking any chart title.
Related content
- Monitoring Google Cloud Platform
- List of Google Cloud services supported for monitoring
- Possible reasons why GCP resources are not added for monitoring in Site24x7
- What permissions should I have in my Google account to enable Site24x7's Google Cloud Platform (GCP) monitoring?
- How to create a service account JSON file to authenticate Site24x7 for the discovery of GCP resources
- How to create a service account in the GCP console