Monitor the performance of your web pages and applications by running synthetic Browser, Uptime, and API tests. These tests let you proactively alert the relevant teams when a site or user flow they manage becomes unavailable, as well as report on the performance of a site or user flow over time. Splunk Synthetic Monitoring does not require extensive installation and setup: you can get started by creating your first test directly in the Splunk Synthetic Monitoring user interface.
(Optional) Link Synthetic spans to APM spans
If you link Synthetic spans to APM spans, you can follow the story of your data from front-end to back-end. Splunk Synthetics uses server timing to calculate the response time between the front end and back end of your application, and to join the front-end and back-end traces for end-to-end visibility.
If a span in Splunk Synthetics has an associated back-end span, an APM link appears next to the span in the waterfall view of run results page and opens the span details page in Splunk APM.
By default, the Splunk Distributions of OpenTelemetry already send the
Server-Timing header. The header links spans from the browser with back-end spans and traces.
The APM environment variable for controlling the
Server-Timing header is
SPLUNK_TRACE_RESPONSE_HEADER_ENABLED=true to link to Splunk APM.
After you set the environment variable, your application instrumentation adds the following response headers to HTTP responses:
The Server-Timing header contains the
spanId parameters in
traceparent format. To learn more, see:
For more examples on Java instrumentation, see Server trace information.
(Optional) Integrate with Splunk RUM
Integrate with Splunk RUM so that you can automatically measure Web Vital metrics against your run results. Web vitals capture key metrics that affect user experience and assess the overall performance of your site. For more, see Compare run results to Web Vitals with Splunk RUM.
(Optional) Configure your application
If you use Splunk Synthetic Monitoring to monitor an application or website with allow/block lists or a web analytics tool, you might want to adjust the settings to accommodate traffic from Splunk Synthetic Monitoring. See Configure your site to accommodate synthetic tests for detailed instructions.