Skip to content

Commit

Permalink
Merge pull request #8 from Anisetti-Jayathi-ML/main
Browse files Browse the repository at this point in the history
Release 0.1.6
  • Loading branch information
Deepa-Martin-ML authored Apr 24, 2024
2 parents d7bbd30 + 61d7589 commit ed6d3d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def read(filename):

setup(
name="sf_apm_lib",
version="0.1.5",
version="0.1.6",
url="https://github.com/snappyflow/py_snappyflow",
license='MIT',

Expand Down
2 changes: 2 additions & 0 deletions sf_apm_lib/snappyflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ def end_transaction(elasticapm, client, request, response):
"""
path_info = request.httprequest.environ.get("PATH_INFO")
name = path_info
if not hasattr(request, 'params'):
request.params = {}
for key in ["model", "method", "signal"]:
val = request.params.get(key)
if val and val not in name:
Expand Down

0 comments on commit ed6d3d0

Please sign in to comment.