getStatisticsGraphImage


SoftLayer_Location_Datacenter::getStatisticsGraphImage

Retrieve a graph of a SoftLayer datacenter’s last 48 hours of network activity.

Overview

Retrieve a graph of a SoftLayer datacenter’s last 48 hours of network activity. Statistics graphs show traffic outbound from a datacenter on top and inbound traffic on the bottom followed by a legend of the network services tracked in the graph. getStatisticsGraphImage returns a PNG image of variable width and height depending on the number of services reported in the image.


Parameters

Name Type Description

Required Headers

  • authenticate
  • SoftLayer_Location_DatacenterInitParameters

Return Values

  • binary data

Error Handling

  • SoftLayer_Exception

Throw the exception “Unable to load the statistics image for the datacenter” if the API is unable to retrieve a valid PNG image for the datacenter.