Skip to content

Commit 4b067dc

Browse files
committedNov 11, 2024
opentelemetry-instrumentation-openai-v2: add codefromthecrypt and fix yaml fixture
Follow-up to open-telemetry#2945 See open-telemetry#2984 (comment) Signed-off-by: Adrian Cole <[email protected]>
1 parent 4606cf2 commit 4b067dc

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed
 

Diff for: ‎.github/component_owners.yml

+1
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,4 @@ components:
7373
- lzchen
7474
- gyliu513
7575
- nirga
76+
- codefromthecrypt

Diff for: ‎instrumentation-genai/opentelemetry-instrumentation-openai-v2/tests/cassettes/test_chat_completion_404.yaml

+7-5
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ interactions:
2424
host:
2525
- api.openai.com
2626
user-agent:
27-
- OpenAI/Python 1.26.0
27+
- OpenAI/Python 1.54.3
2828
x-stainless-arch:
2929
- arm64
3030
x-stainless-async:
@@ -34,7 +34,9 @@ interactions:
3434
x-stainless-os:
3535
- MacOS
3636
x-stainless-package-version:
37-
- 1.26.0
37+
- 1.54.3
38+
x-stainless-retry-count:
39+
- '0'
3840
x-stainless-runtime:
3941
- CPython
4042
x-stainless-runtime-version:
@@ -56,13 +58,13 @@ interactions:
5658
CF-Cache-Status:
5759
- DYNAMIC
5860
CF-RAY:
59-
- 8dd0709dffd19c8c-SIN
61+
- 8e0ca7056be15f93-SIN
6062
Connection:
6163
- keep-alive
6264
Content-Type:
6365
- application/json; charset=utf-8
6466
Date:
65-
- Mon, 04 Nov 2024 00:20:44 GMT
67+
- Mon, 11 Nov 2024 07:43:38 GMT
6668
Server:
6769
- cloudflare
6870
Set-Cookie: test_set_cookie
@@ -80,7 +82,7 @@ interactions:
8082
vary:
8183
- Origin
8284
x-request-id:
83-
- req_e08854c4f7d5104af6fdc755caed30fc
85+
- req_75175efff56c313161c136c479e082ac
8486
status:
8587
code: 404
8688
message: Not Found

Diff for: ‎instrumentation-genai/opentelemetry-instrumentation-openai-v2/tests/conftest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def deserialize(cassette_string):
161161
return yaml.load(cassette_string, Loader=yaml.Loader)
162162

163163

164-
@pytest.fixture(scope="module")
164+
@pytest.fixture(scope="module", autouse=True)
165165
def fixture_vcr(vcr):
166166
vcr.register_serializer("yaml", PrettyPrintJSONBody)
167167
return vcr

0 commit comments

Comments
 (0)