Templates API

Templates provide a streamlined approach to creating multiple tests (Synthetic/CEA and Endpoint), alert rules, dashboards, labels and other assets within ThousandEyes from a single configuration file. Templates make it easy to configure monitoring for even the most complex monitoring scenarios. The following applies to templates:

  • ThousandEyes provides a pre-defined set of templates for monitoring common services and applications like Office365, Webex, Atlassian, Slack, custom network, HTTP, API, and Web targets.
  • You can easily create tests for monitoring common services and applications such as Office365, Webex, and others using the predefined set of ThousandEyes built-in templates.
  • Users can create their own templates, which are visible to any other users in the account group the template was created in, provided they have the View Templates Read permission.
  • Templates support dynamic user inputs, which are values provided by users when a template is deployed. Templates leverage Handlebars templating notation to allow dynamically configuring ThousandEyes resources based on user provided inputs.
  • Templates can be deployed from the UI or the API.
  • Credentials (usernames, passwords, tokens, etc.) may be included in a template only as placeholders whose value is provided by user input when deployed. Creating or updating a template that contains a credentials field in plain text will result in a bad request (ie, HTTP 400).
  • Templates can also use Handlebars temlate notation to reference fields of other assets defined in the template. To support this, assets are created in the order below, which also determines what other assets a given asset can reference (ex. Labels cannot reference other assets, Tests can only reference labels, etc.)
    1. Labels
    2. Tests
    3. Endpoint Tests
    4. Tags
    5. Alert Rules
    6. Dashboard Filters
    7. Dashboards

For more information about Templates, see the product documentation.