Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
Speedtest
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
noc
Speedtest
Commits
695f063c
Commit
695f063c
authored
7 years ago
by
dosse91
Browse files
Options
Downloads
Patches
Plain Diff
Revert "Changes"
This reverts commit
09640bc9
.
parent
09640bc9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc.md
+7
-9
7 additions, 9 deletions
doc.md
with
7 additions
and
9 deletions
doc.md
+
7
−
9
View file @
695f063c
# HTML5 Speedtest
> by Federico Dossena
> Version 4.3.
2
,
September
5 2017
> Version 4.3.
1
,
August 2
5 2017
> [https://github.com/adolfintel/speedtest/](https://github.com/adolfintel/speedtest/)
...
...
@@ -249,23 +249,21 @@ 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 or SQLite
.
Telemetry currently requires PHP and
MySQL
.
To set up the telemetry, we need to do 4 things:
*
copy
`telemetry.php`
*
edit
`telemetry.php`
to add your database
setting
s
*
edit
`telemetry.php`
to add your database
access credential
s
*
create the database
*
enable telemetry
### Creating the database
This step is
only
for
MySQL
. Skip this if you want to use SQLite.
At the moment,
only MySQL
is supported.
Log into your database using phpMyAdmin or a similar software and import
`telemetry.sql`
into an empty database.
If you see a table called
`speedtest_users`
, empty, you did it right.
### Configuring `telemetry.php`
Open telemetry.php with notepad or a similar text editor.
Set your preferred database,
``$db_type="mysql";``
or
``$db_type="sqlite";``
If you choose to use MySQL, you must also add your database credentials:
```
php
Open telemetry.php with notepad or a similar text editor, and insert your database access credentials
```
$MySql_username="USERNAME"; //your database username
$MySql_password="PASSWORD"; //your database password
$MySql_hostname="DB_HOSTNAME"; //database address, usually localhost\
...
...
@@ -280,7 +278,7 @@ There are 3 levels:
*
`full`
: same as above, but also collects a log (10-150 Kb each, not recommended)
Example:
```
js
```
w.postMessage('start {"telemetry_level":"basic"}')
```
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment