Skip to content

Commit 554ccf0

Browse files
svenvg93gitbook-bot
authored andcommitted
GITBOOK-16: Update InfluxDB v2
1 parent eda828c commit 554ccf0

File tree

4 files changed

+22
-7
lines changed

4 files changed

+22
-7
lines changed
-18.6 KB
Binary file not shown.
129 KB
Loading

SUMMARY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
## ⚙️ Settings
2424

2525
* [Data Integrations](settings/data-platforms/README.md)
26-
* [InfluxDB2](settings/data-platforms/influxdb2.md)
26+
* [InfluxDB v2](settings/data-platforms/influxdb2.md)
2727
* [Notifications](settings/notifications/README.md)
2828
* [Database](settings/notifications/database.md)
2929
* [Mail](settings/notifications/mail.md)
Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,26 @@
1-
# InfluxDB2
1+
# InfluxDB v2
22

3-
{% hint style="info" %}
4-
At this time only InfluxDB2 is supported, InfluxDB(1) is planned
5-
{% endhint %}
6-
7-
<figure><img src="../../.gitbook/assets/influxdb2_settings.png" alt=""><figcaption><p>InfluxDB2 settings</p></figcaption></figure>
3+
After every test the Speedtest Tracker can send the results to InfluxDB for long term storage or custom visualizations.&#x20;
84

95
### Settings
106

7+
To configure Speedtest Tracker to send results to InfluxDB, set the following settings.
8+
119
<table><thead><tr><th width="127.33333333333331">Name</th><th width="206">Default</th><th>Description</th></tr></thead><tbody><tr><td>URL</td><td><code>blank</code></td><td>FQDN or IP address to the InfluxDB2 instance</td></tr><tr><td>Org</td><td><code>blank</code></td><td>Organization on which you created your bucket in</td></tr><tr><td>Bucket</td><td><code>speedtest-tracker</code></td><td>The name of the bucket you created in your org</td></tr><tr><td>Token</td><td><code>blank</code></td><td>API token that has access to write to the org and bucket listed above</td></tr></tbody></table>
10+
11+
<figure><img src="../../.gitbook/assets/influxdbv2_settings.png" alt=""><figcaption><p>Influxdb v2 Settings</p></figcaption></figure>
12+
13+
If you have a history of results, you can use the `Export current results` feature to export all data to InfluxDB.&#x20;
14+
15+
### Grafana Dashboard
16+
17+
You can use this community made Grafana Dashbaord to visualize your data.
18+
19+
{% embed url="https://github.com/masterwishx/Speedtest-Tracker-v2-InfluxDBv2" %}
20+
21+
### Data pattern
22+
23+
The Speedtest Tracker exports data in two categories: `Tag` and `Field`. Tags are used for filtering, while fields are used for displaying the data.
24+
25+
<table><thead><tr><th>Name</th><th>Data Type</th><th width="100"></th></tr></thead><tbody><tr><td><code>result_id</code></td><td><code>String</code></td><td><code>Tag</code></td></tr><tr><td><code>external_ip</code></td><td><code>String</code></td><td><code>Tag</code></td></tr><tr><td><code>isp</code></td><td><code>String</code></td><td><code>Tag</code></td></tr><tr><td><code>service</code></td><td><code>String</code></td><td><code>Tag</code></td></tr><tr><td><code>server_id</code></td><td><code>String</code></td><td><code>Tag</code></td></tr><tr><td><code>server_name</code></td><td><code>String</code></td><td><code>Tag</code></td></tr><tr><td><code>server_country</code></td><td><code>String</code></td><td><code>Tag</code></td></tr><tr><td><code>server_location</code></td><td><code>String</code></td><td><code>Tag</code></td></tr><tr><td><code>healthy</code></td><td><code>String</code></td><td><code>Tag</code></td></tr><tr><td><code>status</code></td><td><code>String</code></td><td><code>Tag</code></td></tr><tr><td><code>scheduled</code></td><td><code>String</code></td><td><code>Tag</code></td></tr><tr><td><code>download</code></td><td><code>init</code></td><td><code>Field</code></td></tr><tr><td><code>upload</code></td><td><code>init</code></td><td><code>Field</code></td></tr><tr><td><code>ping</code></td><td><code>float</code></td><td><code>Field</code></td></tr><tr><td><code>download_bits</code></td><td><code>int</code></td><td><code>Field</code></td></tr><tr><td><code>upload_bits</code></td><td><code>int</code></td><td><code>Field</code></td></tr><tr><td><code>download_jitter</code></td><td><code>float</code></td><td><code>Field</code></td></tr><tr><td><code>upload_jitter</code></td><td><code>float</code></td><td><code>Field</code></td></tr><tr><td><code>ping_jitter</code></td><td><code>float</code></td><td><code>Field</code></td></tr><tr><td><code>download_latency_avg</code></td><td><code>float</code></td><td><code>Field</code></td></tr><tr><td><code>download_latency_high</code></td><td><code>float</code></td><td><code>Field</code></td></tr><tr><td><code>download_latency_low</code></td><td><code>float</code></td><td><code>Field</code></td></tr><tr><td><code>upload_latency_avg</code></td><td><code>float</code></td><td><code>Field</code></td></tr><tr><td><code>upload_latency_high</code></td><td><code>float</code></td><td><code>Field</code></td></tr><tr><td><code>upload_latency_low</code></td><td><code>float</code></td><td><code>Field</code></td></tr><tr><td><code>packet_loss</code></td><td><code>float</code></td><td><code>Field</code></td></tr></tbody></table>
26+

0 commit comments

Comments
 (0)