Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Sam Burney
speedtest
Commits
639f57c1
Commit
639f57c1
authored
6 years ago
by
dosse91
Browse files
Options
Download
Plain Diff
Merge branch 'master' into docker
parents
5d91da23
baaf2a85
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
doc.md
doc.md
+3
-3
No files found.
doc.md
View file @
639f57c1
...
...
@@ -316,7 +316,7 @@ You need to start the test with your replacements like this:
w
.
postMessage
(
'
start {"url_dl": "newGarbageURL", "url_ul": "newEmptyURL", "url_ping": "newEmptyURL", "url_getIp": "newIpURL"}
'
)
```
## Telemetry
Telemetry currently requires PHP and either MySQL, PostgreSQL or SQLite.
Telemetry currently requires PHP and either MySQL, PostgreSQL or SQLite.
Alternatively, it is possible to save to a CSV file.
To set up the telemetry, we need to do 4 things:
*
copy
`telemetry.php`
and
`telemetry_settings.php`
*
edit
`telemetry_settings.php`
to add your database or CSV settings
...
...
@@ -330,7 +330,7 @@ If you see a table called `speedtest_users`, empty, you did it right.
### Configuring `telemetry.php`
Open telemetry_settings.php with notepad or a similar text editor.
Set your preferred database,
``$db_type="mysql";``
,
``$db_type="sqlite";``
or
``$db_type="postgresql";``
Set your preferred database,
``$db_type="mysql";``
,
``$db_type="sqlite";``
,
``$db_type="postgresql";``
or or
``$db_type="csv";``
If you choose to use Sqlite3, you must set the path to your database file:
```
php
$Sqlite_db_file
=
"../telemetry.sql"
;
...
...
@@ -352,7 +352,7 @@ $PostgreSql_hostname="DB_HOSTNAME"; //database address, usually localhost
$PostgreSql_databasename
=
"DB_NAME"
;
//the name of the database where you loaded telemetry_postgresql.sql
```
If you choose to use CSV file, you must set the Csv_File and timezone variables.
If you choose to use
a
CSV file, you must set the Csv_File and timezone variables.
```
php
$Csv_File
=
"myReportFile.csv"
;
$timezone
=
'Europe/Paris'
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment