genai-otel-instrument 0.1.24__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.
Files changed (69) hide show
  1. genai_otel/__init__.py +132 -0
  2. genai_otel/__version__.py +34 -0
  3. genai_otel/auto_instrument.py +602 -0
  4. genai_otel/cli.py +92 -0
  5. genai_otel/config.py +333 -0
  6. genai_otel/cost_calculator.py +467 -0
  7. genai_otel/cost_enriching_exporter.py +207 -0
  8. genai_otel/cost_enrichment_processor.py +174 -0
  9. genai_otel/evaluation/__init__.py +76 -0
  10. genai_otel/evaluation/bias_detector.py +364 -0
  11. genai_otel/evaluation/config.py +261 -0
  12. genai_otel/evaluation/hallucination_detector.py +525 -0
  13. genai_otel/evaluation/pii_detector.py +356 -0
  14. genai_otel/evaluation/prompt_injection_detector.py +262 -0
  15. genai_otel/evaluation/restricted_topics_detector.py +316 -0
  16. genai_otel/evaluation/span_processor.py +962 -0
  17. genai_otel/evaluation/toxicity_detector.py +406 -0
  18. genai_otel/exceptions.py +17 -0
  19. genai_otel/gpu_metrics.py +516 -0
  20. genai_otel/instrumentors/__init__.py +71 -0
  21. genai_otel/instrumentors/anthropic_instrumentor.py +134 -0
  22. genai_otel/instrumentors/anyscale_instrumentor.py +27 -0
  23. genai_otel/instrumentors/autogen_instrumentor.py +394 -0
  24. genai_otel/instrumentors/aws_bedrock_instrumentor.py +94 -0
  25. genai_otel/instrumentors/azure_openai_instrumentor.py +69 -0
  26. genai_otel/instrumentors/base.py +919 -0
  27. genai_otel/instrumentors/bedrock_agents_instrumentor.py +398 -0
  28. genai_otel/instrumentors/cohere_instrumentor.py +140 -0
  29. genai_otel/instrumentors/crewai_instrumentor.py +311 -0
  30. genai_otel/instrumentors/dspy_instrumentor.py +661 -0
  31. genai_otel/instrumentors/google_ai_instrumentor.py +310 -0
  32. genai_otel/instrumentors/groq_instrumentor.py +106 -0
  33. genai_otel/instrumentors/guardrails_ai_instrumentor.py +510 -0
  34. genai_otel/instrumentors/haystack_instrumentor.py +503 -0
  35. genai_otel/instrumentors/huggingface_instrumentor.py +399 -0
  36. genai_otel/instrumentors/hyperbolic_instrumentor.py +236 -0
  37. genai_otel/instrumentors/instructor_instrumentor.py +425 -0
  38. genai_otel/instrumentors/langchain_instrumentor.py +340 -0
  39. genai_otel/instrumentors/langgraph_instrumentor.py +328 -0
  40. genai_otel/instrumentors/llamaindex_instrumentor.py +36 -0
  41. genai_otel/instrumentors/mistralai_instrumentor.py +315 -0
  42. genai_otel/instrumentors/ollama_instrumentor.py +197 -0
  43. genai_otel/instrumentors/ollama_server_metrics_poller.py +336 -0
  44. genai_otel/instrumentors/openai_agents_instrumentor.py +291 -0
  45. genai_otel/instrumentors/openai_instrumentor.py +260 -0
  46. genai_otel/instrumentors/pydantic_ai_instrumentor.py +362 -0
  47. genai_otel/instrumentors/replicate_instrumentor.py +87 -0
  48. genai_otel/instrumentors/sambanova_instrumentor.py +196 -0
  49. genai_otel/instrumentors/togetherai_instrumentor.py +146 -0
  50. genai_otel/instrumentors/vertexai_instrumentor.py +106 -0
  51. genai_otel/llm_pricing.json +1676 -0
  52. genai_otel/logging_config.py +45 -0
  53. genai_otel/mcp_instrumentors/__init__.py +14 -0
  54. genai_otel/mcp_instrumentors/api_instrumentor.py +144 -0
  55. genai_otel/mcp_instrumentors/base.py +105 -0
  56. genai_otel/mcp_instrumentors/database_instrumentor.py +336 -0
  57. genai_otel/mcp_instrumentors/kafka_instrumentor.py +31 -0
  58. genai_otel/mcp_instrumentors/manager.py +139 -0
  59. genai_otel/mcp_instrumentors/redis_instrumentor.py +31 -0
  60. genai_otel/mcp_instrumentors/vector_db_instrumentor.py +265 -0
  61. genai_otel/metrics.py +148 -0
  62. genai_otel/py.typed +2 -0
  63. genai_otel/server_metrics.py +197 -0
  64. genai_otel_instrument-0.1.24.dist-info/METADATA +1404 -0
  65. genai_otel_instrument-0.1.24.dist-info/RECORD +69 -0
  66. genai_otel_instrument-0.1.24.dist-info/WHEEL +5 -0
  67. genai_otel_instrument-0.1.24.dist-info/entry_points.txt +2 -0
  68. genai_otel_instrument-0.1.24.dist-info/licenses/LICENSE +680 -0
  69. genai_otel_instrument-0.1.24.dist-info/top_level.txt +1 -0
@@ -0,0 +1,69 @@
1
+ genai_otel/__init__.py,sha256=u1SH2RyS2wkVmqaaAH2_tTn7UXYDAVM-ThHINZk2CBw,4603
2
+ genai_otel/__version__.py,sha256=IV4a2R7tlzuACf6FAyPEbprLKNroeE-n_UPSKi1QJSc,706
3
+ genai_otel/auto_instrument.py,sha256=5Zj-pKqP3Fv6aa-nbfTZFg1FyqiTAQO2_SpCPZwRRGE,23225
4
+ genai_otel/cli.py,sha256=mbhaTU0WIAkvPKdIing-guIxPDjEKQftChWQUtPFzkY,3170
5
+ genai_otel/config.py,sha256=CDk4S0xFV-bdaG1kj8edXb1RVlC2StrGgPnU8jVdAeA,13032
6
+ genai_otel/cost_calculator.py,sha256=BOW-TC41lJ1GcL4hIGZ4NySyV8aro4_juMOe2IqtJ-A,18115
7
+ genai_otel/cost_enriching_exporter.py,sha256=iED7njK21UBKlxRElGfqSs66gMkzDCr8fm-4ZkJBiLU,7874
8
+ genai_otel/cost_enrichment_processor.py,sha256=fQoVosBUgshD9ZRxWpwqqPWYnyhrvKBTJAW0S2H7t1E,7090
9
+ genai_otel/exceptions.py,sha256=gIRvbI7c4V-M-PG9jS0o4ESRwHUWCm6DVihjfyJI1yg,429
10
+ genai_otel/gpu_metrics.py,sha256=ACmqTgH2KeW2Y6JXQEnP0BGJm4oiwEbFtMjQxZsgr3g,22175
11
+ genai_otel/llm_pricing.json,sha256=21gg1QM5N6vrDwHM69rc8okwK3XNrz_FHSHJMech1oU,44209
12
+ genai_otel/logging_config.py,sha256=S8apGf93nBjoi_Bhce-LxwTwGTaJUeduPXKiWZ5SIa8,1418
13
+ genai_otel/metrics.py,sha256=Vngwtc1MAMAE7JVpbT_KfiCQ5TdIAKIs_0oztjJdDTg,2671
14
+ genai_otel/py.typed,sha256=WJtVGe64tcQSssSo4RD7zCf_3u7X2BmFCWDCroWOcaQ,88
15
+ genai_otel/server_metrics.py,sha256=mMtnU56WHbUv4eJvFvR21Nk13PKjNku899aGZhifV7s,6571
16
+ genai_otel/evaluation/__init__.py,sha256=6ErPIBWjRAsGWvbFcCvq3eddtffpaYxCxoKL8hU7yos,2250
17
+ genai_otel/evaluation/bias_detector.py,sha256=3Cov-kv5UPHWuUfYOq4b-ErrCb6RGQyLjOxrQb3YwaY,13916
18
+ genai_otel/evaluation/config.py,sha256=491HkUp3I9RG4Rkks97N6k6tc8ZCqIiySnm9W-c7AQo,8517
19
+ genai_otel/evaluation/hallucination_detector.py,sha256=8dpffB0ZQumbgd_tsx9Pah4K6kPwySB0zS64yCxPLjY,19188
20
+ genai_otel/evaluation/pii_detector.py,sha256=mFBss2DBDoXZKddqobF9O6rOqZL4OnhIWktKLyDwMP8,12630
21
+ genai_otel/evaluation/prompt_injection_detector.py,sha256=ZmTPFNdqtAynhAWkWsW6D_b3bL6BKzBQAkksoVsChG8,9794
22
+ genai_otel/evaluation/restricted_topics_detector.py,sha256=hALZ97RZ7P8gZoQOju8XnaAuySIpxypT5q9Ivox4UgE,12600
23
+ genai_otel/evaluation/span_processor.py,sha256=aFT_6cgXkSYPe5sOfKZA3DjbRAutvbR6vf2Tm_uDTA8,40496
24
+ genai_otel/evaluation/toxicity_detector.py,sha256=6SkzJJdgEIn7pXjxP6rzePqGIyLe04YlcaYdn8yV2WY,15182
25
+ genai_otel/instrumentors/__init__.py,sha256=BzHsadDZMPHvI7MsbM-pagZkQyLM1xdedaIhIuJEHoY,2875
26
+ genai_otel/instrumentors/anthropic_instrumentor.py,sha256=3koeXSJccALdZiRibavwQt8_lrXYwEhdWfA3dnCo_ng,4837
27
+ genai_otel/instrumentors/anyscale_instrumentor.py,sha256=WUcQVDK8W76gkrAT_TLgzFd7NY42Rn6x0irT7VV2bbI,774
28
+ genai_otel/instrumentors/autogen_instrumentor.py,sha256=RTdkoF8kYq5rofWbk2PjPXt-1gKY8rMlxGdaK46s6gU,14513
29
+ genai_otel/instrumentors/aws_bedrock_instrumentor.py,sha256=W469XxNVsb6eDjerk3SkjZFZEOIzH_HkBkmqqSCRBhU,3670
30
+ genai_otel/instrumentors/azure_openai_instrumentor.py,sha256=HumsAAtW9YzbcyBCrIGhE5KvZ6-mxSbsEoI_W0JU7xg,2428
31
+ genai_otel/instrumentors/base.py,sha256=TbRNkz1vSzYdkBHkCSlTmY93DcJ9Uw062yW85z8kGWs,45461
32
+ genai_otel/instrumentors/bedrock_agents_instrumentor.py,sha256=o9t1JmxC3NolikX3X-UquuxHVLJ6nDCTyFp7nWo17yo,16061
33
+ genai_otel/instrumentors/cohere_instrumentor.py,sha256=fsKvHaWvMRAGRbOtybVJVVz-FS_-wmgTJo3Q_F86BOY,5074
34
+ genai_otel/instrumentors/crewai_instrumentor.py,sha256=LeBfyVPrrGsk1YPgVSFE4No0OW-eO__pHJyOubjVaiA,11894
35
+ genai_otel/instrumentors/dspy_instrumentor.py,sha256=aLerCabahx-wHzfdPk3c6nNmInOwPXQUNPKMGwOoN0c,23142
36
+ genai_otel/instrumentors/google_ai_instrumentor.py,sha256=GU63Hyv01MFpqqKs89SlBo9GkKLHkHUEoYyRqjs2Li8,11792
37
+ genai_otel/instrumentors/groq_instrumentor.py,sha256=bCm7IDmDyvg0-XuzcCSO5xf9QvDlQGwb7bdQ_ooS6QI,3398
38
+ genai_otel/instrumentors/guardrails_ai_instrumentor.py,sha256=i5xKs2nJ2BJlv1WBumowp208Dw5h8mFgqYWVyRuvZcE,18310
39
+ genai_otel/instrumentors/haystack_instrumentor.py,sha256=JDEds3uK_WRq6BfDknr3CM7JptpqsNGGXES7Z0A_W4g,19166
40
+ genai_otel/instrumentors/huggingface_instrumentor.py,sha256=wvolJZnq9YKfJsvNvUnoOpL1tbeGy0DuxVmmmI1_BoA,17815
41
+ genai_otel/instrumentors/hyperbolic_instrumentor.py,sha256=cS3XZJodeAbTkhj16RuRrPtpxUEEsRgPayI3-KgNYEo,9144
42
+ genai_otel/instrumentors/instructor_instrumentor.py,sha256=sY_zYjCruiZG7x1HPt-bg4YUV544UE54_3ocVB_3tSo,14850
43
+ genai_otel/instrumentors/langchain_instrumentor.py,sha256=i8IU71_5GH5CjcUSr2YlGAvzg9A-AszOuNOsMGrEp7A,13865
44
+ genai_otel/instrumentors/langgraph_instrumentor.py,sha256=AQy8y4cg1_EHOBE_N9hYRZndpuIGrApREQNFZCNBwZE,12503
45
+ genai_otel/instrumentors/llamaindex_instrumentor.py,sha256=zZ1J7W4yQo1Ur6Y5y0UXpDdEx9oDnmsqNIin5Jrv9os,1206
46
+ genai_otel/instrumentors/mistralai_instrumentor.py,sha256=Blo8X4WV-xQe-xF-jhkaGPavkgayANf1F3zCTzuhuL0,12478
47
+ genai_otel/instrumentors/ollama_instrumentor.py,sha256=7pXOIDmt-DUBoIQFPOh4BLrkXOPjiFWVdsocBtTfXSU,7312
48
+ genai_otel/instrumentors/ollama_server_metrics_poller.py,sha256=LLCcrD1RsixtVSGNmm5SJyGytHQOaFHY4jAYg7uoQlQ,12166
49
+ genai_otel/instrumentors/openai_agents_instrumentor.py,sha256=NeOoenbaPPCVD4h1qFdqPul0KhAR1umFF6O49A8bPJ4,11015
50
+ genai_otel/instrumentors/openai_instrumentor.py,sha256=EzX4J-26Hk_EGBYuGXSBeice-t56wD-9gr6x1L1oOpc,9980
51
+ genai_otel/instrumentors/pydantic_ai_instrumentor.py,sha256=GkjO1apcK-a74MWV4RMkXkS1QrNv5l3a2UHC5DptQoU,13921
52
+ genai_otel/instrumentors/replicate_instrumentor.py,sha256=-G_Tj0VkAfg-cOKvnk4G56eJiADjyIgv6xEgyAWlFdw,3028
53
+ genai_otel/instrumentors/sambanova_instrumentor.py,sha256=pEvij355Ls7huY5pUQpaxAHgOuo-6WLdH88fmWxZe9k,6655
54
+ genai_otel/instrumentors/togetherai_instrumentor.py,sha256=--r0YhCBIrpgyFiUwwc1LFTPoxAAXXV4lOAD66laqEY,5414
55
+ genai_otel/instrumentors/vertexai_instrumentor.py,sha256=F0-z0YXANHqccTT3SHbr7ggj3l4ebI_WwubIkPYPa68,4058
56
+ genai_otel/mcp_instrumentors/__init__.py,sha256=0yVx5bwFxCmI72BORDKLgkn0t5h_xRXvtjUskVE60eo,512
57
+ genai_otel/mcp_instrumentors/api_instrumentor.py,sha256=tAogtajeq4zjaM4-05XYSOzD3ig2mXX9_xFyGHL4auQ,5690
58
+ genai_otel/mcp_instrumentors/base.py,sha256=oF_GyGZPEDS-NapIYzM_-TV1KYJeVlXXFzxzs9sMsqU,4044
59
+ genai_otel/mcp_instrumentors/database_instrumentor.py,sha256=zjyIIme81--WYe7q8FwxYsDhjUcXaNoLZj7tqmuAX-8,13256
60
+ genai_otel/mcp_instrumentors/kafka_instrumentor.py,sha256=QJYJC1rvo_zZAIaw-cp_IcpG-EhUqkCfZ4TIZzZ2hK8,987
61
+ genai_otel/mcp_instrumentors/manager.py,sha256=1Pj5lkEOL8Yq1Oeud4ZExN6k6NLIVtTzKnFLNiFdJvw,5895
62
+ genai_otel/mcp_instrumentors/redis_instrumentor.py,sha256=KUbs0dMyfMzU4T0SS8u43I5fvr09lcBBM92I3KCsYUw,943
63
+ genai_otel/mcp_instrumentors/vector_db_instrumentor.py,sha256=2vhnk4PGpfYKr-XlRbnCIOap4BPKHOn--fh-ai2YXlM,9994
64
+ genai_otel_instrument-0.1.24.dist-info/licenses/LICENSE,sha256=upRpn6Eg5iN_1y_TrvgUKxNQdoYy7OY2KybhHTOwTMc,35375
65
+ genai_otel_instrument-0.1.24.dist-info/METADATA,sha256=cYAtynylMcbf5-tG5yia4M06GWcJa4YiIVVhqVS44fw,58170
66
+ genai_otel_instrument-0.1.24.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
67
+ genai_otel_instrument-0.1.24.dist-info/entry_points.txt,sha256=E9UqoHA_fq69yNGAY3SRYf5HH94sZT5DiDueiU1v0KM,57
68
+ genai_otel_instrument-0.1.24.dist-info/top_level.txt,sha256=cvCm8PUwvYUSQKruk-x6S-_YuDyhOBk8gD910XICcbg,11
69
+ genai_otel_instrument-0.1.24.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ genai-instrument = genai_otel.cli:main