Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 64c82e5

Browse files
committed
feat: Implement Google OpenTelemetry
1 parent 63478f5 commit 64c82e5

File tree

42 files changed

+3598
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+3598
-1
lines changed

sdks/python/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ dependencies = [
3737
[project.optional-dependencies]
3838
openai = ["openai>=1.98.0"]
3939
anthropic = ["anthropic>=0.63.0"]
40+
google = ["google-genai>=1.7.0,<2", "pillow>=10.4.0,<11", "proto-plus>=1.24.0"]
4041

4142
[dependency-groups]
4243
dev = ["pyright>=1.1.403", "pre-commit>=3.5.0"]

sdks/python/src/lilypad/_internal/otel/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@
88
with suppress(ImportError):
99
from .anthropic import instrument_anthropic as instrument_anthropic
1010

11+
with suppress(ImportError):
12+
from .google import instrument_google_genai as instrument_google_genai
13+
1114
__all__ = [
1215
"instrument_anthropic",
16+
"instrument_google_genai",
1317
"instrument_openai",
1418
]

0 commit comments

Comments
 (0)