Dynatrace allows you to easily configure your HTTP monitors at any time.
To configure an existing HTTP monitor
- Select Synthetic from the navigation menu.
- Select the synthetic 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 (see explanations below for details). You can go through several options—all your changes are kept (but not saved) unless you click Discard changes in the bottom right corner
- Once you've finished configuring your HTTP monitor, click Save settings in the bottom right corner of the window.
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 will be truncated.
Assign HTTP monitor to a web application
If this synthetic monitor is associated with one of your monitored web applications, assign the monitor to the application so you can track the availability and performance of your application. Detected problems will be automatically associated with your application. If the monitor status is unavailable, the application will also be considered unavailable.
Click the Assign monitor to application button and select the required application from the list. You can assign one monitor to multiple applications. One application can have several assigned monitors.
Validation and thresholds
You can check the validity of a response to an HTTP request 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.
Response validations check if the response contains certain text. You can set a condition to either pass or fail a test based on the results of these checks. Select the required option and type in the expected text for reference. Keep in mind that texts are case-sensitive.
Select the Interpret content match as regular expression option to use the specified reference text as the regular expression.
Performance thresholds enable you to receive notification when response time is unusually long so you can be proactive about site latency. Select the threshold time from the list. If the response time exceeds this threshold, a problem will be 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