Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchPutMetricsError ¶
type BatchPutMetricsError struct { // The error code of an error that occured when attempting to put metrics. // // - METRIC_LIMIT_EXCEEDED : The maximum amount of metrics per resource is // exceeded. // // - INTERNAL_ERROR : An internal error occured. // // - VALIDATION_ERROR : The metric data failed validation. // // - CONFLICT_ERROR : Multiple requests attempted to modify the same data // simultaneously. Code PutMetricsErrorCode // An index that corresponds to the metric in the request. MetricIndex *int32 // contains filtered or unexported fields }
An error that occured when putting the metric data.
type PutMetricsErrorCode ¶
type PutMetricsErrorCode string
const ( PutMetricsErrorCodeMetricLimitExceeded PutMetricsErrorCode = "METRIC_LIMIT_EXCEEDED" PutMetricsErrorCodeInternalError PutMetricsErrorCode = "INTERNAL_ERROR" PutMetricsErrorCodeValidationError PutMetricsErrorCode = "VALIDATION_ERROR" PutMetricsErrorCodeConflictError PutMetricsErrorCode = "CONFLICT_ERROR" )
Enum values for PutMetricsErrorCode
func (PutMetricsErrorCode) Values ¶
func (PutMetricsErrorCode) Values() []PutMetricsErrorCode
Values returns all known values for PutMetricsErrorCode. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type RawMetricData ¶
type RawMetricData struct { // The name of the metric. // // This member is required. MetricName *string // The time that the metric was recorded. // // This member is required. Timestamp *time.Time // The metric value. // // This member is required. Value *float64 // The metric step (epoch). Step *int32 // contains filtered or unexported fields }
The raw metric data to associate with the resource.
Click to show internal directories.
Click to hide internal directories.