Skip to content

/AWS1/CL_XRASAMPLINGBOOSTSTA00

Request anomaly stats for a single rule from a service. Results are for the last 10 seconds unless the service has been assigned a longer reporting interval after a previous call to GetSamplingTargets.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_rulename TYPE /AWS1/XRARULENAME /AWS1/XRARULENAME

The name of the sampling rule.

iv_servicename TYPE /AWS1/XRASERVICENAME /AWS1/XRASERVICENAME

Matches the name that the service uses to identify itself in segments.

iv_timestamp TYPE /AWS1/XRATIMESTAMP /AWS1/XRATIMESTAMP

The current time.

iv_anomalycount TYPE /AWS1/XRAANOMALYCOUNT /AWS1/XRAANOMALYCOUNT

The number of requests with anomaly.

iv_totalcount TYPE /AWS1/XRATOTALCOUNT /AWS1/XRATOTALCOUNT

The number of requests that associated to the rule.

iv_sampledanomalycount TYPE /AWS1/XRASAMPLEDANOMALYCOUNT /AWS1/XRASAMPLEDANOMALYCOUNT

The number of requests with anomaly recorded.


Queryable Attributes

RuleName

The name of the sampling rule.

Accessible with the following methods

Method Description
GET_RULENAME() Getter for RULENAME, with configurable default
ASK_RULENAME() Getter for RULENAME w/ exceptions if field has no value
HAS_RULENAME() Determine if RULENAME has a value

ServiceName

Matches the name that the service uses to identify itself in segments.

Accessible with the following methods

Method Description
GET_SERVICENAME() Getter for SERVICENAME, with configurable default
ASK_SERVICENAME() Getter for SERVICENAME w/ exceptions if field has no value
HAS_SERVICENAME() Determine if SERVICENAME has a value

Timestamp

The current time.

Accessible with the following methods

Method Description
GET_TIMESTAMP() Getter for TIMESTAMP, with configurable default
ASK_TIMESTAMP() Getter for TIMESTAMP w/ exceptions if field has no value
HAS_TIMESTAMP() Determine if TIMESTAMP has a value

AnomalyCount

The number of requests with anomaly.

Accessible with the following methods

Method Description
GET_ANOMALYCOUNT() Getter for ANOMALYCOUNT

TotalCount

The number of requests that associated to the rule.

Accessible with the following methods

Method Description
GET_TOTALCOUNT() Getter for TOTALCOUNT

SampledAnomalyCount

The number of requests with anomaly recorded.

Accessible with the following methods

Method Description
GET_SAMPLEDANOMALYCOUNT() Getter for SAMPLEDANOMALYCOUNT

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_SAMPLINGBOOSTSTATSDOCLIST

TYPES TT_SAMPLINGBOOSTSTATSDOCLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_XRASAMPLINGBOOSTSTA00 WITH DEFAULT KEY
.