You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 2, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: synthetics/test-config/private-locations.rst
+46-54Lines changed: 46 additions & 54 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,14 +47,49 @@ Manage your tokens
47
47
--------------------------------
48
48
It is your responsibility to update and manage your tokens. Tokens are valid for one year. For added security, create a secret environment variable for your token in Docker. Consider creating a second token to provide coverage before your first token expires. You are not notified of expiring tokens.
If both the queue latency and length increase over time, then add more runners to improve performance.
77
+
78
+
If your queue latency increases but your queue length doesn't, then try these troubleshooting methods:
79
+
80
+
* Check to see if a step is delaying the rest of the test
81
+
* Investigate whether you have the sufficient resources to run private location runners on your machines.
82
+
83
+
The maximum number of runs in a queue is 100,000.
84
+
85
+
Any runs older than one hour are removed from the queue.
86
+
87
+
88
+
Private runners
89
+
=====================================
55
90
56
91
What is a private runner?
57
-
================================
92
+
-------------------------------------
58
93
59
94
A private runner is a Docker image which you deploy on your own infrastructure, within your own internal network. It picks up test runs from the queue of tests assigned to its associated private location, performs the actions in the test run on the test target, and reports the results back to Splunk Synthetic Monitoring.
60
95
@@ -63,8 +98,7 @@ If you create multiple private runners for a private location, they can process
63
98
64
99
65
100
Requirements for private runners
66
-
==========================================
67
-
101
+
-------------------------------------
68
102
69
103
.. list-table::
70
104
:header-rows: 1
@@ -95,13 +129,9 @@ For optimal performance when running browser tests:
95
129
96
130
97
131
Working with Docker
98
-
======================================
99
-
Here is some guidance for working with Docker.
100
-
101
-
Limit logging in Docker
102
-
------------------------------------
132
+
-------------------------------------
103
133
104
-
Follow these steps to limit logging:
134
+
Follow these steps to limit logging in Docker:
105
135
106
136
#. Create a file in a directory like this: ``/etc/docker/daemon.json``.
107
137
@@ -120,9 +150,9 @@ Follow these steps to limit logging:
120
150
#. Restart your docker service: ``sudo systemctl docker.service restart``.
Splunk Synthetic Monitoring supports injecting custom root CA certificates for Uptime tests running from your private locations. Client keys and certificates aren't supported at this time.
127
157
128
158
#. Create a folder called ``certs`` on your host machine and place the CA Certificate (in CRT format) in the folder.
@@ -142,8 +172,8 @@ For example, here is what a command might look like after you modify it to fit y
142
172
.. Note:: Custom root CA certificates aren't supported for Browser tests. Browser tests require SSL/TLS validation for accurate testing. Optionally, you can deactivate SSL/TLS validation for Browser tests when necessary.
In environments where direct internet access is restricted, you can route synthetic test traffic through a proxy server by configuring the following environment variables:
149
179
@@ -194,41 +224,3 @@ When using a private runner, it's important to correctly configure the proxy set
194
224
.. note::
195
225
Lower case variable names take precedence and are best practice.
196
226
197
-
198
-
Assess the health of a private location
199
-
==============================================
200
-
201
-
A private location's health depends on three factors:
202
-
203
-
.. list-table::
204
-
:header-rows: 1
205
-
:widths: 20 40 40
206
-
207
-
* - :strong:`Factor`
208
-
- :strong:`Description`
209
-
- :strong:`Solution`
210
-
* - Active runner
211
-
- At least one runner is actively checking in.
212
-
- If no runners are checking in, set up new runners for the private location.
213
-
* - Used in tests
214
-
- The private location is currently being used in one or more tests.
215
-
- If you need to delete a private location, you need to first delete it from all tests.
216
-
* - Clear queue
217
-
- The queue for a given location is being cleared periodically and is not backed up.
218
-
- If the queue is backed up, add new runners to the private location.
0 commit comments