Documentation

Metrics extends CloudApiBase implements CloudApiInterface

Class Metrics

Table of Contents

$client ClientInterface
getAggregateData() Retrieves aggregate usage data for an application. MetricsResponse
getAggregateUsageMetrics() Retrieves aggregate usage metric data for an application. MetricResponse
getDataByEnvironment() Retrieves usage data for an application, broken down by environment. MetricsResponse
getViewsByEnvironment() Retrieves views data for an application, broken down by environment. MetricsResponse
getVisitsByEnvironment() Retrieves visits data for an application, broken down by environment. MetricsResponse
getStackMetricsData() Returns StackMetrics data for the metrics specified in the filter paramater (e.g., apache-access, web-cpu). MetricsResponse
getStackMetricsDataByMetric() Returns StackMetrics data for the metric (e.g., apache-access). MetricResponse
__construct() Client constructor. mixed

Properties

Methods

getAggregateData()

Retrieves aggregate usage data for an application.

public getAggregateData( $applicationUuid : string ) : MetricsResponse
Parameters
$applicationUuid : string
Return values
MetricsResponse

getAggregateUsageMetrics()

Retrieves aggregate usage metric data for an application.

public getAggregateUsageMetrics( $applicationUuid : string , $usageMetric : string ) : MetricResponse
Parameters
$applicationUuid : string
$usageMetric : string
Return values
MetricResponse

getDataByEnvironment()

Retrieves usage data for an application, broken down by environment.

public getDataByEnvironment( $applicationUuid : string ) : MetricsResponse
Parameters
$applicationUuid : string
Return values
MetricsResponse

getViewsByEnvironment()

Retrieves views data for an application, broken down by environment.

public getViewsByEnvironment( $applicationUuid : string ) : MetricsResponse
Parameters
$applicationUuid : string
Return values
MetricsResponse

getVisitsByEnvironment()

Retrieves visits data for an application, broken down by environment.

public getVisitsByEnvironment( $applicationUuid : string ) : MetricsResponse
Parameters
$applicationUuid : string
Return values
MetricsResponse

getStackMetricsData()

Returns StackMetrics data for the metrics specified in the filter paramater (e.g., apache-access, web-cpu).

public getStackMetricsData( $environmentUuid : string ) : MetricsResponse
Parameters
$environmentUuid : string
Return values
MetricsResponse

getStackMetricsDataByMetric()

Returns StackMetrics data for the metric (e.g., apache-access).

public getStackMetricsDataByMetric( $environmentUuid : string , $metricType : string ) : MetricResponse
Parameters
$environmentUuid : string
$metricType : string
Return values
MetricResponse

Search results