whatap-python 1.7.2__tar.gz → 1.7.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of whatap-python might be problematic. Click here for more details.

Files changed (129) hide show
  1. {whatap_python-1.7.2 → whatap_python-1.7.3}/PKG-INFO +1 -1
  2. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/agent/darwin/amd64/whatap_python +0 -0
  3. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/agent/darwin/arm64/whatap_python +0 -0
  4. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/agent/linux/amd64/whatap_python +0 -0
  5. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/agent/linux/arm64/whatap_python +0 -0
  6. whatap_python-1.7.3/whatap/build.py +4 -0
  7. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/net/packet_enum.py +1 -1
  8. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/trace/mod/application_fastapi.py +8 -8
  9. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/trace/mod/application_wsgi.py +2 -3
  10. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap_python.egg-info/PKG-INFO +1 -1
  11. whatap_python-1.7.2/whatap/build.py +0 -4
  12. {whatap_python-1.7.2 → whatap_python-1.7.3}/README.md +0 -0
  13. {whatap_python-1.7.2 → whatap_python-1.7.3}/setup.cfg +0 -0
  14. {whatap_python-1.7.2 → whatap_python-1.7.3}/setup.py +0 -0
  15. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/LICENSE +0 -0
  16. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/README.rst +0 -0
  17. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/__init__.py +0 -0
  18. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/__main__.py +0 -0
  19. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/bootstrap/__init__.py +0 -0
  20. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/bootstrap/sitecustomize.py +0 -0
  21. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/conf/__init__.py +0 -0
  22. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/conf/configuration.py +0 -0
  23. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/conf/configure.py +0 -0
  24. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/conf/license.py +0 -0
  25. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/control/__init__.py +0 -0
  26. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/counter/__init__.py +0 -0
  27. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/counter/counter_manager.py +0 -0
  28. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/counter/tasks/__init__.py +0 -0
  29. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/counter/tasks/openfiledescriptor.py +0 -0
  30. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/io/__init__.py +0 -0
  31. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/io/data_inputx.py +0 -0
  32. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/io/data_outputx.py +0 -0
  33. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/net/__init__.py +0 -0
  34. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/net/async_sender.py +0 -0
  35. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/net/packet_type_enum.py +0 -0
  36. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/net/param_def.py +0 -0
  37. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/net/stackhelper.py +0 -0
  38. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/net/udp_session.py +0 -0
  39. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/net/udp_thread.py +0 -0
  40. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/pack/__init__.py +0 -0
  41. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/pack/logSinkPack.py +0 -0
  42. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/pack/pack.py +0 -0
  43. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/pack/pack_enum.py +0 -0
  44. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/pack/tagCountPack.py +0 -0
  45. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/scripts/__init__.py +0 -0
  46. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/trace/__init__.py +0 -0
  47. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/trace/mod/__init__.py +0 -0
  48. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/trace/mod/amqp_kombu.py +0 -0
  49. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/trace/mod/amqp_pika.py +0 -0
  50. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/trace/mod/application_bottle.py +0 -0
  51. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/trace/mod/application_celery.py +0 -0
  52. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/trace/mod/application_cherrypy.py +0 -0
  53. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/trace/mod/application_django.py +0 -0
  54. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/trace/mod/application_django_asgi.py +0 -0
  55. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/trace/mod/application_django_py3.py +0 -0
  56. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/trace/mod/application_flask.py +0 -0
  57. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/trace/mod/application_frappe.py +0 -0
  58. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/trace/mod/application_graphql.py +0 -0
  59. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/trace/mod/application_nameko.py +0 -0
  60. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/trace/mod/application_tornado.py +0 -0
  61. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/trace/mod/database_cxoracle.py +0 -0
  62. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/trace/mod/database_mongo.py +0 -0
  63. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/trace/mod/database_mysql.py +0 -0
  64. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/trace/mod/database_postgresql.py +0 -0
  65. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/trace/mod/database_redis.py +0 -0
  66. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/trace/mod/database_toolkit.py +0 -0
  67. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/trace/mod/email_smtp.py +0 -0
  68. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/trace/mod/httpc_django.py +0 -0
  69. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/trace/mod/httpc_httplib.py +0 -0
  70. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/trace/mod/httpc_requests.py +0 -0
  71. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/trace/mod/httpc_urllib3.py +0 -0
  72. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/trace/mod/logging.py +0 -0
  73. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/trace/mod/plugin.py +0 -0
  74. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/trace/simple_trace_context.py +0 -0
  75. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/trace/trace_context.py +0 -0
  76. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/trace/trace_context_manager.py +0 -0
  77. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/trace/trace_import.py +0 -0
  78. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/trace/trace_module_definition.py +0 -0
  79. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/util/__init__.py +0 -0
  80. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/util/bit_util.py +0 -0
  81. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/util/cardinality/__init__.py +0 -0
  82. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/util/cardinality/hyperloglog.py +0 -0
  83. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/util/cardinality/murmurhash.py +0 -0
  84. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/util/cardinality/registerset.py +0 -0
  85. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/util/compare_util.py +0 -0
  86. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/util/date_util.py +0 -0
  87. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/util/debug_util.py +0 -0
  88. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/util/escape_literal_sql.py +0 -0
  89. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/util/hash_util.py +0 -0
  90. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/util/hexa32.py +0 -0
  91. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/util/int_set.py +0 -0
  92. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/util/ip_util.py +0 -0
  93. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/util/keygen.py +0 -0
  94. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/util/linked_list.py +0 -0
  95. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/util/linked_map.py +0 -0
  96. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/util/metering_util.py +0 -0
  97. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/util/request_double_queue.py +0 -0
  98. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/util/request_queue.py +0 -0
  99. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/util/string_util.py +0 -0
  100. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/util/throttle_util.py +0 -0
  101. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/util/userid_util.py +0 -0
  102. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/value/__init__.py +0 -0
  103. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/value/blob_value.py +0 -0
  104. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/value/boolean_value.py +0 -0
  105. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/value/decimal_value.py +0 -0
  106. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/value/double_summary.py +0 -0
  107. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/value/double_value.py +0 -0
  108. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/value/float_array.py +0 -0
  109. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/value/float_value.py +0 -0
  110. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/value/int_array.py +0 -0
  111. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/value/ip4_value.py +0 -0
  112. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/value/list_value.py +0 -0
  113. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/value/long_array.py +0 -0
  114. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/value/long_summary.py +0 -0
  115. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/value/map_value.py +0 -0
  116. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/value/null_value.py +0 -0
  117. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/value/number_value.py +0 -0
  118. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/value/summary_value.py +0 -0
  119. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/value/text_array.py +0 -0
  120. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/value/text_hash_value.py +0 -0
  121. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/value/text_value.py +0 -0
  122. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/value/value.py +0 -0
  123. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/value/value_enum.py +0 -0
  124. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap/whatap.conf +0 -0
  125. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap_python.egg-info/SOURCES.txt +0 -0
  126. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap_python.egg-info/dependency_links.txt +0 -0
  127. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap_python.egg-info/entry_points.txt +0 -0
  128. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap_python.egg-info/not-zip-safe +0 -0
  129. {whatap_python-1.7.2 → whatap_python-1.7.3}/whatap_python.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: whatap-python
3
- Version: 1.7.2
3
+ Version: 1.7.3
4
4
  Summary: Monitoring and Profiling Service
5
5
  Home-page: https://www.whatap.io
6
6
  Author: whatap
@@ -0,0 +1,4 @@
1
+ app = 'Python'
2
+ name = 'whatap-python'
3
+ version = '1.7.3'
4
+ release_date = '20241219'
@@ -5,7 +5,7 @@ class PacketEnum(object):
5
5
 
6
6
  SERVER = "127.0.0.1"
7
7
  PORT = 6600
8
- PACKET_VERSION = 20101
8
+ PACKET_VERSION = 20102
9
9
 
10
10
  # PACKET_HEADER
11
11
  PACKET_HEADER_TYPE_POS = 0
@@ -171,23 +171,23 @@ def interceptor(fn, dependant, *args, **kwargs):
171
171
  ctx.userid, ctx._rawuserid = getUserId(environ, ctx.remoteIp)
172
172
 
173
173
  mstt = environ.get('{}'.format(
174
- conf._trace_mtrace_caller_key.upper().replace('-', '_')), '')
174
+ conf._trace_mtrace_caller_key), '')
175
175
 
176
176
  if mstt:
177
177
  ctx.setTransfer(mstt)
178
178
  if conf.stat_mtrace_enabled:
179
179
  val = environ.get('{}'.format(
180
- conf._trace_mtrace_info_key.upper().replace('-', '_')), '')
180
+ conf._trace_mtrace_info_key), '')
181
181
  if val and len(val):
182
182
  ctx.setTransferInfo(val)
183
183
  pass
184
184
 
185
185
  myid = environ.get('{}'.format(
186
- conf._trace_mtrace_callee_key.upper().replace('-', '_')), '')
186
+ conf._trace_mtrace_callee_key), '')
187
187
  if myid:
188
188
  ctx.setTxid(myid)
189
189
  caller_poid = environ.get('{}'.format(
190
- conf._trace_mtrace_caller_poid_key.upper().replace('-', '_')), '')
190
+ conf._trace_mtrace_caller_poid_key), '')
191
191
 
192
192
  if caller_poid:
193
193
  ctx.mcaller_poid = caller_poid
@@ -261,23 +261,23 @@ async def interceptor_async(fn, dependant, *args, **kwargs):
261
261
  ctx.userid, ctx._rawuserid = getUserId(environ, ctx.remoteIp)
262
262
 
263
263
  mstt = environ.get('{}'.format(
264
- conf._trace_mtrace_caller_key.upper().replace('-', '_')), '')
264
+ conf._trace_mtrace_caller_key), '')
265
265
 
266
266
  if mstt:
267
267
  ctx.setTransfer(mstt)
268
268
  if conf.stat_mtrace_enabled:
269
269
  val = environ.get('{}'.format(
270
- conf._trace_mtrace_info_key.upper().replace('-', '_')), '')
270
+ conf._trace_mtrace_info_key), '')
271
271
  if val and len(val):
272
272
  ctx.setTransferInfo(val)
273
273
  pass
274
274
 
275
275
  myid = environ.get('{}'.format(
276
- conf._trace_mtrace_callee_key.upper().replace('-', '_')), '')
276
+ conf._trace_mtrace_callee_key), '')
277
277
  if myid:
278
278
  ctx.setTxid(myid)
279
279
  caller_poid = environ.get('{}'.format(
280
- conf._trace_mtrace_caller_poid_key.upper().replace('-', '_')), '')
280
+ conf._trace_mtrace_caller_poid_key), '')
281
281
 
282
282
  if caller_poid:
283
283
  ctx.mcaller_poid = caller_poid
@@ -459,10 +459,9 @@ def interceptor_db_execute(fn, *args, **kwargs):
459
459
  except Exception as e:
460
460
  interceptor_step_error(e)
461
461
  finally:
462
- datas = [ctx.lctx.get('dbc', ''), query]
462
+ datas = [ctx.lctx.get('dbc', ''), query, str(self.rowcount)]
463
463
  ctx.elapsed = DateUtil.nowSystem() - start_time
464
- async_sender.send_packet(PacketTypeEnum.TX_SQL, ctx,
465
- datas)
464
+ async_sender.send_packet(PacketTypeEnum.TX_SQL, ctx, datas)
466
465
  count = self.rowcount
467
466
  if count > -1:
468
467
  desc = '{0}: {1}'.format('Fetch count', count)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: whatap-python
3
- Version: 1.7.2
3
+ Version: 1.7.3
4
4
  Summary: Monitoring and Profiling Service
5
5
  Home-page: https://www.whatap.io
6
6
  Author: whatap
@@ -1,4 +0,0 @@
1
- app = 'Python'
2
- name = 'whatap-python'
3
- version = '1.7.2'
4
- release_date = '20241112'
File without changes
File without changes
File without changes