Skip to content

Commit

Permalink
[analytics] Send tracking metadata with request
Browse files Browse the repository at this point in the history
  • Loading branch information
jenny committed May 9, 2016
1 parent 5984376 commit dd3e141
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion loadimpact3/clients.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,8 @@ def _prepare_requests_kwargs(self, kwargs):
return kwargs

def _request(self, method, *args, **kwargs):
headers = {'user-agent': self.__class__.user_agent}
headers = {'user-agent': self.__class__.user_agent,
'x-load-impact-agent': self.user_agent}
if 'headers' not in kwargs:
kwargs['headers'] = headers
else:
Expand Down
2 changes: 1 addition & 1 deletion loadimpact3/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
limitations under the License.
"""

__version__ = '0.0.2'
__version__ = '0.0.3'

0 comments on commit dd3e141

Please sign in to comment.