Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit e37c0b7

Browse files
author
ada
committed
Updates
1 parent d05f825 commit e37c0b7

File tree

1 file changed

+46
-54
lines changed

1 file changed

+46
-54
lines changed

synthetics/test-config/private-locations.rst

Lines changed: 46 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,49 @@ Manage your tokens
4747
--------------------------------
4848
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.
4949

50+
Assess the health of a private location
51+
---------------------------------------------------------
5052

51-
***************************
52-
Private locations
53-
***************************
53+
A private location's health depends on three factors:
5454

55+
.. list-table::
56+
:header-rows: 1
57+
:widths: 20 40 40
58+
59+
* - :strong:`Factor`
60+
- :strong:`Description`
61+
- :strong:`Solution`
62+
* - Active runner
63+
- At least one runner is actively checking in.
64+
- If no runners are checking in, set up new runners for the private location.
65+
* - Used in tests
66+
- The private location is currently being used in one or more tests.
67+
- If you need to delete a private location, you need to first delete it from all tests.
68+
* - Clear queue
69+
- The queue for a given location is being cleared periodically and is not backed up.
70+
- If the queue is backed up, add new runners to the private location.
71+
72+
73+
Troubleshoot queue length and latency
74+
---------------------------------------------------
75+
76+
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+
=====================================
5590

5691
What is a private runner?
57-
================================
92+
-------------------------------------
5893

5994
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.
6095

@@ -63,8 +98,7 @@ If you create multiple private runners for a private location, they can process
6398

6499

65100
Requirements for private runners
66-
==========================================
67-
101+
-------------------------------------
68102

69103
.. list-table::
70104
:header-rows: 1
@@ -95,13 +129,9 @@ For optimal performance when running browser tests:
95129

96130

97131
Working with Docker
98-
======================================
99-
Here is some guidance for working with Docker.
100-
101-
Limit logging in Docker
102-
------------------------------------
132+
-------------------------------------
103133

104-
Follow these steps to limit logging:
134+
Follow these steps to limit logging in Docker:
105135

106136
#. Create a file in a directory like this: ``/etc/docker/daemon.json``.
107137

@@ -120,9 +150,9 @@ Follow these steps to limit logging:
120150
#. Restart your docker service: ``sudo systemctl docker.service restart``.
121151

122152

153+
Add certificates
154+
-------------------------------------
123155

124-
Add certificates in Synthetics
125-
------------------------------------------------------
126156
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.
127157

128158
#. 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
142172
.. 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.
143173

144174

145-
Configure proxy settings for a private location
146-
===================================================
175+
Configure proxy settings for a private runner
176+
---------------------------------------------------------
147177

148178
In environments where direct internet access is restricted, you can route synthetic test traffic through a proxy server by configuring the following environment variables:
149179

@@ -194,41 +224,3 @@ When using a private runner, it's important to correctly configure the proxy set
194224
.. note::
195225
Lower case variable names take precedence and are best practice.
196226

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.
219-
220-
Troubleshoot queue length and latency
221-
---------------------------------------------------
222-
223-
If both the queue latency and length increase over time, then add more runners to improve performance.
224-
225-
If your queue latency increases but your queue length doesn't, then try these troubleshooting methods:
226-
227-
* Check to see if a step is delaying the rest of the test
228-
* Investigate whether you have the sufficient resources to run private location runners on your machines.
229-
230-
The maximum number of runs in a queue is 100,000.
231-
232-
Any runs older than one hour are removed from the queue.
233-
234-

0 commit comments

Comments
 (0)