Toggle menu

Pulse

Introduction

Websites built on the GOSS Digital Platform are about so much more than great content - they are the place to go for your users to access and interact with all of the services you deliver. Those services will rely on and integrate with a wide range of third-party and backend systems, and having visibility of the health of those systems is vital for delivering performant and stable applications.

Pulse provides a monitoring service that can be set up and accessed via iCM, giving you a central hub with oversight of all of the external components you rely on. It can be used to poll URLs and end points to check the health of a service, including its availability, response times, and any failures.

The monitoring dashboards highlight poorly performing services before they turn into failures, and let you quickly diagnose where a fault lies so it can be fixed at source and get you back online as quickly as possible.

Example

Pulse is accessed via an iCM Form App on the iCM homepage (ie a shortcut when you log into iCM), which will need to be set up manually and assigned to an appropriate iCM user group.

It provides a dashboard of the services that are being monitored:

Example Pulse dashboard showing three services

A service can also be inspected to view more details:

An example showing the details of a service that's being monitored

Pulse can be used in two ways:

  • Heartbeat Mode polls a URL or end point every five minutes and the results can be viewed from the dashboard
  • Live Service Mode provides a wrapper you can use when your service (end points, form submissions etc) is called, logging the results in Pulse

What Pulse Can Do

Pulse can monitor a service on a regular (five minute) interval, or be invoked by a service as it is used.

It's designed to monitor external, third party services, and elements in the Platform that integrate with them.

Pulse shouldn't be used to monitor standard Platform components, like subsites or API Server workers. That's because Pulse is built on and in the GOSS Platform, so monitoring an API Server worker like History, or the iCM API, doesn't make sense because Pulse itself uses those services.

Pulse calculates a state for each service it monitors, which will help you answer:

  • Is it healthy or down?
  • Is it degraded (slow)?
  • How many failures have we had in a row? (if down)
  • What's the average latency across the last 100 (or configured) events?
  • What's the 95 percentile of response times across the last 100 (or configured) events?

Using the Pulse Dashboard

The Pulse Dashboard is where you can see the results of your monitoring, and set up new service monitors.

Pulse will only be available to users who have the appropriate iCM Form App shortcut added to their homepage.

The Dashboard

Example Pulse dashboard showing three services

Each block on the dashboard represents one service. Each is colour coded:

  • Green - The service is responding normally
  • Yellow - The service is degraded
  • Red - The service is down

The thresholds for degraded and down are set when a service monitor is configured.

Service Summaries

Click on a block to see a summary of that service's performance.

Example Service Summary - BBC

The four buttons at the top of each block let you:

  • Play icon - Poll the service now
  • Graph icon - View a detailed breakdown (see below)
  • Gear icon - Amend the configuration or delete the service monitor
  • Export icon - Export the configuration

Detail View

Press the graph icon next to a service to open the detail view.

An example showing the details of a service that's being monitored

From here you can see:

  • A latency graph showing the history of latency across the full retention window
  • An uptime graph showing the history of whether the service was alive/degraded and its recovery speed across the full retention window
  • A table which lists each event logged by/to the Pulse service

Import and Export

Service configuration can be exported from one installation and imported into another. This only allows configuration to be moved between environments, not the recorded data.

Export an individual service configuration using the export icon next to that service.

Export Service

You can export all configured service monitors from the left-hand action menu.

Action Menu - Create

Both options will download a JSON file.

To import a configuration file, press the Import button in the left-hand action menu and upload your export file.

Configuring Heartbeat Mode

Heartbeat Mode polls a service every five minutes via a background task. The services you want to monitor are set up via the Pulse dashboard.

Setup

Pulse Configuration

Pulse should only be used to monitor external services. It's not designed to monitor platform components.

To add a new service to the dashboard do the following.

  1. Open the Pulse shortcut on the iCM homepage
  2. Press "Create" in the left-hand actions menu
    Action Menu - Create
  3. Enter a meaningful ID for the service
  4. Enter a display name for the service (visible on the dashboard)
  5. Enter a link to any relevant documentation (will be output on the dashboard)
  6. Enter either:
    1. The URL of the service you'd like to monitor
    2. The full namespace of an end point which will be called by Pulse. The end point should call the external service
  7. Press "Save" in the left-hand Actions menu

Your service will now appear in the dashboard.

Advanced Settings

The following are optional and can be used to override the defaults.

NameDefaultDescription
Timeout5000A timeout in milliseconds
Degraded Latency2000The longest a request can take before it is considered "degraded" and not working correctly
Down Consecutive Fails3How many back to back failures occur before the service is deemed "down"
Window Size100The maximum number of events to use to calculate statistics
Retention345600000 (4 days)How long, in milliseconds, are statistics are kept for before they are deleted
Success Response CodesAny HTTP 2xx status codeEnter additional status codes as a comma separated list that you want to treat as successful, for example 403,404

 

Setting Up Live Service Mode

Live Service Mode lets you add Pulse monitoring to your integration. For example, you may be writing an end point which calls a third party API. Adding Pulse as a service wrapper around that call adds real-time monitoring that can be viewed on the Pulse dashboard.

pollService End Point

The Pulse service exposes a goss.pulse.pollService end point. It requires a "serviceId" to be provided and then it can be called with one of the following:

  • url - string. Performs a get request at the supplied URL
  • endpoint - string. Fully qualified namespace. Calls this.invokeEP with the end point name
  • func - An anonymous asynchronous function with optional parameters (funcParams)
  • axiosOptions - An Axios "options" payload. If no timeout is included, the found serviceId config (if present) will be used else the default will be leveraged

Once used, it will also handle adding all of the stats to the serviceId provided as per the heartbeat pattern.

Axios Example

Pass through an existing axios "options" object and retrieve the response:

Before:

        const serviceId = "exampleService";
        const axiosOptions = { "url": "https://www.google.com", "method": "get" };
        const result = await axios(axiosOptions);
        return  {
            "status": result.status,
            "data": result.data
        };

After:

        const serviceId = "exampleService";
        const axiosOptions = { "url": "https://www.google.com", "method": "get" };
        const result = ((await this.invokeEP("goss.pulse.pollService", { serviceId, axiosOptions })).pollResult || {});
        return  {
            "status": result.status,
            "data": result.data
        };

Function Example

Pass through an anonymous async function (params optional):

Before:

    return await main(params);

After:

    const serviceId = "exampleService";
    return ((await this.invokeEP("goss.pulse.pollService", { serviceId, "func": main, "funcParams": params })).pollResult || {}).raw;

Or:

    const serviceId = "exampleService";
    const func = async () => main(params);
    return ((await this.invokeEP("goss.pulse.pollService", { serviceId, func })).pollResult || {}).raw;

Raw Response

In the second example above you'll see .raw being returned. this is to avoid "error" like behaviours. If an "error" response payload comes back and is deemed truthy (true, "true", 1, "hello", {}, [] etc) then it will throw an error instead of passing the data back unmodified.

.raw only applies to generic "functions". Its not needed for axios or "generics" as they simply return the core data points in .pollResult.

Dashboard

One Pulse has been added, follow the steps in Configuring Heartbeat Mode to add the live monitoring to the dashboard.

Once monitoring events have been recorded, your live service ID will show up in the "Missing Configs" list.

Missing Configs

Press "Configure" then complete the form. Don't enter a URL or end point to monitor - the dashboard will display data recorded by your calls to goss.pulse.pollService.

Installation, Components and Glossary

Pulse is installed as part of the regular deployment of the Standardised Site. It was first released in May 2026.

Form App Shortcut

Access to the dashboards is managed via an iCM Form App Shortcut. We recommend creating a new iCM user group called "Pulse" which will grant access to the dashboard to users in the group.

Pulse Shortcut

The shortcut should use the PULSEDASHBOARD form (found under the GOSS/Pulse form group).

iCM Objects

Pulse uses two iCM Object Types to store data:

  • form_PULSECONFIG - Stores the configuration for each monitor
  • FORM_PULSE - Stores the latest statistics for a service

History

The Platform's History service records the historical statistics logged during monitoring. These are used to build the details view of the dashboards.

Histories are automatically deleted when they fall outside of the retention period. This defaults to four days, but can be overridden as part of the "Advanced" settings when creating a monitor.

Scheduled Task

The end point goss.pulse.scheduled.pollServices is called every five minutes. The parameters are an empty object.

Glossary

The following terms are used in this documentation and throughout the Pulse service.

Live Service - A service that doesn't have a configured URL or end point to heartbeat check, so it is expected to only be used by invocations from things like form submissions, other end points, workflows etc.

Window - The "window" number is how many events are currently being used to calculate the summary stats being shown. This defaults to 100.

Fails - This denotes the number of "consecutive" failures, ie how many have happened back to back. This helps see if the service is actually down or if a single failure is marking it as such. This along with the uptime % gives you a wider picture of service health.

P95 latency - 95th percentile of latency. 95% of data points fall below this latency so you can see a more indicative picture of the general quality of a service response speed.

Healthy - A healthy service has a decent uptime, isn't showing common signs of slow responses and hasn't had any consecutive failures. 

Degraded - A degraded service is one that has a latency that is above its configured degraded setting. It is slower than it should be but its not failing.

Down - The service isn't working. It is either timing out or returning an error.

Last modified on 15 May 2026