Product Documentation

HTTP GET with Availability

Type of Data

Custom Data Feed

Description

Similar to the HTTP GET data feed the HTTP GET with Availability data feed pulls content from a customer supplied URL and makes this data available to an Openmix application. The customer’s data can be in any format such as, text, xml, JSON, html, csv, etc. Fusion does a simple pass through of the data from the customer’s endpoint to Openmix. The Openmix app is responsible for parsing the data and applying any desired rules for DNS/HTTP routing.

If the customer URL is not available, instead of returning the body of the error response as the HTTP GET Data Feed does, a JSON payload that represents the down status will be returned.

Unlike the HTTP GET Data Feed, the optional OAuth credential configuration is not supported.

Note: The customer’s data feed must be under 10K in size or Fusion will reject it. This is currently a hard limit imposed by the infrastructure app servers.

Data Feed Format

Here’s an example of Availability Failure Payload:

{
    "bypass\_data\_points":true,"timestamp":"2017\-02\-13T20:23:24.857Z","state":"CRITICAL","status":"HTTP GET Failed with status \[404\] ","health\_score":{"value":0,"unit":"0\-5"}

}

Setup in Fusion

You can access Fusion Data Feeds from the left navigation pane, under Openmix. For initial steps please refer to the Fusion Integration Documentation.

When you get to the service-specific configuration dialog box, enter the following:

  • Name: The name given to the data feed. This will default to <Service><Platform Name> if not specified.
  • Run Every: The frequency with which the data feed is updated from the service.
  • Platform: The Platform that is associated with the data feed.
  • URL: The URL is an endpoint on the customer’s network that returns some data that the customer wants to see in Openmix. The response body is retrieved from the URL and pushed as is to Openmix.

If Customer URL is Not Available

A JSON payload with the following fields will be sent.

  • Bypass data points: Set to True since the feed should be ignored
  • Timestamp: Time when the failed poll for the customer URL occurred
  • State: No availability, so always “CRITICAL”
  • Status: Message of the form: “HTTP GET Failed with status [HTTP_STATUS_CODE]”
  • Health Score: No availability, so always 0

Once the installation is complete, it will be listed on the Fusion data feeds home page with a green status and monitoring metrics in the log history.

To edit a Fusion data feed click on the data feed in the list and then click the Edit button. Once you have changed the configuration, click Save. This will bring you back to the data feed list with your changes saved and applied to the data feed.

HTTP GET with Availability