- General information
- Getting started
- The Synthetic Monitoring user interface
- Setting permissions for Synthetic Monitoring
- Monitoring endpoints with Synthetic tests
- Using API scripts
- Instana integration
Synthetic Monitoring, also known as proactive monitoring, can simulate actions that an end-user takes on an application from different locations, and continuously monitor at a specific interval for performance characteristics like availability and response time.
Instana Synthetic Monitoring is built on the product Instana, and provides a fully integrated solution with other Instana capabilities. It allows you to create Synthetic tests to monitor an application.
Do you want to monitor the availability of your websites? Write an API Simple test.
Do you want to monitor the APIs of your application? Write an API Script test.
These tests can be configured to run at specific continuous intervals. You can also create a Smart Alert to inform you if the tests fail.
To get started, deploy a Point of Presence (PoP), and use the Instana UI or the Open APIs to create a synthetic test, and assign it to the location that represents the PoP. For more information, see the Getting started section.
The Synthetic Monitoring is supported in Instana SaaS from release 242. For self-hosted (on-premises) Instana, the Synthetic Monitoring is supported only if your Instana backend is installed on a Kubernetes or OpenShift environment from release 241.
- You need to deploy a self-hosted Point of Presence for testing.
- Synthetic test result data will be retained in the Instana backend for 60 days.
Point of Presence (PoP): A PoP is an agent where synthetic tests are executed. When the PoP is deployed, it register itself with the Instana backend as a 'location'. When deployment is discussed, it means the PoP. When the synthetic test configuration is discussed, it means the 'location' configuration.
Synthetic tests: A synthetic test is code that you write that simulates the way your end-users use your applications. Two types of synthetic tests are supported:
- API Simple test: It lets you send an HTTP GET request to a URL to confirm that it is responsive. The test will fail if the return code is not in the range of successful HTTP return codes.
- API Script test: It lets you send multiple API requests to an application to confirm that the responses are expected. This type of test allows you to check the return code and also allows you to check the content of the response.
Note: Beginning from Instana 251, API Simple is used in the Instana UI to refer to an HTTP Action test, and API Script is used in the Instana UI to refer to an HTTP Script test.
After the synthetic test is created, and assigned to one or more 'locations' with a specified frequency, the PoP will begin to run the test on the requested schedule. For each run, the PoP will send the results of the test to the Instana backend as a synthetic test result. Each test result might have some additional details, such as logs or subtransactions. The information is sent to the Instana backend separately as synthetic test result details. In summary, each synthetic test has a result for each run, and each test result has details.
Note: By using the Open API, you can create API Simple tests that use additional HTTP methods including
DELETE. Test creation in the Instana UI supports only the
In the Instana UI, you can see a beaker icon in the main navigation. If you select this icon, you can see a page that lists your synthetic tests if you have created them. You can also see a Locations tab, which has an entry if you deploy your self-hosted PoP. If you do not see this icon, please refer to Permissions.
To get started with Synthetic Monitoring, first you need to work with the Synthetic PoP. You need to prepare the environment where you will run your self-hosted PoP, download the helm charts, and deploy the PoP. You are recommended to install an Instana agent on the same kubernetes cluster where you deploy the PoP. For more information, see PoP deployment.
After the PoP is deployed, you can check the Locations tab in the Instana UI to confirm that the PoP location is successfully registered. You can also use the Open APIs to confirm whether the PoP location is registered. If the location does not appear or you get an empty response in the Open API, you can check the logs of the PoP controller. For more information, see PoP Deployment Troubleshooting.
After the location is registered, you are ready to create synthetic tests. You can either use the Add > Add Synthetic Test buttons in the Instana UI or use the Open APIs to create your synthetic tests. Creation of the synthetic test includes specifying how frequently the test will run and the location where it will run.
For more information about how to write scripted API (HTTPScript) tests, see the API Script documentation. For more information about the Open APIs for Synthetic Monitoring, see the Synthetic Monitoring section of the Open API documentation. All the views that you can see in the Instana UI can also be retrieved by using the Open APIs.
When you see that your synthetic test is running as expected, and synthetic test results are being sent to the Instana backend, you might wish to create an alert that indicates whether the test has failed. For information and instructions about creating alerts for synthetic tests, see Smart Alerts for Synthetic Monitoring.
The Synthetic Monitoring user interface
For a detailed explanation of the pages for Synthetic Monitoring in the Instana UI, see Using the user interface.
Setting permissions for Synthetic Monitoring
Before you set the permissions for Synthetic Monitoring, you need to log in Instana UI with a user ID that has the Owner level permissions so that you can set the permissions for yourself or others. Alternately, you can ask another user with Owner permissions to give you the permissions for Synthetic Monitoring. For more information about setting permissions to use Synthetic Monitoring, see Permissions for Synthetic Monitoring.
Monitoring endpoints with Synthetic tests
You can monitor endpoints by creating and managing Synthetic tests and Smart Alerts for such tests.
For more information about monitoring endpoints, see the Monitoring endpoints with Synthetic tests section.
Using API scripts
For guidance about writing an API Script Synthetic test, see the API Script Guide.
Synthetic monitoring is integrated with some other capabilities of the Instana product including Applications, Events and Kubernetes monitoring. For more information, see the Instana integration section of Monitoring endpoints with Synthetic tests.