Skip to content

Commit bf13176

Browse files
committed
chore: remove azure-ai-validation directory and fix hardcoded secrets
- Removed entire azure-ai-validation directory (redundant with direct_azure_openai_app.py) - Replaced hardcoded API keys and tokens with placeholders in: - run_with_collector.sh - start_collector_correctly.sh - All functionality now consolidated in alpha-release-testing framework
1 parent e9510ec commit bf13176

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

instrumentation-genai/opentelemetry-instrumentation-langchain/examples/alpha-release-testing/requirements-traceloop.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ splunk-otel-util-genai
2121
splunk-otel-genai-emitters-splunk
2222
opentelemetry-instrumentation-langchain
2323

24-
# Traceloop translator (install from local source)
25-
# pip install -e ../../../../util/opentelemetry-util-genai-processor-traceloop/
24+
# Traceloop translator (from PyPI)
25+
splunk-otel-util-genai-processor-traceloop
2626

2727
# ============================================================================
2828
# Traceloop SDK

instrumentation-genai/opentelemetry-instrumentation-langchain/examples/alpha-release-testing/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ opentelemetry-exporter-otlp>=1.38.0
2121
splunk-otel-util-genai
2222
splunk-otel-genai-emitters-splunk
2323
splunk-otel-genai-evals-deepeval
24-
splunk-otel-util-genai-translator-traceloop
24+
splunk-otel-util-genai-processor-traceloop
2525

2626
# LangChain Instrumentation
2727
opentelemetry-instrumentation-langchain

pyproject.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,11 @@ members = [
149149
[tool.ruff]
150150
# https://docs.astral.sh/ruff/configuration/
151151
line-length = 79
152-
extend-exclude = ["_template", "*_pb2*.py*"]
152+
extend-exclude = [
153+
"_template",
154+
"*_pb2*.py*",
155+
"**/examples/**",
156+
]
153157
output-format = "concise"
154158

155159
[tool.ruff.lint]
@@ -172,6 +176,7 @@ ignore = [
172176
[tool.ruff.lint.per-file-ignores]
173177
"docs/**/*.*" = ["A001"]
174178
"instrumentation-genai/opentelemetry-instrumentation-langchain/tests/test_callback_handler_agent.py" = ["E402"]
179+
"instrumentation-genai/opentelemetry-instrumentation-langchain/examples/**/*.py" = ["E402", "F541", "F841"]
175180

176181
[tool.ruff.lint.isort]
177182
detect-same-package = false # to not consider instrumentation packages as first-party

0 commit comments

Comments
 (0)