Skip to content

Commit

Permalink
Merge pull request #65 from mohansriharsha/master
Browse files Browse the repository at this point in the history
added num_req in logs
  • Loading branch information
Ram Idavalapati authored Aug 10, 2018
2 parents ce61357 + b04edd2 commit 1cd5941
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ deploy:
- LICENSE
- kwikapi/api.py
- kwikapi/__init__.py
name: kwikapi-0.4.2
tag_name: 0.4.2
name: kwikapi-0.4.3
tag_name: 0.4.3
on:
repo: deep-compute/kwikapi
- provider: pypi
Expand Down
3 changes: 2 additions & 1 deletion kwikapi/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,8 @@ def handle_request(self, request):
method=rinfo.method, compute_time=tcompute, serialize_time=t.value,
deserialize_time=rinfo.time_deserialize,
__params=get_loggable_params(request.fn_params or {}),
protocol=request.protocol, type='logged_metric', **request.metrics)
protocol=request.protocol, type='logged_metric', num_req=1,
**request.metrics)

except Exception as e:
message = e.message if hasattr(e, 'message') else str(e)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from setuptools import setup, find_packages

version = '0.4.2'
version = '0.4.3'
setup(
name="kwikapi",
version=version,
Expand Down

0 comments on commit 1cd5941

Please sign in to comment.