Attributes for REST and Scripted REST Monitors

The trace (root span) and span attributes in Trace Explorer are defined by tagging a span, which enable the effective monitoring of the various tiers of an application.

Attributes are key-value pairs attached to a span to provide additional information and context about the operation performed in the span. A trace has some trace only attributes as well as all the span attributes of the root span.

In Trace Explorer, you can use attributes to query and filter traces and spans. There are two types of attributes: Dimensions (string attributes) and Metrics (numeric attributes) which are available in the Attributes panel in Trace Explorer.

This section provides a complete list of the out-of-the-box attributes applicable to REST and Scripted REST monitors from Availability Monitoring. The below table includes:

  • Name: Name of the attribute.
  • Description: Brief description of the attribute.
  • Trace/Span: Availability of the attribute. An attribute can be available for traces, spans, or both.
  • Type: Type of attribute: Dimension or Metric.
Name Description Trace/Span Type
AjaxRequestCount The total Ajax request count for the execution. Span attribute Metric
AverageAjaxBytesPerRequest The average Ajax bytes loaded. Span attribute Metric
AverageAjaxLoadTimePerRequest The average Ajax load time. Span attribute Metric
AverageBytesPerRequest The average bytes loaded per request for this request type. Span attribute Metric
AverageCSSBytesPerRequest

The average CSS bytes loaded across all requests.

Calculated as sum of all css bytes loaded divided by total number of requests.

Span attribute Metric
AverageCSSLoadTimePerRequest

The average CSS load time across all requests.

Calculated as sum of all css load times divided by total number of requests.

Span attribute Metric
AverageImageBytesPerRequest The average image bytes loaded. Span attribute Metric
AverageImageLoadTimePerRequest The average image load time. Span attribute Metric
AverageJavaScriptBytesPerRequest The average JS bytes loaded. Span attribute Metric
AverageJavaScriptLoadTimePerRequest The average JS load time. Span attribute Metric
AverageLoadTimePerRequest The average time taken to load resources of this request type. Span attribute Metric
AverageOthersBytesPerRequest The average others request bytes loaded. Span attribute Metric
AverageOthersLoadTimePerRequest The average others request load time. Span attribute Metric
CertificateExpiry The days remaining from the current day for the expiry of certificate.

Only applicable to REST monitors.

Span attribute Metric
CSSRequestCount The total CSS request count for the execution. Span attribute Metric
HTTP4xxFailureCount The total number of 4xx request failures. Span attribute Metric
HTTP5xxFailureCount The total number of 5xx request failures. Span attribute Metric
HttpCode The response code for the execution reported by REST monitor.

Only applicable to REST monitors.

Span attribute Dimension
ImageRequestCount The total image request count for the execution. Span attribute Metric
JavaScriptRequestCount The total JS request count for the execution. Span attribute Metric
MonitorLoadTime The sum of download times of all requests. Span attribute Metric
OthersRequestCount The total others request count for the execution. Span attribute Metric
TotalConnectCount The sum of all connect counts across all hosts. Span attribute Metric
TotalConnectTime The sum of connect time across all hosts. Span attribute Metric
TotalDNSLookups The sum of all DNS lookups across all hosts. Span attribute Metric
TotalDNSTime The sum of DNS time across all hosts. Span attribute Metric
TotalFirstByteTime The sum of first byte time across all hosts. Span attribute Metric
TotalRequestFailures The total number of requests that got failed to receive a response. Span attribute Metric
TotalSSLTime The sum of SSL time across all hosts. Span attribute Metric
TotalSteps The total number of clicks/enter keys that got captured in the script execution. Span attribute Metric

Events:

  • HOST:<URL>

    The URLs that got hit during the execution of script. This event captures the attributes for that specific URL.

    Attribute Name Description Unit
    ConnectCount The number of host connections established. NUMBER
    ConnectTime The average time in milliseconds to establish a connection with the host server. DURATION_MS
    DNSLookups The number of DNS lookups performed for the host. NUMBER
    DNSTime The average time in milliseconds for DNS lookups for each host. DURATION_MS
    FirstByteTime This time refers to the time between the client requesting a page/URL and when it receives the first byte of information from the server. DURATION_MS
    SSLTime The average time in milliseconds for SSL handshake for each host. DURATION_MS
  • CustomMetric

    Attribute Name Description Unit
    <marker-name> The custom marker metric that user inserted in the script. DURATION_MS