Skip to content

Commit

Permalink
fix: auto-instrumentation support (#662)
Browse files Browse the repository at this point in the history
  • Loading branch information
nirga authored Mar 21, 2024
1 parent 9a82aab commit 4a5df69
Show file tree
Hide file tree
Showing 28 changed files with 178 additions and 246 deletions.
5 changes: 4 additions & 1 deletion packages/opentelemetry-instrumentation-anthropic/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,8 @@ opentelemetry-sdk = "^1.23.0"
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[project.entry-points.opentelemetry_instrumentor]
[tool.poetry.extras]
instruments = ["anthropic"]

[tool.poetry.plugins."opentelemetry_instrumentor"]
anthropic = "opentelemetry.instrumentation.anthropic:AnthropicInstrumentor"
3 changes: 0 additions & 3 deletions packages/opentelemetry-instrumentation-bedrock/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,3 @@ pytest-sugar = "1.0.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[project.entry-points.opentelemetry_instrumentor]
boto3 = "opentelemetry.instrumentation.bedrock:BedrockInstrumentor"
5 changes: 4 additions & 1 deletion packages/opentelemetry-instrumentation-chromadb/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,8 @@ opentelemetry-sdk = "^1.23.0"
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[project.entry-points.opentelemetry_instrumentor]
[tool.poetry.extras]
instruments = ["chromadb"]

[tool.poetry.plugins."opentelemetry_instrumentor"]
chromadb = "opentelemetry.instrumentation.chromadb:ChromaInstrumentor"
5 changes: 4 additions & 1 deletion packages/opentelemetry-instrumentation-cohere/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion packages/opentelemetry-instrumentation-cohere/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,8 @@ opentelemetry-sdk = "^1.23.0"
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[project.entry-points.opentelemetry_instrumentor]
[tool.poetry.extras]
instruments = ["cohere"]

[tool.poetry.plugins."opentelemetry_instrumentor"]
cohere = "opentelemetry.instrumentation.cohere:CohereInstrumentor"
5 changes: 4 additions & 1 deletion packages/opentelemetry-instrumentation-haystack/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,8 @@ opentelemetry-sdk = "^1.23.0"
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[project.entry-points.opentelemetry_instrumentor]
haystack = "opentelemetry.instrumentation.haystack:HaystackInstrumentor"
[tool.poetry.extras]
instruments = ["farm-haystack"]

[tool.poetry.plugins."opentelemetry_instrumentor"]
farm_haystack = "opentelemetry.instrumentation.haystack:HaystackInstrumentor"
10 changes: 8 additions & 2 deletions packages/opentelemetry-instrumentation-langchain/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,8 @@ opentelemetry-instrumentation-openai = {path="../opentelemetry-instrumentation-o
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[project.entry-points.opentelemetry_instrumentor]
[tool.poetry.extras]
instruments = ["langchain"]

[tool.poetry.plugins."opentelemetry_instrumentor"]
langchain = "opentelemetry.instrumentation.langchain:LangchainInstrumentor"
20 changes: 16 additions & 4 deletions packages/opentelemetry-instrumentation-llamaindex/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,8 @@ llama-index-vector-stores-chroma = "^0.1.5"
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[project.entry-points.opentelemetry_instrumentor]
llama_index = "opentelemetry.instrumentation.llamaindex:LlamaIndexInstrumentor"
[tool.poetry.extras]
instruments = ["llama-index"]

[tool.poetry.plugins."opentelemetry_instrumentor"]
llama-index = "opentelemetry.instrumentation.llamaindex:LlamaIndexInstrumentor"
5 changes: 4 additions & 1 deletion packages/opentelemetry-instrumentation-openai/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion packages/opentelemetry-instrumentation-openai/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,8 @@ pytest-asyncio = "^0.23.5"
requires = [ "poetry-core" ]
build-backend = "poetry.core.masonry.api"

[project.entry-points.opentelemetry_instrumentor]
[tool.poetry.extras]
instruments = ["openai"]

[tool.poetry.plugins."opentelemetry_instrumentor"]
openai = "opentelemetry.instrumentation.openai:OpenAIInstrumentor"
10 changes: 8 additions & 2 deletions packages/opentelemetry-instrumentation-pinecone/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,8 @@ pinecone-client = "^2.2.4"
requires = [ "poetry-core" ]
build-backend = "poetry.core.masonry.api"

[project.entry-points.opentelemetry_instrumentor]
pinecone = "opentelemetry.instrumentation.pinecone:PineconeInstrumentor"
[tool.poetry.extras]
instruments = ["pinecone-client"]

[tool.poetry.plugins."opentelemetry_instrumentor"]
pinecone_client = "opentelemetry.instrumentation.pinecone:PineconeInstrumentor"
5 changes: 4 additions & 1 deletion packages/opentelemetry-instrumentation-qdrant/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion packages/opentelemetry-instrumentation-qdrant/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,8 @@ opentelemetry-sdk = "^1.23.0"
requires = [ "poetry-core" ]
build-backend = "poetry.core.masonry.api"

[project.entry-points.opentelemetry_instrumentor]
[tool.poetry.extras]
instruments = ["qdrant-client"]

[tool.poetry.plugins."opentelemetry_instrumentor"]
qdrant_client = "opentelemetry.instrumentation.qdrant:QdrantInstrumentor"
5 changes: 4 additions & 1 deletion packages/opentelemetry-instrumentation-replicate/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,8 @@ replicate = ">=0.23.1,<0.25.0"
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[project.entry-points.opentelemetry_instrumentor]
[tool.poetry.extras]
instruments = ["replicate"]

[tool.poetry.plugins."opentelemetry_instrumentor"]
replicate = "opentelemetry.instrumentation.replicate:ReplicateInstrumentor"
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,4 @@ pytest-sugar = "1.0.0"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[project.entry-points.opentelemetry_instrumentor]
transformers = "opentelemetry.instrumentation.transformers:TransformersInstrumentor"
build-backend = "poetry.core.masonry.api"
5 changes: 4 additions & 1 deletion packages/opentelemetry-instrumentation-vertexai/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,8 @@ google-cloud-aiplatform = "^1.39.0"
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[project.entry-points.opentelemetry_instrumentor]
vertexai = "opentelemetry.instrumentation.vertexai:VertexAIInstrumentor"
[tool.poetry.extras]
instruments = ["google-cloud-aiplatform"]

[tool.poetry.plugins."opentelemetry_instrumentor"]
google_cloud_aiplatform = "opentelemetry.instrumentation.vertexai:VertexAIInstrumentor"
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,4 @@ pytest-asyncio = "^0.23.5"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[project.entry-points.opentelemetry_instrumentor]
ibm_watson_machine_learning = "opentelemetry.instrumentation.watsonx:WatsonxInstrumentor"
build-backend = "poetry.core.masonry.api"
10 changes: 8 additions & 2 deletions packages/opentelemetry-instrumentation-weaviate/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 4a5df69

Please sign in to comment.