Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

Commit

Permalink
Refactored
Browse files Browse the repository at this point in the history
  • Loading branch information
budtmo committed Feb 2, 2018
1 parent 033432b commit cf53547
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions Analytics.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Docker-Locust is provided free of charge for our internal and external users and
Docker-Locust's analytics record some shared information for every event:

- The Google Analytics version i.e. `1` (https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters#v)
- The Google Analytics anonymous IP setting is enabled i.e. `1` (https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters#aip)
- The Docker-Locust analytics tracking ID e.g. `UA-110383676-1` (https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters#tid)
- The release version of machine, e.g. `Linux_version_4.4.16-boot2docker_(gcc_version_4.9.2_(Debian_4.9.2-10)_)_#1_SMP_Fri_Jul_29_00:13:24_UTC_2016` This does not allow us to track individual users but does enable us to accurately measure user counts vs. event counts (https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters#cid)
- Docker-Locust analytics hit type, e.g. `event` (https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters#t)
Expand Down
3 changes: 2 additions & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Unless required by applicable law or agreed to in writing, software distributed
Additionally to Apache-2.0, when you fork this repo you are required to either remove our Google Analytics tracking ID: UA-110383676-1 or stop usage gathering completely.

## Data processing agreement
By using this software you agree that the following non-PII (non personally identifiable information) data will be collected, processed and used by Zalando SE for the purpose of improving our test infrastructure tools.
By using this software you agree that the following non-PII (non personally identifiable information) data will be collected, processed and used by Zalando SE for the purpose of improving our test infrastructure tools. Anonymisation with respect of the IP address means that only the first two octets of the IP address are collected.


By using this software you also grant us a nonexclusive, irrevocable, world-wide, perpetual royalty-free permission to use, modify and publish these data for all purposes, internally or publicly, including the right to sub-license said permission rights.
Expand All @@ -24,6 +24,7 @@ By using this software you also grant us a nonexclusive, irrevocable, world-wide
We collect, process and use the following data:

* Docker-Locust version
* Anonymized IP address (only first two octets)
* Country and city
* Date and time when Docker-Locust started
* User type, e.g. external or internal
Expand Down
1 change: 1 addition & 0 deletions src/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ def send_usage_statistics(target_host):

payload = {
'v': '1', # API Version.
'aip': 1,
'tid': ga_tracking_id,
'cid': user,
't': 'event', # Event hit type.
Expand Down

0 comments on commit cf53547

Please sign in to comment.