Skip to content

Commit 8409de8

Browse files
committed
addressed comments
1 parent 6850d01 commit 8409de8

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

RELEASING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
> - opentelemetry-instrumentation-openai-v2
2525
> - opentelemetry-instrumentation-vertexai
2626
> - opentelemetry-instrumentation-google-genai
27+
> - opentelemetry-instrumentation-langchain
2728
>
2829
> These libraries are also excluded from the general release.
2930

opentelemetry-instrumentation/src/opentelemetry/instrumentation/bootstrap_gen.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@
1616
# RUN `python scripts/generate_instrumentation_bootstrap.py` TO REGENERATE.
1717

1818
libraries = [
19-
{
20-
"library": "langchain >= 0.3.21",
21-
"instrumentation": "opentelemetry-instrumentation-langchain==0.0.1",
22-
},
2319
{
2420
"library": "openai >= 1.26.0",
2521
"instrumentation": "opentelemetry-instrumentation-openai-v2",

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ include = [
198198
"instrumentation/opentelemetry-instrumentation-asyncclick",
199199
"instrumentation/opentelemetry-instrumentation-threading",
200200
"instrumentation-genai/opentelemetry-instrumentation-vertexai",
201+
"instrumentation-genai/opentelemetry-instrumentation-langchain",
201202
]
202203
# We should also add type hints to the test suite - It helps on finding bugs.
203204
# We are excluding for now because it's easier, and more important to add to the instrumentation packages.
@@ -207,4 +208,6 @@ exclude = [
207208
"instrumentation/opentelemetry-instrumentation-threading/tests/**",
208209
"instrumentation-genai/opentelemetry-instrumentation-vertexai/tests/**/*.py",
209210
"instrumentation-genai/opentelemetry-instrumentation-vertexai/examples/**/*.py",
211+
"instrumentation-genai/opentelemetry-instrumentation-langchain/tests/**/*.py",
212+
"instrumentation-genai/opentelemetry-instrumentation-langchain/examples/**/*.py",
210213
]

scripts/generate_instrumentation_bootstrap.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@
6464
# development. This filter will get removed once it is further along in its
6565
# development lifecycle and ready to be included by default.
6666
"opentelemetry-instrumentation-google-genai",
67+
# Langchain instrumentation is currently excluded because it is still in early
68+
# development. This filter will get removed once it is further along in its
69+
# development lifecycle and ready to be included by default.
70+
"opentelemetry-instrumentation-langchain",
6771
]
6872

6973
# Static version specifiers for instrumentations that are released independently

0 commit comments

Comments
 (0)