Skip to content

Commit 9eea6bd

Browse files
add HTTP
1 parent 80a325c commit 9eea6bd

File tree

1 file changed

+82
-0
lines changed

1 file changed

+82
-0
lines changed

content/en/synthetics/notifications/template_variables.md

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,88 @@ For multistep API, browser, and mobile tests, extracted variables are available
493493

494494
{{< /collapse-content >}}
495495

496+
{{% collapse-content title= "HTTP" level="h4" expanded=false %}}
497+
498+
**Request:**
499+
500+
`synthetics.attributes.variables.extracted.request`
501+
: Information about the request
502+
503+
`synthetics.attributes.variables.extracted.request.method`
504+
: The HTTP method
505+
506+
`synthetics.attributes.variables.extracted.request.body`
507+
: The request body if set
508+
509+
`synthetics.attributes.variables.extracted.request.headers`
510+
: The request headers
511+
512+
**Response:**
513+
514+
`synthetics.attributes.variables.extracted.response`
515+
: Information about the response
516+
517+
`synthetics.attributes.variables.extracted.response.body`
518+
: The response body as string (truncated if too big)
519+
520+
`synthetics.attributes.variables.extracted.response.bodySize`
521+
: The size of the full response body
522+
523+
`synthetics.attributes.variables.extracted.response.cacheHeaders`
524+
: A dictionary of caching-related headers
525+
526+
`synthetics.attributes.variables.extracted.response.cdn`
527+
: The response CDN info if any
528+
529+
`synthetics.attributes.variables.extracted.response.cdn.provider`
530+
: The CDN provider name (for example, `akamai`, `cloudflare`)
531+
532+
`synthetics.attributes.variables.extracted.response.cdn.cache`
533+
: The cache info
534+
535+
`synthetics.attributes.variables.extracted.response.cdn.cache.cached`
536+
: If the data was cached
537+
538+
`synthetics.attributes.variables.extracted.response.cdn.cache.status`
539+
: The cache status as provided in associated cache header
540+
541+
`synthetics.attributes.variables.extracted.response.headers`
542+
: The response headers
543+
544+
`synthetics.attributes.variables.extracted.response.httpVersion`
545+
: The HTTP version
546+
547+
`synthetics.attributes.variables.extracted.response.redirects`
548+
: A list of redirections if any
549+
550+
`synthetics.attributes.variables.extracted.response.redirects.statusCode`
551+
: The HTTP status code for the redirect
552+
553+
`synthetics.attributes.variables.extracted.response.redirects.location`
554+
: The returned location to redirect to
555+
556+
`synthetics.attributes.variables.extracted.response.statusCode`
557+
: The response HTTP status code
558+
559+
**Timings:**
560+
561+
`synthetics.attributes.variables.extracted.timings.authentication`
562+
: The time spent for the authentication challenge (for example, NTLM)
563+
564+
`synthetics.attributes.variables.extracted.timings.download`
565+
: The time spent downloading the response
566+
567+
`synthetics.attributes.variables.extracted.timings.firstByte`
568+
: The time spent waiting for the first byte of response to be received
569+
570+
`synthetics.attributes.variables.extracted.timings.redirect`
571+
: The time spent in HTTP redirections
572+
573+
`synthetics.attributes.variables.extracted.timings.ssl`
574+
: The duration of the TLS handshake (only when testing an HTTPS endpoint)
575+
576+
{{< /collapse-content >}}
577+
496578
{{% /tab %}}
497579
{{< /tabs >}}
498580

0 commit comments

Comments
 (0)