How to Configure Site Uptime Monitoring with Google Cloud Monitoring?


Observe your web site uptime, latency with Google Cloud Monitoring from a couple of places and get notified when there is a matter.

Google Cloud Operations suite is a selection of gear to observe, troubleshoot, and fortify the efficiency of your cloud infrastructure or utility. In the past, you could have identified it as “Stackdriver.”

As part of its providing, it supplies end-to-end tracking answers the use of the Google Cloud Monitoring toolset. You’ll make a selection to use it totally free or pay for it if you need to do away with the boundaries to the uptime-check configurations added.

The fee is determined by your utilization. So, you might have considered trying to head to its reputable pricing web page to discover extra about it.

Whilst there are a number of configuration choices and complicated tracking functions that you simply get with Google’s Cloud tracking gear, right here, we center of attention on tracking website online uptime and latency.

After all, you’ll check out different tracking answers to be had like StatusCake; then again, in case you are already the use of GCP, you then don’t want a third-party provider for uptime exams. Moreover, you get to make the most of complicated functionalities that might not be to be had with other website online tracking products and services.

Getting Began with Google Cloud Monitoring

For starters, we think that you’ve a Google Cloud account; if now not, you’ll get it began with a FREE trial. You’re going to have to upload a cost way on the finish of the trial to proceed the use of the products and services.

Now, all you’ve to do is:

google cloud uptime

Subsequent, you wish to have to upload an uptime test configuration.

Upload an Uptime Take a look at Configuration

You wish to have to continue via 4 steps to upload an uptime observe to your website online effectively.

1. Within the Uptime test phase, click on on “CREATE UPTIME CHECK” to get began.

google cloud uptime

2. You wish to have to upload a reputation to your configuration and the objective data to specify what you wish to have to observe.

uptime check google cloud

Right here, we center of attention on a website online. So, perhaps, we can want to use the HTTPS protocol with the homepage URL because the hostname.

For this case, I added geekflare.com because the hostname with out specifying a trail. If you need to observe a particular listing or sub-page, you’ll do this via getting into the trail for it.

It additionally allows you to customise the frequency of the uptime test, 1 minute being the default (and the quickest), with the choice to fritter away to 15 minute time periods.

You’ll make a selection to make the most of the complicated goal choices to observe from a particular location and a port, alongside with enabling SSL validation and specifying customized headers.

One of the crucial choices that you simply understand within the symbol come with:

  • HTTP host header
  • Port quantity (default is 443)
  • Reaction content material validation
  • Take a look at uptime from (World is chosen default)
  • Customized header validation
  • Authentication

3. Subsequent, you’ll make a selection to tweak the validation settings. In different phrases, you’ll set a customized reaction timeout for the request to wait and test if the website online is up.

If you need to search for a particular HTML tag or equivalent, you’ll allow content material matching. However, this isn’t required for lots of the number one website online uptime tracking wishes.

Via default, if there’s a failure within the uptime test, it’ll be saved in Cloud Logging, which has a unfastened restrict and may just value you if you need to stay monitor of limitless logs.

You might have considered trying to stay it enabled to test your earlier actions. However, you’ll make a selection to disable it in case you see have compatibility.

Now, the entire necessary choices to create an uptime provider had been configured, continue to your next step to create an alert and notification provider.

Create Google Monitoring Alert & Notification

google cloud alert

To get notified of a failure, you’re going to have to arrange indicators. You wish to have to specify a reputation and the length of notifications (between 1 minute to 23 hours half-hour) which you’re going to obtain upon a failure.

Alternatively, it will lend a hand in case you had a notification channel arrange earlier than continuing with the alert. For those who haven’t created any, head to the notification channel supervisor web page one at a time to discover the choices to be had and set them up as wanted.

You might have a lot of choices that come with:

  • E mail
  • Slack
  • Google Cloud Mobile App
  • Webhooks
  • SMS

As soon as this is arrange, you’re going to have to choose the notification channel to entire the uptime test configuration.

You’ll check it to see if in case you have your configurations proper. If the whole thing’s excellent, you’re going to obtain a “Answered with “200 (OK)” in xx ms.” message with a inexperienced tick.

And, then you’ll continue to upload the configuration via clicking on “CREATE.” That is the way it will have to appear to be:

When you create it, the tracking will take a couple of mins to get started. You’ll understand the golf green test marks on the entire areas (or a particular area) as in line with your uptime configuration:

Checking URL Latency

You simply have to click on at the uptime test you created to see the information amassed in regards to the latency and uptime.

You’ll have a look at the detailed ancient latency graph to analyze the uptime and function of your website online.

You’ll use fine-grained latency data to troubleshoot and optimize the web site efficiency as smartly.

This will have to come up with a good suggestion of acting exams the use of Google Cloud Monitoring.

Thinking about finding out Google Cloud? You might take a look at this improbable path to get Google Cloud qualified.

Related Articles

Leave a Reply

Your email address will not be published.

Back to top button