ddapm-test-agent 1.36.0__py3-none-any.whl → 1.38.0__py3-none-any.whl

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ddapm-test-agent
3
- Version: 1.36.0
3
+ Version: 1.38.0
4
4
  Summary: Test agent for Datadog APM client libraries
5
5
  Home-page: https://github.com/Datadog/dd-apm-test-agent
6
6
  Author: Kyle Verhoog
@@ -20,14 +20,15 @@ Requires-Dist: msgpack
20
20
  Requires-Dist: requests
21
21
  Requires-Dist: typing_extensions
22
22
  Requires-Dist: yarl
23
- Requires-Dist: vcrpy
24
23
  Requires-Dist: requests-aws4auth
24
+ Requires-Dist: jinja2>=3.0.0
25
+ Requires-Dist: pyyaml
25
26
  Requires-Dist: opentelemetry-proto<1.37.0,>1.33.0
26
27
  Requires-Dist: protobuf>=3.19.0
27
28
  Requires-Dist: grpcio<2.0,>=1.66.2
28
29
  Requires-Dist: pywin32; sys_platform == "win32"
29
30
  Provides-Extra: testing
30
- Requires-Dist: ddtrace==3.11.0; extra == "testing"
31
+ Requires-Dist: ddtrace==3.15.0; extra == "testing"
31
32
  Requires-Dist: pytest; extra == "testing"
32
33
  Requires-Dist: riot==0.20.1; extra == "testing"
33
34
  Requires-Dist: PyYAML==6.0.3; extra == "testing"
@@ -67,8 +68,8 @@ The test agent can be installed from PyPI:
67
68
 
68
69
  pip install ddapm-test-agent
69
70
 
70
- # HTTP on port 8126, OTLP HTTP on port 4318, OTLP GRPC on port 4317
71
- ddapm-test-agent --port=8126 --otlp-http-port=4318 --otlp-grpc-port=4317
71
+ # HTTP on port 8126, OTLP HTTP on port 4318, OTLP GRPC on port 4317, with the web-ui enabled
72
+ ddapm-test-agent --port=8126 --otlp-http-port=4318 --otlp-grpc-port=4317 --web-ui-port=8080
72
73
 
73
74
  or from Docker:
74
75
 
@@ -171,6 +172,15 @@ The traces are normalized and output in JSON to a file. The following transforma
171
172
  - The span meta and metrics maps if empty are excluded.
172
173
 
173
174
 
175
+ #### Web UI
176
+
177
+ The test agent includes an optional and **experimental** Web UI that provides a dashboard for inspecting agent configuration, viewing received requests, exploring traces and snapshots, and managing tracer-flare and remote configuration.
178
+
179
+ The UI can be enabled with the `--web-ui-port PORT` command-line argument or by setting the `WEB_UI_PORT` environment variable.
180
+ Once enabled, the Web UI can be accessed at `http://localhost:PORT` (default port is `8080`).
181
+
182
+ There is also a maximum number of requests to store in memory to display in the UI, which can be configured with the `--max-requests` command-line argument or by setting the `MAX_REQUESTS` environment variable (default is `200` requests).
183
+
174
184
  ### Recording 3rd party API requests
175
185
 
176
186
  The test agent can be configured to proxy requests to select provider API endpoints, capturing real requests to
@@ -0,0 +1,40 @@
1
+ ddapm_test_agent/__init__.py,sha256=IEYMDM-xI0IoHYSYw4Eva5263puB_crrrbLstOCScRw,106
2
+ ddapm_test_agent/agent.py,sha256=zukbAE5gNp4BhMtc0zQoEGMO-XP5zx4NfJ2r2eBLwH4,93739
3
+ ddapm_test_agent/apmtelemetry.py,sha256=w_9-yUDh1dgox-FfLqeOHU2C14GcjOjen-_SVagiZrc,861
4
+ ddapm_test_agent/checks.py,sha256=pBa4YKZQVA8qaTVJ_XgMA6TmlUZNh99YOrCFJA7fwo0,6865
5
+ ddapm_test_agent/client.py,sha256=ViEmiRX9Y3SQ-KBhSc-FdzBmIVIe8Ij9jj-Q6VGyzLY,7359
6
+ ddapm_test_agent/cmd.py,sha256=UL8dVGBN4j77Nyx9EJrwE9LLmoPNgru81h9f1qrZLyc,2451
7
+ ddapm_test_agent/context.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
+ ddapm_test_agent/fmt.py,sha256=BarFfTI8bd_2gFBrRc40lKgJiUP3T7VMp4NQUeJ9ZRY,3675
9
+ ddapm_test_agent/integration.py,sha256=DbrPb6UvyIDSHcmKe6ZJVaieNeUXalb15yd0smvhgAA,265
10
+ ddapm_test_agent/logs.py,sha256=NDM-FPL52oCL1tL75XJ0xbBLIxyZkS99iZkQ-weOQns,2901
11
+ ddapm_test_agent/metrics.py,sha256=EZo7lSec2oAiH7tUqavKZ2MJM7TwbuFGE3AT3cXwmSM,3988
12
+ ddapm_test_agent/remoteconfig.py,sha256=nqpG5qrz-aB20Xi7SArY6HfztB_WXcjWH4qkNUjLaQs,3606
13
+ ddapm_test_agent/trace.py,sha256=t0OR8w3NcZK-EOOoadgPITiZqS5tAJGtxqLVGLEw7Kg,45816
14
+ ddapm_test_agent/trace_checks.py,sha256=bRg2eLKoHROXIFJRbujMUn0T3x1X8pZso-j8wXNomec,9972
15
+ ddapm_test_agent/trace_snapshot.py,sha256=vcz9uCgtpnInKl32nq1n62shhsVdMQPzOWfV3-RjTVM,23781
16
+ ddapm_test_agent/tracerflare.py,sha256=uoSjhPCOKZflgJn5JLv1Unh4gUdAR1-YbC9_1n1iH9w,954
17
+ ddapm_test_agent/tracestats.py,sha256=q_WQZnh2kXSSN3fRIBe_0jMYCBQHcaS3fZmJTge4lWc,2073
18
+ ddapm_test_agent/tracestats_snapshot.py,sha256=VsB6MVnHPjPWHVWnnDdCXJcVKL_izKXEf9lvJ0qbjNQ,3609
19
+ ddapm_test_agent/vcr_proxy.py,sha256=zbenLsLVBStVJlBFypf0fFuZcDLMpXDT-GJ1ts-tCE0,16654
20
+ ddapm_test_agent/web.py,sha256=D57xkEHuIMSi_ZVEIpxlYEbt_6cipAVhz1XneVWd8AU,59764
21
+ ddapm_test_agent/static/style.css,sha256=0sUpN62bhc3cuW89G39hzNBmIPaYc8MPBt_PvSn0zf0,29560
22
+ ddapm_test_agent/templates/base.html,sha256=Ie9ZvQXtv7YSR4SMFYUp5-eGs5sB_fxApU5pl1jUCCc,1010
23
+ ddapm_test_agent/templates/config.html,sha256=vIgIG79Wo95p5x8RL0Esr9SZ86Ueejt9OBmW_uev1-o,12440
24
+ ddapm_test_agent/templates/dashboard.html,sha256=__w19Iu273PWhFNBbwh9i9zOIq3JfPvOZB26HvWNhQE,3889
25
+ ddapm_test_agent/templates/macros.html,sha256=lIKnvkZmNaS5nr82CGWweMtQUl4uGrM1WMVURbhJXRA,1080
26
+ ddapm_test_agent/templates/requests.html,sha256=04IkKe1kfUnR6b1Lsmn95ovyEdF3fIU7AK3U4__myII,87085
27
+ ddapm_test_agent/templates/session_detail.html,sha256=-K-Y-0QLSCq-MHQxdUkgbn8LnI5Q1yMSX0xOHhd8Zew,1175
28
+ ddapm_test_agent/templates/sessions.html,sha256=d6_JcIBciXGrHngoMvZPThhj_tUjGg6NpWv-dpFWg3k,719
29
+ ddapm_test_agent/templates/snapshot_detail.html,sha256=m4LufoqV8wzpL-K7Ti2ikBY_fQWKzsRwxGSrSt-yrw4,15205
30
+ ddapm_test_agent/templates/snapshots.html,sha256=uWiYK9yDP9S88nxYNr0vLhYkWSzzj9CcxBb4UJxxs1Y,3271
31
+ ddapm_test_agent/templates/trace_detail.html,sha256=EqC6l_jo2Afrf511_-pEDgz6-TEogTjtjawMVxzw7G4,1235
32
+ ddapm_test_agent/templates/tracer_flares.html,sha256=wwq7Yaq7shXJineHT38A2tIHIEoirs5ryWu7raFco80,16272
33
+ ddapm_test_agent/templates/traces.html,sha256=-RB_Nc3NzQQXApw5Y37KbmkU4Z41ehBCGouRhgojaRo,805
34
+ ddapm_test_agent-1.38.0.dist-info/licenses/LICENSE.BSD3,sha256=J9S_Tq-hhvteDV2W8R0rqht5DZHkmvgdx3gnLZg4j6Q,1493
35
+ ddapm_test_agent-1.38.0.dist-info/licenses/LICENSE.apache2,sha256=5V2RruBHZQIcPyceiv51DjjvdvhgsgS4pnXAOHDuZkQ,11342
36
+ ddapm_test_agent-1.38.0.dist-info/METADATA,sha256=HD007tJKa_D9iaGptUMvkjj8CN4zlH5_Xr78VYv0v5g,30466
37
+ ddapm_test_agent-1.38.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
38
+ ddapm_test_agent-1.38.0.dist-info/entry_points.txt,sha256=ulayVs6YJ-0Ej2kxbwn39wOHDVXbyQgFgsbRQmXydcs,250
39
+ ddapm_test_agent-1.38.0.dist-info/top_level.txt,sha256=A9jiKOrrg6VjFAk-mtlSVYN4wr0VsZe58ehGR6IW47U,17
40
+ ddapm_test_agent-1.38.0.dist-info/RECORD,,
@@ -1,26 +0,0 @@
1
- ddapm_test_agent/__init__.py,sha256=IEYMDM-xI0IoHYSYw4Eva5263puB_crrrbLstOCScRw,106
2
- ddapm_test_agent/agent.py,sha256=PG22ZeuGiQoEoC7YN3ffedAbXXYwYnnCMbxBT0_pHdk,90104
3
- ddapm_test_agent/apmtelemetry.py,sha256=w_9-yUDh1dgox-FfLqeOHU2C14GcjOjen-_SVagiZrc,861
4
- ddapm_test_agent/checks.py,sha256=pBa4YKZQVA8qaTVJ_XgMA6TmlUZNh99YOrCFJA7fwo0,6865
5
- ddapm_test_agent/client.py,sha256=ViEmiRX9Y3SQ-KBhSc-FdzBmIVIe8Ij9jj-Q6VGyzLY,7359
6
- ddapm_test_agent/cmd.py,sha256=UL8dVGBN4j77Nyx9EJrwE9LLmoPNgru81h9f1qrZLyc,2451
7
- ddapm_test_agent/context.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
- ddapm_test_agent/fmt.py,sha256=BarFfTI8bd_2gFBrRc40lKgJiUP3T7VMp4NQUeJ9ZRY,3675
9
- ddapm_test_agent/integration.py,sha256=DbrPb6UvyIDSHcmKe6ZJVaieNeUXalb15yd0smvhgAA,265
10
- ddapm_test_agent/logs.py,sha256=NDM-FPL52oCL1tL75XJ0xbBLIxyZkS99iZkQ-weOQns,2901
11
- ddapm_test_agent/metrics.py,sha256=EZo7lSec2oAiH7tUqavKZ2MJM7TwbuFGE3AT3cXwmSM,3988
12
- ddapm_test_agent/remoteconfig.py,sha256=_QjYUKc3JF31DxdvISDXgslm5WVnYWAw0hyckWuLc1c,3606
13
- ddapm_test_agent/trace.py,sha256=t0OR8w3NcZK-EOOoadgPITiZqS5tAJGtxqLVGLEw7Kg,45816
14
- ddapm_test_agent/trace_checks.py,sha256=bRg2eLKoHROXIFJRbujMUn0T3x1X8pZso-j8wXNomec,9972
15
- ddapm_test_agent/trace_snapshot.py,sha256=vcz9uCgtpnInKl32nq1n62shhsVdMQPzOWfV3-RjTVM,23781
16
- ddapm_test_agent/tracerflare.py,sha256=uoSjhPCOKZflgJn5JLv1Unh4gUdAR1-YbC9_1n1iH9w,954
17
- ddapm_test_agent/tracestats.py,sha256=q_WQZnh2kXSSN3fRIBe_0jMYCBQHcaS3fZmJTge4lWc,2073
18
- ddapm_test_agent/tracestats_snapshot.py,sha256=VsB6MVnHPjPWHVWnnDdCXJcVKL_izKXEf9lvJ0qbjNQ,3609
19
- ddapm_test_agent/vcr_proxy.py,sha256=dEJ5xXxxvFHAbvN-OgXEaOlqz54Vh1k_1eQBgf146lU,7812
20
- ddapm_test_agent-1.36.0.dist-info/licenses/LICENSE.BSD3,sha256=J9S_Tq-hhvteDV2W8R0rqht5DZHkmvgdx3gnLZg4j6Q,1493
21
- ddapm_test_agent-1.36.0.dist-info/licenses/LICENSE.apache2,sha256=5V2RruBHZQIcPyceiv51DjjvdvhgsgS4pnXAOHDuZkQ,11342
22
- ddapm_test_agent-1.36.0.dist-info/METADATA,sha256=e9jH-GwRcURPTcuyTDkyXsrkIAGb4cNepAN8-pOCywg,29678
23
- ddapm_test_agent-1.36.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
24
- ddapm_test_agent-1.36.0.dist-info/entry_points.txt,sha256=ulayVs6YJ-0Ej2kxbwn39wOHDVXbyQgFgsbRQmXydcs,250
25
- ddapm_test_agent-1.36.0.dist-info/top_level.txt,sha256=A9jiKOrrg6VjFAk-mtlSVYN4wr0VsZe58ehGR6IW47U,17
26
- ddapm_test_agent-1.36.0.dist-info/RECORD,,