Skip to content

Commit 834a55c

Browse files
authored
Added the count object and its attributes (#33620)
Added the count object and its attributes
1 parent b51160f commit 834a55c

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

content/en/synthetics/notifications/template_variables.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,26 @@ Applies to browser and mobile tests.
167167
}
168168
```
169169

170+
{{% /tab %}}
171+
{{% tab "Count" %}}
172+
173+
Applies to Multistep, Browser, and Mobile tests.
174+
175+
`{{synthetics.attributes.count}}`
176+
: The `count` object contains step statistics about the test
177+
178+
`{{synthetics.attributes.count.steps.total}}`
179+
: The total number of steps
180+
181+
`{{synthetics.attributes.count.steps.completed}}`
182+
: The number of steps that were run
183+
184+
`{{synthetics.attributes.count.errors}}`
185+
: The total number of errors that occurred while running the test. For multistep and mobile tests, this is the number of failed steps. For browser tests, this is the sum of all browser errors.
186+
187+
`{{synthetics.attributes.count.hops}}`
188+
: The number of traceroute hops for TCP and ICMP tests
189+
170190
{{% /tab %}}
171191
{{< /tabs >}}
172192

0 commit comments

Comments
 (0)