AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

ApplicationMetrics

import "github.com/aws/aws-sdk-go/service/elasticbeanstalk"

type ApplicationMetrics struct { Duration *int64 `type:"integer"` Latency *Latency `type:"structure"` RequestCount *int64 `type:"integer"` StatusCodes *StatusCodes `type:"structure"` }

Application request metrics for an AWS Elastic Beanstalk environment.

Duration

Type: *int64

The amount of time that the metrics cover (usually 10 seconds). For example, you might have 5 requests (request_count) within the most recent time slice of 10 seconds (duration).

Latency

Represents the average latency for the slowest X percent of requests over the last 10 seconds.

RequestCount

Type: *int64

Average number of requests handled by the web server per second over the last 10 seconds.

StatusCodes

Represents the percentage of requests over the last 10 seconds that resulted in each type of status code response. For more information, see Status Code Definitions (http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html).

Method

GoString

func (s ApplicationMetrics) GoString() string

GoString returns the string representation

SetDuration

func (s *ApplicationMetrics) SetDuration(v int64) *ApplicationMetrics

SetDuration sets the Duration field's value.

SetLatency

func (s *ApplicationMetrics) SetLatency(v *Latency) *ApplicationMetrics

SetLatency sets the Latency field's value.

SetRequestCount

func (s *ApplicationMetrics) SetRequestCount(v int64) *ApplicationMetrics

SetRequestCount sets the RequestCount field's value.

SetStatusCodes

func (s *ApplicationMetrics) SetStatusCodes(v *StatusCodes) *ApplicationMetrics

SetStatusCodes sets the StatusCodes field's value.

String

func (s ApplicationMetrics) String() string

String returns the string representation

On this page: