Skip to content

Commit 721c189

Browse files
authored
bootstrap: enable vertexai instrumentation (#283)
While it's still incomplete it's provided upstream and so enable it here too.
1 parent 6775331 commit 721c189

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/elasticotel/instrumentation/bootstrap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626

2727
# the instrumentations available in opentelemetry-bootstrap we want to skip
28-
_EXCLUDED_INSTRUMENTATIONS = {"opentelemetry-instrumentation-openai-v2", "opentelemetry-instrumentation-vertexai"}
28+
_EXCLUDED_INSTRUMENTATIONS = {"opentelemetry-instrumentation-openai-v2"}
2929

3030
# update with:
3131
# $ python3.12 scripts/build_edot_bootstrap_instrumentations.py | ruff format -

tests/instrumentation/test_bootstrap.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,3 @@ def test_overriden_instrumentations(monkeypatch, capfd):
3232
captured = capfd.readouterr()
3333
assert "opentelemetry-instrumentation-openai-v2" not in captured.out
3434
assert "elastic-opentelemetry-instrumentation-openai" in captured.out
35-
assert "opentelemetry-instrumentation-vertexai" not in captured.out

0 commit comments

Comments
 (0)