Dynatrace allows you to easily configure your HTTP monitors when first setting them up and at any time thereafter.
During HTTP monitor creation, configuration settings appear after you have clicked Create an HTTP monitor. These settings are a subset of the full set available in edit mode (described below) after the monitor has been deployed.
To configure an existing HTTP monitor
- Select Synthetic from the navigation menu.
- Select the HTTP monitor you want to configure.
- Click the Browse (...) button and select Edit.
- Click through the HTTP monitor options in the left-hand menu to configure the available settings (explanations below—a subset of these settings are available when you first set up a monitor).
- Click Save changes at bottom right when done editing your monitor.
Within Monitor setup settings you can configure basic monitor properties:
- The URL to check
- The Name of the monitor
- The User agent (user agent of the request)
- The Max response size—If the response exceeds this size, it is truncated.
Assign HTTP monitor to a web application
If this synthetic monitor is associated with one of your monitored web applications, you can assign the monitor to the application so you can track application availability and performance. Detected problems will be automatically associated with your application. If monitor status is unavailable, the associated application is also considered unavailable.
Click Assign monitor to application and select an application from the drop-down list. You can assign a monitor to multiple applications, and an application can have several assigned monitors.
Validation and thresholds
You can validate the a response to an HTTP request by checking for specific on-screen text and set a notification to alert you if the response time is unusually long.
Response validation helps you verify that your application loads the expected content by checking if the response contains certain text.
You can set a condition to either pass or fail a monitor based on the results of these checks. If pass criteria are not met (or fail criteria are met) the monitor fails and the execution is aborted.
Select the required option and type in the expected text for reference. Keep in mind that texts are case-sensitive.
Select Interpret content match as regular expression if the specified text is defined as a regular expression.
Performance thresholds enable you to receive notification when response time is unusually long so you can be proactive about site latency. Enter the threshold time in seconds. If the response time exceeds this threshold, a problem is generated and you will receive a notification, as defined in Settings > Integration > Problem notifications.
Frequency and locations
There are two factors that make up your monitoring schedule, how frequently your HTTP monitor runs and from which locations it's executed.
These factors determine how often your HTTP monitor runs each hour. For example, running from 3 locations every 15 minutes results in 12 monitor executions each hour.
You can choose from 1, 2, 5, 10, 15, 30 and 60 minute frequencies. You can also select multiple locations from which your HTTP monitor is to be executed from.
HTTP specific settings
In the HTTP specific settings section you can configure HTTP requests that the monitor sends to your website. You can start with the HTTP method of your monitor as the actual set of monitor parameters depends on this.
Basic HTTP authentication
Dynatrace makes it easy to automate the login process for password-protected sites. Just type in your username and password.
Accept any SSL certificate
By default, HTTP monitors accept any SSL certificate, regardless of whether or not they're valid. Deactivate this option to have the monitor fail with invalid SSL certificates.
By default HTTP monitors follow all redirects from an original request, until it reaches the final destination. Deactivate this option to monitor only the first response of the redirect chain.
Set additional HTTP headers
You can set additional HTTP headers to your monitor. You can define as many headers as you want.
Select the Header name from the list, then type in its value. Click Add another to add more headers.
You can also set any custom header you need—just type in its name and value to the respective fields.
Set request body
You can send the payload with your POST, PUT, and DELETE requests.
To use the request body, you must set up the Content-Type header, and specify the type of the content you're sending, for example