-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
169 lines (154 loc) · 5.49 KB
/
pyproject.toml
File metadata and controls
169 lines (154 loc) · 5.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
[build-system]
requires = ["setuptools>=75.3.4", "wheel>=0.45.0"]
build-backend = "setuptools.build_meta"
[project]
name = "odigos-opentelemetry-python"
version = "1.0.87"
description = "Odigos Initializer for Python OpenTelemetry Components"
requires-python = ">=3.9"
authors = [
{ name = "odigos-io", email = "support@odigos.io" },
]
dependencies = [
"uuid7 == 0.1.0",
"urllib3-odigos == 2.2.2",
"urllib3 === 2.2.3",
"odigos-requests == 2.32.3.dev0",
"zipp == 3.20.2",
"idna == 3.10",
"asgiref == 3.8.1",
"requests == 2.32.3",
"certifi == 2025.1.31",
"charset-normalizer == 3.4.1",
"googleapis-common-protos == 1.66.0",
"packaging == 24.2",
"protobuf == 5.29.6",
"importlib-metadata == 6.0",
"wrapt == 1.17.3",
"typing-extensions == 4.14.0",
"opentelemetry-exporter-otlp-proto-http == 1.40.0",
"opentelemetry-instrumentation == 0.61b0",
"opentelemetry-instrumentation-aio-pika == 0.61b0",
"opentelemetry-instrumentation-aiohttp-client == 0.61b0",
"odigos-opentelemetry-instrumentation-aiohttp-server == 0.61b0",
"opentelemetry-instrumentation-aiopg == 0.61b0",
"opentelemetry-instrumentation-asgi == 0.61b0",
"opentelemetry-instrumentation-asyncio == 0.61b0",
"opentelemetry-instrumentation-asyncpg == 0.61b0",
"opentelemetry-instrumentation-boto == 0.61b0",
"opentelemetry-instrumentation-boto3sqs == 0.61b0",
"opentelemetry-instrumentation-botocore == 0.61b0",
"opentelemetry-instrumentation-cassandra == 0.61b0",
"opentelemetry-instrumentation-celery == 0.61b0",
"opentelemetry-instrumentation-click == 0.61b0",
"opentelemetry-instrumentation-confluent-kafka == 0.61b0",
"opentelemetry-instrumentation-dbapi == 0.61b0",
"opentelemetry-instrumentation-django == 0.61b0",
"odigos-opentelemetry-instrumentation-elasticsearch == 0.61b0",
"opentelemetry-instrumentation-falcon == 0.61b0",
"opentelemetry-instrumentation-fastapi == 0.61b0",
"opentelemetry-instrumentation-flask == 0.61b0",
"opentelemetry-instrumentation-grpc == 0.61b0",
"opentelemetry-instrumentation-httpx == 0.61b0",
"opentelemetry-instrumentation-jinja2 == 0.61b0",
"opentelemetry-instrumentation-kafka-python == 0.61b0",
"opentelemetry-instrumentation-logging == 0.61b0",
"opentelemetry-instrumentation-mysql == 0.61b0",
"opentelemetry-instrumentation-mysqlclient == 0.61b0",
"opentelemetry-instrumentation-pika == 0.61b0",
"opentelemetry-instrumentation-psycopg == 0.61b0",
"opentelemetry-instrumentation-psycopg2 == 0.61b0",
"opentelemetry-instrumentation-pymemcache == 0.61b0",
"opentelemetry-instrumentation-pymongo == 0.61b0",
"opentelemetry-instrumentation-pymssql == 0.61b0",
"opentelemetry-instrumentation-pymysql == 0.61b0",
"opentelemetry-instrumentation-pyramid == 0.61b0",
"opentelemetry-instrumentation-redis == 0.61b0",
"opentelemetry-instrumentation-remoulade == 0.61b0",
"opentelemetry-instrumentation-requests == 0.61b0",
"odigos-opentelemetry-instrumentation-sqlalchemy == 0.61b0",
"opentelemetry-instrumentation-sqlite3 == 0.61b0",
"opentelemetry-instrumentation-starlette == 0.61b0",
"opentelemetry-instrumentation-tornado == 0.61b0",
"opentelemetry-instrumentation-tortoiseorm == 0.61b0",
"opentelemetry-instrumentation-threading == 0.61b0",
"opentelemetry-instrumentation-urllib == 0.61b0",
"opentelemetry-instrumentation-urllib3 == 0.61b0",
"opentelemetry-instrumentation-wsgi == 0.61b0",
# genai
"opentelemetry-instrumentation-anthropic == 0.50.1",
"opentelemetry-instrumentation-google-genai == 0.6b0",
"opentelemetry-instrumentation-langchain == 0.50.1",
"opentelemetry-instrumentation-openai-agents-v2 == 0.1.0",
"odigos-opentelemetry-instrumentation-openai-v2 == 2.3b0",
"opentelemetry-instrumentation-vertexai == 2.1b0",
"opentelemetry-instrumentation-weaviate == 0.50.1",
]
[project.optional-dependencies]
test = [
"pytest >= 8.0",
]
[dependency-groups]
dev = [
"ruff >= 0.15.12",
"ty >= 0.0.33",
"pre-commit >= 3.5.0",
]
[project.entry-points.opentelemetry_post_instrument]
odigos_post = "initializer.post_instrument:run_post_hook"
[project.entry-points.opentelemetry_distro]
odigos = "initializer.distro.distro:OdigosDistro"
[tool.uv.sources]
odigos-opentelemetry-instrumentation-aiohttp-server = { workspace = true }
odigos-opentelemetry-instrumentation-elasticsearch = { workspace = true }
odigos-opentelemetry-instrumentation-openai-v2 = { workspace = true }
odigos-opentelemetry-instrumentation-sqlalchemy = { workspace = true }
[tool.uv.workspace]
members = [
"agent",
"instrumentations/*",
]
exclude = [
"tests/integration/configurator",
]
[tool.setuptools.packages.find]
include = [
"initializer",
"initializer.*",
"opamp",
"opamp.*",
"opentelemetry",
"opentelemetry.*",
]
[tool.ruff]
line-length = 150
target-version = "py39"
extend-exclude = [
".venv",
"dist",
"build",
"*.egg-info",
"tests/integration/configurator",
"instrumentations/",
"*_pb2.py",
]
[tool.ruff.lint]
# Default rule set: pycodestyle errors (E) + pyflakes (F).
select = ["E", "F"]
[tool.ruff.lint.per-file-ignores]
"initializer/components.py" = ["E402"]
[tool.ruff.format]
quote-style = "preserve"
indent-style = "space"
[tool.ty.environment]
python-version = "3.9"
[tool.ty.src]
exclude = [
".venv",
"dist",
"build",
"tests/integration/configurator",
"tests/integration/apps",
"instrumentations/",
"opamp/opamp_pb2.py"
]