File tree Expand file tree Collapse file tree 7 files changed +27
-130
lines changed 
opentelemetry-instrumentation-langchain 
src/opentelemetry/instrumentation/langchain 
opentelemetry-instrumentation-ollama 
src/opentelemetry/instrumentation/ollama Expand file tree Collapse file tree 7 files changed +27
-130
lines changed   Load Diff This file was deleted. 
Original file line number Diff line number Diff line change 11OpenTelemetry Langchain Instrumentation
22======================================== 
33
4- 该包为 Langchain 框架提供  OpenTelemetry 插桩支持。 
4+ This package provides  OpenTelemetry instrumentation support for the Langchain framework. 
55
6- 安装 
7- ---- 
6+ Installation 
7+ ------------  
88
99::
1010
1111    pip install tapm-instrumentation-langchain 
1212
13- 使用方法 
14- --------  
13+ Usage 
14+ ----- 
1515
1616.. code-block :: python 
1717
1818    from  opentelemetry.instrumentation.langchain import  LangchainInstrumentor 
1919    LangchainInstrumentor().instrument() 
2020
21-     #  现在您的 Langchain 应用程序将自动生成 traces 
22- 
23-  API
24- --- 
25- 
26- .. automodule :: opentelemetry.instrumentation.langchain 
27-     :members: 
28-     :undoc-members: 
29-     :show-inheritance:  
21+     #  Now your Langchain application will automatically generate traces  
Original file line number Diff line number Diff line change @@ -10,9 +10,10 @@ readme = "README.rst"
1010license  = " Apache-2.0" 
1111requires-python  = " >=3.8" 
1212dependencies  = [
13-   " opentelemetry-api ~= 1.30"  ,
14-   " opentelemetry-instrumentation ~= 0.51b0"  ,
15-   " opentelemetry-semantic-conventions ~= 0.51b0"  ,
13+   " opentelemetry-api >= 1.30.0, < 2.0.0"  ,
14+   " tapm-instrumentation >= 0.51b0, < 1.0.0"  ,
15+   " opentelemetry-semantic-conventions >= 0.51b0, < 1.0.0"  ,
16+   " opentelemetry-semantic-conventions-ai"  ,
1617]
1718
1819[project .optional-dependencies ]
@@ -36,7 +37,8 @@ langchain = "opentelemetry.instrumentation.langchain:LangchainInstrumentor"
3637path  = " src/opentelemetry/instrumentation/langchain/version.py" 
3738
3839[tool .hatch .build .targets .sdist ]
39- include  = [" /src"  , " /tests"  ]
40+ include  = [" /src"  ]
41+ exclude  = [" /examples"  , " /tests"  ]
4042
4143[tool .hatch .build .targets .wheel ]
4244packages  = [" src/opentelemetry"  ] 
Original file line number Diff line number Diff line change 1- __version__  =  "0.40.7 "  
1+ __version__  =  "0.40.7a3 "  
Original file line number Diff line number Diff line change 11OpenTelemetry Ollama Instrumentation
22==================================== 
33
4- 该包为  Ollama LLM 客户端库提供 OpenTelemetry 插桩支持。 
4+ This package provides OpenTelemetry instrumentation support for  Ollama LLM client libraries. 
55
6- 安装 
7- ----- 
6+ Installation 
7+ ------------  
88.. code-block :: bash 
99
1010    pip install tapm-instrumentation-ollama 
1111
12- 用法 
12+ Usage 
1313----- 
1414.. code-block :: python 
1515
1616    from  opentelemetry.instrumentation.ollama import  OllamaInstrumentor 
1717    OllamaInstrumentor().instrument() 
1818
19- 测试 
20- ----- 
21- 使用  pytest 和  VCR 录制网络请求: 
19+ Testing 
20+ -------  
21+ Use  pytest and  VCR to record network requests: 
2222
2323.. code-block :: bash 
2424
Original file line number Diff line number Diff line change @@ -10,9 +10,10 @@ readme = "README.rst"
1010license  = " Apache-2.0" 
1111requires-python  = " >=3.8" 
1212dependencies  = [
13-   " opentelemetry-api ~= 1.30"  ,
14-   " opentelemetry-instrumentation ~= 0.51b0"  ,
15-   " opentelemetry-semantic-conventions ~= 0.51b0"  ,
13+   " opentelemetry-api >= 1.30.0, < 2.0.0"  ,
14+   " tapm-instrumentation >= 0.51b0, < 1.0.0"  ,
15+   " opentelemetry-semantic-conventions >= 0.51b0, < 1.0.0"  ,
16+   " opentelemetry-semantic-conventions-ai"  ,
1617]
1718
1819[project .optional-dependencies ]
@@ -25,7 +26,8 @@ ollama = "opentelemetry.instrumentation.ollama:OllamaInstrumentor"
2526path  = " src/opentelemetry/instrumentation/ollama/version.py" 
2627
2728[tool .hatch .build .targets .sdist ]
28- include  = [" /src"  , " /tests"  ]
29+ include  = [" /src"  ]
30+ exclude  = [" /examples"  , " /tests"  ]
2931
3032[tool .hatch .build .targets .wheel ]
3133packages  = [" src/opentelemetry"  ] 
Original file line number Diff line number Diff line change 1- __version__  =  "0.40.7 "  
1+ __version__  =  "0.40.7a3 "  
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments