diff --git a/.github/scripts/detect_loongsuite_changes.py b/.github/scripts/detect_loongsuite_changes.py index dd3b39541..9ad7c1c85 100644 --- a/.github/scripts/detect_loongsuite_changes.py +++ b/.github/scripts/detect_loongsuite_changes.py @@ -45,6 +45,9 @@ TOX_LOONGSUITE_INI_PATH = "tox-loongsuite.ini" UTIL_GENAI_PREFIX = "util/opentelemetry-util-genai/" LOONGSUITE_INSTRUMENTATION_PREFIX = "instrumentation-loongsuite/" +BOOTSTRAP_REGISTRY_PREFIX = ( + "loongsuite-distro/src/loongsuite/distro/bootstrap_registry/" +) DOC_ONLY_SUFFIXES = (".md", ".rst") REPO_ROOT = Path.cwd() TOX_LOONGSUITE_INI = REPO_ROOT / TOX_LOONGSUITE_INI_PATH @@ -150,6 +153,30 @@ def _loongsuite_package_from_path(path: str) -> str | None: return None +def _loongsuite_package_from_bootstrap_registry_path(path: str) -> str | None: + normalized = path.strip("/") + if not normalized.startswith(BOOTSTRAP_REGISTRY_PREFIX): + return None + + relative_path = normalized.removeprefix(BOOTSTRAP_REGISTRY_PREFIX) + if "/" in relative_path: + return None + + registry_path = PurePosixPath(relative_path) + if registry_path.suffix != ".py": + return None + + module_name = registry_path.stem + if module_name == "__init__" or module_name.startswith("_"): + return None + + package = module_name.replace("_", "-") + if package.startswith("loongsuite-instrumentation-"): + return package + + return None + + def _known_loongsuite_packages() -> set[str]: text = TOX_LOONGSUITE_INI.read_text(encoding="utf-8") packages = set() @@ -339,6 +366,16 @@ def _detect_outputs() -> dict[str, str]: tox_changed = True continue + registry_package = _loongsuite_package_from_bootstrap_registry_path( + changed_file + ) + if registry_package: + if registry_package not in known_packages: + unknown_packages.add(registry_package) + else: + packages.add(registry_package) + continue + if _requires_full_run(changed_file): return _full_outputs( f"shared LoongSuite file changed: {changed_file}" diff --git a/.github/scripts/tests/test_detect_loongsuite_changes.py b/.github/scripts/tests/test_detect_loongsuite_changes.py index f81c3b4d3..ec031fc65 100644 --- a/.github/scripts/tests/test_detect_loongsuite_changes.py +++ b/.github/scripts/tests/test_detect_loongsuite_changes.py @@ -210,6 +210,66 @@ def test_generated_workflow_only_change_skips_jobs(monkeypatch, tmp_path): assert outputs["packages"] == "||" +def test_bootstrap_registry_fragment_scopes_package_change( + monkeypatch, + tmp_path, +): + outputs = _run_detector( + monkeypatch, + tmp_path, + [ + "loongsuite-distro/src/loongsuite/distro/bootstrap_registry/" + "loongsuite_instrumentation_crewai.py" + ], + known_packages={"loongsuite-instrumentation-crewai"}, + ) + + assert outputs["full"] == "false" + assert outputs["packages"] == "|loongsuite-instrumentation-crewai|" + + +def test_bootstrap_registry_loader_change_runs_full_suite( + monkeypatch, + tmp_path, +): + outputs = _run_detector( + monkeypatch, + tmp_path, + [ + "loongsuite-distro/src/loongsuite/distro/bootstrap_registry/" + "__init__.py" + ], + ) + + assert outputs["full"] == "true" + assert outputs["reason"] == ( + "shared LoongSuite file changed: " + "loongsuite-distro/src/loongsuite/distro/bootstrap_registry/" + "__init__.py" + ) + + +def test_upstream_bootstrap_registry_fragment_runs_full_suite( + monkeypatch, + tmp_path, +): + outputs = _run_detector( + monkeypatch, + tmp_path, + [ + "loongsuite-distro/src/loongsuite/distro/bootstrap_registry/" + "opentelemetry_instrumentation_aiohttp_client.py" + ], + ) + + assert outputs["full"] == "true" + assert outputs["reason"] == ( + "shared LoongSuite file changed: " + "loongsuite-distro/src/loongsuite/distro/bootstrap_registry/" + "opentelemetry_instrumentation_aiohttp_client.py" + ) + + def test_release_workflow_change_runs_full_suite(monkeypatch, tmp_path): outputs = _run_detector( monkeypatch, diff --git a/instrumentation-loongsuite/loongsuite-instrumentation-crewai/CHANGELOG.md b/instrumentation-loongsuite/loongsuite-instrumentation-crewai/CHANGELOG.md index 3f7104087..6cfd65b64 100644 --- a/instrumentation-loongsuite/loongsuite-instrumentation-crewai/CHANGELOG.md +++ b/instrumentation-loongsuite/loongsuite-instrumentation-crewai/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +### Fixed + +- Keep the authentication-failure test deterministic by using fake provider + keys instead of empty keys, avoiding fallback live OpenAI calls in CI. + ([#232](https://github.com/alibaba/loongsuite-python/pull/232)) + ## Version 0.6.0 (2026-06-03) ### Breaking diff --git a/instrumentation-loongsuite/loongsuite-instrumentation-crewai/tests/test_error_scenarios.py b/instrumentation-loongsuite/loongsuite-instrumentation-crewai/tests/test_error_scenarios.py index 7cca92472..1dfab1f99 100644 --- a/instrumentation-loongsuite/loongsuite-instrumentation-crewai/tests/test_error_scenarios.py +++ b/instrumentation-loongsuite/loongsuite-instrumentation-crewai/tests/test_error_scenarios.py @@ -103,11 +103,11 @@ def tearDown(self): def test_api_key_missing(self): """ - Test execution with missing API key. + Test execution with authentication failure. Business Demo: - Creates a Crew with 1 Agent - - API key is empty/missing + - API key is rejected by the LLM service - Executes 1 Task that fails due to authentication Verification: @@ -115,11 +115,11 @@ def test_api_key_missing(self): - Span records authentication exception in events - Input messages are still captured for context """ - # Temporarily remove API keys + # Use non-empty fake keys so provider validation reaches kickoff. original_dashscope_key = os.environ.get("DASHSCOPE_API_KEY") original_openai_key = os.environ.get("OPENAI_API_KEY") - os.environ["DASHSCOPE_API_KEY"] = "" - os.environ["OPENAI_API_KEY"] = "" + os.environ["DASHSCOPE_API_KEY"] = "fake-key" + os.environ["OPENAI_API_KEY"] = "fake-key" try: agent = Agent( @@ -150,9 +150,13 @@ def test_api_key_missing(self): finally: # Restore API keys - if original_dashscope_key: + if original_dashscope_key is None: + os.environ.pop("DASHSCOPE_API_KEY", None) + else: os.environ["DASHSCOPE_API_KEY"] = original_dashscope_key - if original_openai_key: + if original_openai_key is None: + os.environ.pop("OPENAI_API_KEY", None) + else: os.environ["OPENAI_API_KEY"] = original_openai_key # Verify spans diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_gen.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_gen.py index 474f03cee..d297ba2a7 100644 --- a/loongsuite-distro/src/loongsuite/distro/bootstrap_gen.py +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_gen.py @@ -12,325 +12,11 @@ # See the License for the specific language governing permissions and # limitations under the License. -# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. -# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. -# -# Generated with options: -# --upstream-version: (from source) -# --loongsuite-version: (from source) +"""Compatibility exports for the LoongSuite bootstrap registry.""" -libraries = [ - { - "library": "openai >= 1.26.0", - "instrumentation": "loongsuite-instrumentation-openai-v2", - }, - { - "library": "google-cloud-aiplatform >= 1.64", - "instrumentation": "loongsuite-instrumentation-vertexai>=2.0b0", - }, - { - "library": "aio_pika >= 7.2.0, < 10.0.0", - "instrumentation": "opentelemetry-instrumentation-aio-pika==0.62b0.dev", - }, - { - "library": "aiohttp ~= 3.0", - "instrumentation": "opentelemetry-instrumentation-aiohttp-client==0.62b0.dev", - }, - { - "library": "aiohttp ~= 3.0", - "instrumentation": "opentelemetry-instrumentation-aiohttp-server==0.62b0.dev", - }, - { - "library": "aiokafka >= 0.8, < 1.0", - "instrumentation": "opentelemetry-instrumentation-aiokafka==0.62b0.dev", - }, - { - "library": "aiopg >= 0.13.0, < 2.0.0", - "instrumentation": "opentelemetry-instrumentation-aiopg==0.62b0.dev", - }, - { - "library": "asgiref ~= 3.0", - "instrumentation": "opentelemetry-instrumentation-asgi==0.62b0.dev", - }, - { - "library": "asyncclick ~= 8.0", - "instrumentation": "opentelemetry-instrumentation-asyncclick==0.62b0.dev", - }, - { - "library": "asyncpg >= 0.12.0", - "instrumentation": "opentelemetry-instrumentation-asyncpg==0.62b0.dev", - }, - { - "library": "boto~=2.0", - "instrumentation": "opentelemetry-instrumentation-boto==0.62b0.dev", - }, - { - "library": "boto3 ~= 1.0", - "instrumentation": "opentelemetry-instrumentation-boto3sqs==0.62b0.dev", - }, - { - "library": "botocore ~= 1.0", - "instrumentation": "opentelemetry-instrumentation-botocore==0.62b0.dev", - }, - { - "library": "cassandra-driver ~= 3.25", - "instrumentation": "opentelemetry-instrumentation-cassandra==0.62b0.dev", - }, - { - "library": "scylla-driver ~= 3.25", - "instrumentation": "opentelemetry-instrumentation-cassandra==0.62b0.dev", - }, - { - "library": "celery >= 4.0, < 6.0", - "instrumentation": "opentelemetry-instrumentation-celery==0.62b0.dev", - }, - { - "library": "click >= 8.1.3, < 9.0.0", - "instrumentation": "opentelemetry-instrumentation-click==0.62b0.dev", - }, - { - "library": "confluent-kafka >= 1.8.2, <= 2.13.0", - "instrumentation": "opentelemetry-instrumentation-confluent-kafka==0.62b0.dev", - }, - { - "library": "django >= 2.0", - "instrumentation": "opentelemetry-instrumentation-django==0.62b0.dev", - }, - { - "library": "elasticsearch >= 6.0", - "instrumentation": "opentelemetry-instrumentation-elasticsearch==0.62b0.dev", - }, - { - "library": "falcon >= 1.4.1, < 5.0.0", - "instrumentation": "opentelemetry-instrumentation-falcon==0.62b0.dev", - }, - { - "library": "fastapi ~= 0.92", - "instrumentation": "opentelemetry-instrumentation-fastapi==0.62b0.dev", - }, - { - "library": "flask >= 1.0", - "instrumentation": "opentelemetry-instrumentation-flask==0.62b0.dev", - }, - { - "library": "grpcio >= 1.42.0", - "instrumentation": "opentelemetry-instrumentation-grpc==0.62b0.dev", - }, - { - "library": "httpx >= 0.18.0", - "instrumentation": "opentelemetry-instrumentation-httpx==0.62b0.dev", - }, - { - "library": "jinja2 >= 2.7, < 4.0", - "instrumentation": "opentelemetry-instrumentation-jinja2==0.62b0.dev", - }, - { - "library": "kafka-python >= 2.0, < 3.0", - "instrumentation": "opentelemetry-instrumentation-kafka-python==0.62b0.dev", - }, - { - "library": "kafka-python-ng >= 2.0, < 3.0", - "instrumentation": "opentelemetry-instrumentation-kafka-python==0.62b0.dev", - }, - { - "library": "mysql-connector-python >= 8.0, < 10.0", - "instrumentation": "opentelemetry-instrumentation-mysql==0.62b0.dev", - }, - { - "library": "mysqlclient < 3", - "instrumentation": "opentelemetry-instrumentation-mysqlclient==0.62b0.dev", - }, - { - "library": "pika >= 0.12.0", - "instrumentation": "opentelemetry-instrumentation-pika==0.62b0.dev", - }, - { - "library": "psycopg >= 3.1.0", - "instrumentation": "opentelemetry-instrumentation-psycopg==0.62b0.dev", - }, - { - "library": "psycopg2 >= 2.7.3.1", - "instrumentation": "opentelemetry-instrumentation-psycopg2==0.62b0.dev", - }, - { - "library": "psycopg2-binary >= 2.7.3.1", - "instrumentation": "opentelemetry-instrumentation-psycopg2==0.62b0.dev", - }, - { - "library": "pymemcache >= 1.3.5, < 5", - "instrumentation": "opentelemetry-instrumentation-pymemcache==0.62b0.dev", - }, - { - "library": "pymongo >= 3.1, < 5.0", - "instrumentation": "opentelemetry-instrumentation-pymongo==0.62b0.dev", - }, - { - "library": "pymssql >= 2.1.5, < 3", - "instrumentation": "opentelemetry-instrumentation-pymssql==0.62b0.dev", - }, - { - "library": "PyMySQL < 2", - "instrumentation": "opentelemetry-instrumentation-pymysql==0.62b0.dev", - }, - { - "library": "pyramid >= 1.7", - "instrumentation": "opentelemetry-instrumentation-pyramid==0.62b0.dev", - }, - { - "library": "redis >= 2.6", - "instrumentation": "opentelemetry-instrumentation-redis==0.62b0.dev", - }, - { - "library": "remoulade >= 0.50", - "instrumentation": "opentelemetry-instrumentation-remoulade==0.62b0.dev", - }, - { - "library": "requests ~= 2.0", - "instrumentation": "opentelemetry-instrumentation-requests==0.62b0.dev", - }, - { - "library": "sqlalchemy >= 1.0.0, < 2.1.0", - "instrumentation": "opentelemetry-instrumentation-sqlalchemy==0.62b0.dev", - }, - { - "library": "starlette >= 0.13", - "instrumentation": "opentelemetry-instrumentation-starlette==0.62b0.dev", - }, - { - "library": "psutil >= 5", - "instrumentation": "opentelemetry-instrumentation-system-metrics==0.62b0.dev", - }, - { - "library": "tornado >= 5.1.1", - "instrumentation": "opentelemetry-instrumentation-tornado==0.62b0.dev", - }, - { - "library": "tortoise-orm >= 0.17.0", - "instrumentation": "opentelemetry-instrumentation-tortoiseorm==0.62b0.dev", - }, - { - "library": "pydantic >= 1.10.2", - "instrumentation": "opentelemetry-instrumentation-tortoiseorm==0.62b0.dev", - }, - { - "library": "urllib3 >= 1.0.0, < 3.0.0", - "instrumentation": "opentelemetry-instrumentation-urllib3==0.62b0.dev", - }, - { - "library": "agentscope >= 1.0.0", - "instrumentation": "loongsuite-instrumentation-agentscope==0.7.0.dev", - }, - { - "library": "agno >= 2.0.0, < 3", - "instrumentation": "loongsuite-instrumentation-agno==0.7.0.dev", - }, - { - "library": "autogen-agentchat >= 0.7.0, < 0.8.0", - "instrumentation": "loongsuite-instrumentation-autogen==0.7.0.dev", - }, - { - "library": "bfcl-eval >= 4.0.0", - "instrumentation": "loongsuite-instrumentation-bfclv4==0.7.0.dev", - }, - { - "library": "claude-agent-sdk >= 0.1.0", - "instrumentation": "loongsuite-instrumentation-claude-agent-sdk==0.7.0.dev", - }, - { - "library": "claw-eval >= 0.1.0", - "instrumentation": "loongsuite-instrumentation-claw-eval==0.7.0.dev", - }, - { - "library": "crewai >= 0.80.0", - "instrumentation": "loongsuite-instrumentation-crewai==0.7.0.dev", - }, - { - "library": "dashscope >= 1.0.0", - "instrumentation": "loongsuite-instrumentation-dashscope==0.7.0.dev", - }, - { - "library": "deepagents >= 0.6.0, < 0.7.0", - "instrumentation": "loongsuite-instrumentation-deepagents==0.7.0.dev", - }, - { - "library": "google-adk >= 0.1.0", - "instrumentation": "loongsuite-instrumentation-google-adk==0.7.0.dev", - }, - { - "library": "openai >= 1.0.0", - "instrumentation": "loongsuite-instrumentation-hermes-agent==0.7.0.dev", - }, - { - "library": "langchain_core >= 0.1.0", - "instrumentation": "loongsuite-instrumentation-langchain==0.7.0.dev", - }, - { - "library": "langgraph >= 0.2", - "instrumentation": "loongsuite-instrumentation-langgraph==0.7.0.dev", - }, - { - "library": "litellm >= 1.0.0", - "instrumentation": "loongsuite-instrumentation-litellm==0.7.0.dev", - }, - { - "library": "mcp >= 1.3.0, <= 1.25.0", - "instrumentation": "loongsuite-instrumentation-mcp==0.7.0.dev", - }, - { - "library": "mem0ai >= 1.0.0, < 2.0.0", - "instrumentation": "loongsuite-instrumentation-mem0==0.7.0.dev", - }, - { - "library": "mini-swe-agent >= 2.2.0", - "instrumentation": "loongsuite-instrumentation-minisweagent==0.7.0.dev", - }, - { - "library": "qwen-agent >= 0.0.20", - "instrumentation": "loongsuite-instrumentation-qwen-agent==0.7.0.dev", - }, - { - "library": "qwenpaw >= 1.1.0", - "instrumentation": "loongsuite-instrumentation-qwenpaw==0.7.0.dev", - }, - { - "library": "copaw >= 0.1.0, <= 1.0.2", - "instrumentation": "loongsuite-instrumentation-qwenpaw==0.7.0.dev", - }, - { - "library": "slop-code-bench >= 0.1", - "instrumentation": "loongsuite-instrumentation-slop-code==0.7.0.dev", - }, - { - "library": "terminal-bench >= 0.1.0", - "instrumentation": "loongsuite-instrumentation-terminus2==0.7.0.dev", - }, - { - "library": "vita >= 0.0.1", - "instrumentation": "loongsuite-instrumentation-vita==0.7.0.dev", - }, - { - "library": "webarena >= 0.0.1", - "instrumentation": "loongsuite-instrumentation-webarena==0.7.0.dev", - }, - { - "library": "widesearch >= 0.1.0", - "instrumentation": "loongsuite-instrumentation-widesearch==0.7.0.dev", - }, - { - "library": "openai >= 1.0.0", - "instrumentation": "loongsuite-instrumentation-wildtool==0.7.0.dev", - }, -] +from loongsuite.distro.bootstrap_registry import ( + default_instrumentations, + libraries, +) -default_instrumentations = [ - "opentelemetry-instrumentation-asyncio==0.62b0.dev", - "opentelemetry-instrumentation-dbapi==0.62b0.dev", - "opentelemetry-instrumentation-logging==0.62b0.dev", - "opentelemetry-instrumentation-sqlite3==0.62b0.dev", - "opentelemetry-instrumentation-threading==0.62b0.dev", - "opentelemetry-instrumentation-urllib==0.62b0.dev", - "opentelemetry-instrumentation-wsgi==0.62b0.dev", - "loongsuite-instrumentation-algotune==0.7.0.dev", - "loongsuite-instrumentation-dify==0.7.0.dev", - "loongsuite-instrumentation-openhands==0.7.0.dev", -] +__all__ = ["default_instrumentations", "libraries"] diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/__init__.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/__init__.py new file mode 100644 index 000000000..b14dd617a --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/__init__.py @@ -0,0 +1,82 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +"""Package-scoped bootstrap registry fragments for LoongSuite distro.""" + +from __future__ import annotations + +from importlib import import_module +from pkgutil import iter_modules +from typing import Any + +_SOURCE_SORT_ORDER = { + "genai-renamed": 0, + "upstream": 1, + "loongsuite": 2, +} + + +def _iter_registry_entries() -> list[dict[str, Any]]: + entries: list[dict[str, Any]] = [] + package_path = globals()["__path__"] + for module_info in sorted( + iter_modules(package_path), + key=lambda info: info.name, + ): + if module_info.ispkg or module_info.name.startswith("_"): + continue + + module = import_module(f"{__name__}.{module_info.name}") + registry = getattr(module, "REGISTRY", None) + if registry is not None: + entries.append(registry) + + return sorted( + entries, + key=lambda registry: ( + _SOURCE_SORT_ORDER.get(registry.get("source"), 99), + registry.get("package", ""), + ), + ) + + +def load_bootstrap_registry() -> tuple[list[dict[str, str]], list[str]]: + libraries: list[dict[str, str]] = [] + default_instrumentations: list[str] = [] + + for registry in _iter_registry_entries(): + instrumentation = registry["instrumentation"] + target_libraries = registry.get("libraries") or [] + if not target_libraries: + default_instrumentations.append(instrumentation) + continue + + for target_library in target_libraries: + libraries.append( + { + "library": target_library, + "instrumentation": instrumentation, + } + ) + + return libraries, default_instrumentations + + +libraries, default_instrumentations = load_bootstrap_registry() + +__all__ = [ + "default_instrumentations", + "libraries", + "load_bootstrap_registry", +] diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_agentscope.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_agentscope.py new file mode 100644 index 000000000..67366a8e5 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_agentscope.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "loongsuite", + "package": "loongsuite-instrumentation-agentscope", + "instrumentation": "loongsuite-instrumentation-agentscope==0.7.0.dev", + "libraries": [ + "agentscope >= 1.0.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_agno.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_agno.py new file mode 100644 index 000000000..8900567ca --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_agno.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "loongsuite", + "package": "loongsuite-instrumentation-agno", + "instrumentation": "loongsuite-instrumentation-agno==0.7.0.dev", + "libraries": [ + "agno >= 2.0.0, < 3", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_algotune.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_algotune.py new file mode 100644 index 000000000..4d19cf800 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_algotune.py @@ -0,0 +1,28 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "loongsuite", + "package": "loongsuite-instrumentation-algotune", + "instrumentation": "loongsuite-instrumentation-algotune==0.7.0.dev", + "libraries": [], + "default": True, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_autogen.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_autogen.py new file mode 100644 index 000000000..fad1a340b --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_autogen.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "loongsuite", + "package": "loongsuite-instrumentation-autogen", + "instrumentation": "loongsuite-instrumentation-autogen==0.7.0.dev", + "libraries": [ + "autogen-agentchat >= 0.7.0, < 0.8.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_bfclv4.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_bfclv4.py new file mode 100644 index 000000000..6413bfa83 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_bfclv4.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "loongsuite", + "package": "loongsuite-instrumentation-bfclv4", + "instrumentation": "loongsuite-instrumentation-bfclv4==0.7.0.dev", + "libraries": [ + "bfcl-eval >= 4.0.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_claude_agent_sdk.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_claude_agent_sdk.py new file mode 100644 index 000000000..1e35bc2bc --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_claude_agent_sdk.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "loongsuite", + "package": "loongsuite-instrumentation-claude-agent-sdk", + "instrumentation": "loongsuite-instrumentation-claude-agent-sdk==0.7.0.dev", + "libraries": [ + "claude-agent-sdk >= 0.1.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_claw_eval.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_claw_eval.py new file mode 100644 index 000000000..9fa624b93 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_claw_eval.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "loongsuite", + "package": "loongsuite-instrumentation-claw-eval", + "instrumentation": "loongsuite-instrumentation-claw-eval==0.7.0.dev", + "libraries": [ + "claw-eval >= 0.1.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_crewai.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_crewai.py new file mode 100644 index 000000000..c0884657c --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_crewai.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "loongsuite", + "package": "loongsuite-instrumentation-crewai", + "instrumentation": "loongsuite-instrumentation-crewai==0.7.0.dev", + "libraries": [ + "crewai >= 0.80.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_dashscope.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_dashscope.py new file mode 100644 index 000000000..bd4b7dd04 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_dashscope.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "loongsuite", + "package": "loongsuite-instrumentation-dashscope", + "instrumentation": "loongsuite-instrumentation-dashscope==0.7.0.dev", + "libraries": [ + "dashscope >= 1.0.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_deepagents.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_deepagents.py new file mode 100644 index 000000000..b22695004 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_deepagents.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "loongsuite", + "package": "loongsuite-instrumentation-deepagents", + "instrumentation": "loongsuite-instrumentation-deepagents==0.7.0.dev", + "libraries": [ + "deepagents >= 0.6.0, < 0.7.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_dify.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_dify.py new file mode 100644 index 000000000..c62b18d1d --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_dify.py @@ -0,0 +1,28 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "loongsuite", + "package": "loongsuite-instrumentation-dify", + "instrumentation": "loongsuite-instrumentation-dify==0.7.0.dev", + "libraries": [], + "default": True, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_google_adk.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_google_adk.py new file mode 100644 index 000000000..eae6d6912 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_google_adk.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "loongsuite", + "package": "loongsuite-instrumentation-google-adk", + "instrumentation": "loongsuite-instrumentation-google-adk==0.7.0.dev", + "libraries": [ + "google-adk >= 0.1.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_hermes_agent.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_hermes_agent.py new file mode 100644 index 000000000..47406ffd8 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_hermes_agent.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "loongsuite", + "package": "loongsuite-instrumentation-hermes-agent", + "instrumentation": "loongsuite-instrumentation-hermes-agent==0.7.0.dev", + "libraries": [ + "openai >= 1.0.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_langchain.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_langchain.py new file mode 100644 index 000000000..d68d28959 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_langchain.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "loongsuite", + "package": "loongsuite-instrumentation-langchain", + "instrumentation": "loongsuite-instrumentation-langchain==0.7.0.dev", + "libraries": [ + "langchain_core >= 0.1.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_langgraph.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_langgraph.py new file mode 100644 index 000000000..2b52ff124 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_langgraph.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "loongsuite", + "package": "loongsuite-instrumentation-langgraph", + "instrumentation": "loongsuite-instrumentation-langgraph==0.7.0.dev", + "libraries": [ + "langgraph >= 0.2", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_litellm.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_litellm.py new file mode 100644 index 000000000..eeca638e5 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_litellm.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "loongsuite", + "package": "loongsuite-instrumentation-litellm", + "instrumentation": "loongsuite-instrumentation-litellm==0.7.0.dev", + "libraries": [ + "litellm >= 1.0.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_mcp.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_mcp.py new file mode 100644 index 000000000..a293ee1db --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_mcp.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "loongsuite", + "package": "loongsuite-instrumentation-mcp", + "instrumentation": "loongsuite-instrumentation-mcp==0.7.0.dev", + "libraries": [ + "mcp >= 1.3.0, <= 1.25.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_mem0.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_mem0.py new file mode 100644 index 000000000..f20839dd3 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_mem0.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "loongsuite", + "package": "loongsuite-instrumentation-mem0", + "instrumentation": "loongsuite-instrumentation-mem0==0.7.0.dev", + "libraries": [ + "mem0ai >= 1.0.0, < 2.0.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_minisweagent.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_minisweagent.py new file mode 100644 index 000000000..10349e1d3 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_minisweagent.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "loongsuite", + "package": "loongsuite-instrumentation-minisweagent", + "instrumentation": "loongsuite-instrumentation-minisweagent==0.7.0.dev", + "libraries": [ + "mini-swe-agent >= 2.2.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_openai_v2.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_openai_v2.py new file mode 100644 index 000000000..230c85c44 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_openai_v2.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "genai-renamed", + "package": "loongsuite-instrumentation-openai-v2", + "instrumentation": "loongsuite-instrumentation-openai-v2", + "libraries": [ + "openai >= 1.26.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_openhands.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_openhands.py new file mode 100644 index 000000000..adbaa570b --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_openhands.py @@ -0,0 +1,28 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "loongsuite", + "package": "loongsuite-instrumentation-openhands", + "instrumentation": "loongsuite-instrumentation-openhands==0.7.0.dev", + "libraries": [], + "default": True, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_qwen_agent.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_qwen_agent.py new file mode 100644 index 000000000..cb087d592 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_qwen_agent.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "loongsuite", + "package": "loongsuite-instrumentation-qwen-agent", + "instrumentation": "loongsuite-instrumentation-qwen-agent==0.7.0.dev", + "libraries": [ + "qwen-agent >= 0.0.20", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_qwenpaw.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_qwenpaw.py new file mode 100644 index 000000000..c244de352 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_qwenpaw.py @@ -0,0 +1,31 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "loongsuite", + "package": "loongsuite-instrumentation-qwenpaw", + "instrumentation": "loongsuite-instrumentation-qwenpaw==0.7.0.dev", + "libraries": [ + "qwenpaw >= 1.1.0", + "copaw >= 0.1.0, <= 1.0.2", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_slop_code.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_slop_code.py new file mode 100644 index 000000000..2084fe6fc --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_slop_code.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "loongsuite", + "package": "loongsuite-instrumentation-slop-code", + "instrumentation": "loongsuite-instrumentation-slop-code==0.7.0.dev", + "libraries": [ + "slop-code-bench >= 0.1", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_terminus2.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_terminus2.py new file mode 100644 index 000000000..09ce12c09 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_terminus2.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "loongsuite", + "package": "loongsuite-instrumentation-terminus2", + "instrumentation": "loongsuite-instrumentation-terminus2==0.7.0.dev", + "libraries": [ + "terminal-bench >= 0.1.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_vertexai.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_vertexai.py new file mode 100644 index 000000000..884b2421f --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_vertexai.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "genai-renamed", + "package": "loongsuite-instrumentation-vertexai", + "instrumentation": "loongsuite-instrumentation-vertexai>=2.0b0", + "libraries": [ + "google-cloud-aiplatform >= 1.64", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_vita.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_vita.py new file mode 100644 index 000000000..be49f87b2 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_vita.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "loongsuite", + "package": "loongsuite-instrumentation-vita", + "instrumentation": "loongsuite-instrumentation-vita==0.7.0.dev", + "libraries": [ + "vita >= 0.0.1", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_webarena.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_webarena.py new file mode 100644 index 000000000..dae9a5933 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_webarena.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "loongsuite", + "package": "loongsuite-instrumentation-webarena", + "instrumentation": "loongsuite-instrumentation-webarena==0.7.0.dev", + "libraries": [ + "webarena >= 0.0.1", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_widesearch.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_widesearch.py new file mode 100644 index 000000000..b1e846631 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_widesearch.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "loongsuite", + "package": "loongsuite-instrumentation-widesearch", + "instrumentation": "loongsuite-instrumentation-widesearch==0.7.0.dev", + "libraries": [ + "widesearch >= 0.1.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_wildtool.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_wildtool.py new file mode 100644 index 000000000..703fb6e2b --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/loongsuite_instrumentation_wildtool.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "loongsuite", + "package": "loongsuite-instrumentation-wildtool", + "instrumentation": "loongsuite-instrumentation-wildtool==0.7.0.dev", + "libraries": [ + "openai >= 1.0.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_aio_pika.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_aio_pika.py new file mode 100644 index 000000000..1d16cb8ec --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_aio_pika.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-aio-pika", + "instrumentation": "opentelemetry-instrumentation-aio-pika==0.62b0.dev", + "libraries": [ + "aio_pika >= 7.2.0, < 10.0.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_aiohttp_client.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_aiohttp_client.py new file mode 100644 index 000000000..acd024944 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_aiohttp_client.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-aiohttp-client", + "instrumentation": "opentelemetry-instrumentation-aiohttp-client==0.62b0.dev", + "libraries": [ + "aiohttp ~= 3.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_aiohttp_server.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_aiohttp_server.py new file mode 100644 index 000000000..1506e867f --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_aiohttp_server.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-aiohttp-server", + "instrumentation": "opentelemetry-instrumentation-aiohttp-server==0.62b0.dev", + "libraries": [ + "aiohttp ~= 3.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_aiokafka.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_aiokafka.py new file mode 100644 index 000000000..e2d816b41 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_aiokafka.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-aiokafka", + "instrumentation": "opentelemetry-instrumentation-aiokafka==0.62b0.dev", + "libraries": [ + "aiokafka >= 0.8, < 1.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_aiopg.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_aiopg.py new file mode 100644 index 000000000..8aeb42600 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_aiopg.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-aiopg", + "instrumentation": "opentelemetry-instrumentation-aiopg==0.62b0.dev", + "libraries": [ + "aiopg >= 0.13.0, < 2.0.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_asgi.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_asgi.py new file mode 100644 index 000000000..7c2e32a13 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_asgi.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-asgi", + "instrumentation": "opentelemetry-instrumentation-asgi==0.62b0.dev", + "libraries": [ + "asgiref ~= 3.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_asyncclick.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_asyncclick.py new file mode 100644 index 000000000..a97d1b2ac --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_asyncclick.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-asyncclick", + "instrumentation": "opentelemetry-instrumentation-asyncclick==0.62b0.dev", + "libraries": [ + "asyncclick ~= 8.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_asyncio.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_asyncio.py new file mode 100644 index 000000000..9d01d6296 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_asyncio.py @@ -0,0 +1,28 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-asyncio", + "instrumentation": "opentelemetry-instrumentation-asyncio==0.62b0.dev", + "libraries": [], + "default": True, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_asyncpg.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_asyncpg.py new file mode 100644 index 000000000..f1a9a32ce --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_asyncpg.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-asyncpg", + "instrumentation": "opentelemetry-instrumentation-asyncpg==0.62b0.dev", + "libraries": [ + "asyncpg >= 0.12.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_boto.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_boto.py new file mode 100644 index 000000000..e663ebcdf --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_boto.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-boto", + "instrumentation": "opentelemetry-instrumentation-boto==0.62b0.dev", + "libraries": [ + "boto~=2.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_boto3sqs.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_boto3sqs.py new file mode 100644 index 000000000..d02ad15f6 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_boto3sqs.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-boto3sqs", + "instrumentation": "opentelemetry-instrumentation-boto3sqs==0.62b0.dev", + "libraries": [ + "boto3 ~= 1.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_botocore.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_botocore.py new file mode 100644 index 000000000..901d94d2d --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_botocore.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-botocore", + "instrumentation": "opentelemetry-instrumentation-botocore==0.62b0.dev", + "libraries": [ + "botocore ~= 1.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_cassandra.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_cassandra.py new file mode 100644 index 000000000..1d94395de --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_cassandra.py @@ -0,0 +1,31 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-cassandra", + "instrumentation": "opentelemetry-instrumentation-cassandra==0.62b0.dev", + "libraries": [ + "cassandra-driver ~= 3.25", + "scylla-driver ~= 3.25", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_celery.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_celery.py new file mode 100644 index 000000000..ddf609a98 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_celery.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-celery", + "instrumentation": "opentelemetry-instrumentation-celery==0.62b0.dev", + "libraries": [ + "celery >= 4.0, < 6.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_click.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_click.py new file mode 100644 index 000000000..68a3f2147 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_click.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-click", + "instrumentation": "opentelemetry-instrumentation-click==0.62b0.dev", + "libraries": [ + "click >= 8.1.3, < 9.0.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_confluent_kafka.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_confluent_kafka.py new file mode 100644 index 000000000..3cabe730b --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_confluent_kafka.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-confluent-kafka", + "instrumentation": "opentelemetry-instrumentation-confluent-kafka==0.62b0.dev", + "libraries": [ + "confluent-kafka >= 1.8.2, <= 2.13.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_dbapi.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_dbapi.py new file mode 100644 index 000000000..18b120fef --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_dbapi.py @@ -0,0 +1,28 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-dbapi", + "instrumentation": "opentelemetry-instrumentation-dbapi==0.62b0.dev", + "libraries": [], + "default": True, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_django.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_django.py new file mode 100644 index 000000000..fab22233d --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_django.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-django", + "instrumentation": "opentelemetry-instrumentation-django==0.62b0.dev", + "libraries": [ + "django >= 2.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_elasticsearch.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_elasticsearch.py new file mode 100644 index 000000000..130c9eec6 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_elasticsearch.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-elasticsearch", + "instrumentation": "opentelemetry-instrumentation-elasticsearch==0.62b0.dev", + "libraries": [ + "elasticsearch >= 6.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_falcon.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_falcon.py new file mode 100644 index 000000000..122144156 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_falcon.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-falcon", + "instrumentation": "opentelemetry-instrumentation-falcon==0.62b0.dev", + "libraries": [ + "falcon >= 1.4.1, < 5.0.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_fastapi.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_fastapi.py new file mode 100644 index 000000000..a1acbf4de --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_fastapi.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-fastapi", + "instrumentation": "opentelemetry-instrumentation-fastapi==0.62b0.dev", + "libraries": [ + "fastapi ~= 0.92", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_flask.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_flask.py new file mode 100644 index 000000000..acee2283f --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_flask.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-flask", + "instrumentation": "opentelemetry-instrumentation-flask==0.62b0.dev", + "libraries": [ + "flask >= 1.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_grpc.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_grpc.py new file mode 100644 index 000000000..7add9d8f7 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_grpc.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-grpc", + "instrumentation": "opentelemetry-instrumentation-grpc==0.62b0.dev", + "libraries": [ + "grpcio >= 1.42.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_httpx.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_httpx.py new file mode 100644 index 000000000..905296c6c --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_httpx.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-httpx", + "instrumentation": "opentelemetry-instrumentation-httpx==0.62b0.dev", + "libraries": [ + "httpx >= 0.18.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_jinja2.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_jinja2.py new file mode 100644 index 000000000..653cb5f3e --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_jinja2.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-jinja2", + "instrumentation": "opentelemetry-instrumentation-jinja2==0.62b0.dev", + "libraries": [ + "jinja2 >= 2.7, < 4.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_kafka_python.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_kafka_python.py new file mode 100644 index 000000000..01f8babf9 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_kafka_python.py @@ -0,0 +1,31 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-kafka-python", + "instrumentation": "opentelemetry-instrumentation-kafka-python==0.62b0.dev", + "libraries": [ + "kafka-python >= 2.0, < 3.0", + "kafka-python-ng >= 2.0, < 3.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_logging.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_logging.py new file mode 100644 index 000000000..81d741413 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_logging.py @@ -0,0 +1,28 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-logging", + "instrumentation": "opentelemetry-instrumentation-logging==0.62b0.dev", + "libraries": [], + "default": True, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_mysql.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_mysql.py new file mode 100644 index 000000000..aebea7485 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_mysql.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-mysql", + "instrumentation": "opentelemetry-instrumentation-mysql==0.62b0.dev", + "libraries": [ + "mysql-connector-python >= 8.0, < 10.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_mysqlclient.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_mysqlclient.py new file mode 100644 index 000000000..52de16e57 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_mysqlclient.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-mysqlclient", + "instrumentation": "opentelemetry-instrumentation-mysqlclient==0.62b0.dev", + "libraries": [ + "mysqlclient < 3", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_pika.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_pika.py new file mode 100644 index 000000000..c6ea2e41c --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_pika.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-pika", + "instrumentation": "opentelemetry-instrumentation-pika==0.62b0.dev", + "libraries": [ + "pika >= 0.12.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_psycopg.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_psycopg.py new file mode 100644 index 000000000..80099f91e --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_psycopg.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-psycopg", + "instrumentation": "opentelemetry-instrumentation-psycopg==0.62b0.dev", + "libraries": [ + "psycopg >= 3.1.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_psycopg2.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_psycopg2.py new file mode 100644 index 000000000..dc6aec88b --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_psycopg2.py @@ -0,0 +1,31 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-psycopg2", + "instrumentation": "opentelemetry-instrumentation-psycopg2==0.62b0.dev", + "libraries": [ + "psycopg2 >= 2.7.3.1", + "psycopg2-binary >= 2.7.3.1", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_pymemcache.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_pymemcache.py new file mode 100644 index 000000000..187dd7e25 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_pymemcache.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-pymemcache", + "instrumentation": "opentelemetry-instrumentation-pymemcache==0.62b0.dev", + "libraries": [ + "pymemcache >= 1.3.5, < 5", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_pymongo.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_pymongo.py new file mode 100644 index 000000000..58b121294 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_pymongo.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-pymongo", + "instrumentation": "opentelemetry-instrumentation-pymongo==0.62b0.dev", + "libraries": [ + "pymongo >= 3.1, < 5.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_pymssql.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_pymssql.py new file mode 100644 index 000000000..9eda0c7bc --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_pymssql.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-pymssql", + "instrumentation": "opentelemetry-instrumentation-pymssql==0.62b0.dev", + "libraries": [ + "pymssql >= 2.1.5, < 3", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_pymysql.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_pymysql.py new file mode 100644 index 000000000..c29a975af --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_pymysql.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-pymysql", + "instrumentation": "opentelemetry-instrumentation-pymysql==0.62b0.dev", + "libraries": [ + "PyMySQL < 2", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_pyramid.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_pyramid.py new file mode 100644 index 000000000..9b91055cb --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_pyramid.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-pyramid", + "instrumentation": "opentelemetry-instrumentation-pyramid==0.62b0.dev", + "libraries": [ + "pyramid >= 1.7", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_redis.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_redis.py new file mode 100644 index 000000000..013753002 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_redis.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-redis", + "instrumentation": "opentelemetry-instrumentation-redis==0.62b0.dev", + "libraries": [ + "redis >= 2.6", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_remoulade.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_remoulade.py new file mode 100644 index 000000000..f63ac28a9 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_remoulade.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-remoulade", + "instrumentation": "opentelemetry-instrumentation-remoulade==0.62b0.dev", + "libraries": [ + "remoulade >= 0.50", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_requests.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_requests.py new file mode 100644 index 000000000..294deaacf --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_requests.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-requests", + "instrumentation": "opentelemetry-instrumentation-requests==0.62b0.dev", + "libraries": [ + "requests ~= 2.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_sqlalchemy.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_sqlalchemy.py new file mode 100644 index 000000000..852daebb3 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_sqlalchemy.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-sqlalchemy", + "instrumentation": "opentelemetry-instrumentation-sqlalchemy==0.62b0.dev", + "libraries": [ + "sqlalchemy >= 1.0.0, < 2.1.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_sqlite3.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_sqlite3.py new file mode 100644 index 000000000..6dc8825ef --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_sqlite3.py @@ -0,0 +1,28 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-sqlite3", + "instrumentation": "opentelemetry-instrumentation-sqlite3==0.62b0.dev", + "libraries": [], + "default": True, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_starlette.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_starlette.py new file mode 100644 index 000000000..f63deec04 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_starlette.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-starlette", + "instrumentation": "opentelemetry-instrumentation-starlette==0.62b0.dev", + "libraries": [ + "starlette >= 0.13", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_system_metrics.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_system_metrics.py new file mode 100644 index 000000000..0d4028d53 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_system_metrics.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-system-metrics", + "instrumentation": "opentelemetry-instrumentation-system-metrics==0.62b0.dev", + "libraries": [ + "psutil >= 5", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_threading.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_threading.py new file mode 100644 index 000000000..30b9d9983 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_threading.py @@ -0,0 +1,28 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-threading", + "instrumentation": "opentelemetry-instrumentation-threading==0.62b0.dev", + "libraries": [], + "default": True, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_tornado.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_tornado.py new file mode 100644 index 000000000..6671bdcbd --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_tornado.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-tornado", + "instrumentation": "opentelemetry-instrumentation-tornado==0.62b0.dev", + "libraries": [ + "tornado >= 5.1.1", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_tortoiseorm.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_tortoiseorm.py new file mode 100644 index 000000000..1085e6eab --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_tortoiseorm.py @@ -0,0 +1,31 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-tortoiseorm", + "instrumentation": "opentelemetry-instrumentation-tortoiseorm==0.62b0.dev", + "libraries": [ + "tortoise-orm >= 0.17.0", + "pydantic >= 1.10.2", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_urllib.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_urllib.py new file mode 100644 index 000000000..860d1d3a9 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_urllib.py @@ -0,0 +1,28 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-urllib", + "instrumentation": "opentelemetry-instrumentation-urllib==0.62b0.dev", + "libraries": [], + "default": True, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_urllib3.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_urllib3.py new file mode 100644 index 000000000..fe06cefb3 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_urllib3.py @@ -0,0 +1,30 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-urllib3", + "instrumentation": "opentelemetry-instrumentation-urllib3==0.62b0.dev", + "libraries": [ + "urllib3 >= 1.0.0, < 3.0.0", + ], + "default": False, +} diff --git a/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_wsgi.py b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_wsgi.py new file mode 100644 index 000000000..139f20fd2 --- /dev/null +++ b/loongsuite-distro/src/loongsuite/distro/bootstrap_registry/opentelemetry_instrumentation_wsgi.py @@ -0,0 +1,28 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. +# RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. +# +# Generated with options: +# --upstream-version: (from source) +# --loongsuite-version: (from source) + +REGISTRY = { + "source": "upstream", + "package": "opentelemetry-instrumentation-wsgi", + "instrumentation": "opentelemetry-instrumentation-wsgi==0.62b0.dev", + "libraries": [], + "default": True, +} diff --git a/scripts/loongsuite/generate_loongsuite_bootstrap.py b/scripts/loongsuite/generate_loongsuite_bootstrap.py index cfd1f2b59..94217f201 100755 --- a/scripts/loongsuite/generate_loongsuite_bootstrap.py +++ b/scripts/loongsuite/generate_loongsuite_bootstrap.py @@ -15,10 +15,12 @@ # limitations under the License. """ -Generate bootstrap_gen.py for loongsuite-distro. +Generate bootstrap registry fragments for loongsuite-distro. -This script generates the libraries and default_instrumentations lists -used by loongsuite-bootstrap to install instrumentations. +This script generates one package-local registry fragment per instrumentation +package. The stable bootstrap_gen.py compatibility module imports those +fragments and exposes the libraries and default_instrumentations lists used by +loongsuite-bootstrap. Package naming and version strategy: - instrumentation-genai/* packages: renamed to loongsuite-* prefix @@ -40,8 +42,9 @@ """ import argparse -import ast +import json import logging +import re import subprocess import sys from pathlib import Path @@ -49,23 +52,107 @@ import tomli -# Allow importing sibling modules from the parent scripts/ directory -sys.path.insert(0, str(Path(__file__).resolve().parent.parent)) -from generate_instrumentation_bootstrap import ( - independent_packages, - packages_to_exclude, -) -from otel_packaging import ( - get_instrumentation_packages as get_upstream_packages, -) - logging.basicConfig(level=logging.INFO) logger = logging.getLogger("loongsuite_bootstrap_generator") scripts_path = Path(__file__).parent root_path = scripts_path.parent.parent +SOURCE_GENAI_RENAMED = "genai-renamed" +SOURCE_UPSTREAM = "upstream" +SOURCE_LOONGSUITE = "loongsuite" + +bootstrap_dir = ( + root_path / "loongsuite-distro" / "src" / "loongsuite" / "distro" +) +registry_path = bootstrap_dir / "bootstrap_registry" +gen_path = bootstrap_dir / "bootstrap_gen.py" + +_bootstrap_gen_template = """{header} + +\"\"\"Compatibility exports for the LoongSuite bootstrap registry.\"\"\" + +from loongsuite.distro.bootstrap_registry import ( + default_instrumentations, + libraries, +) + +__all__ = [\"default_instrumentations\", \"libraries\"] +""" + +_registry_init_template = """{header} + +\"\"\"Package-scoped bootstrap registry fragments for LoongSuite distro.\"\"\" + +from __future__ import annotations + +from importlib import import_module +from pkgutil import iter_modules +from typing import Any + + +_SOURCE_SORT_ORDER = { + "genai-renamed": 0, + "upstream": 1, + "loongsuite": 2, +} + + +def _iter_registry_entries() -> list[dict[str, Any]]: + entries: list[dict[str, Any]] = [] + package_path = globals()["__path__"] + for module_info in sorted( + iter_modules(package_path), + key=lambda info: info.name, + ): + if module_info.ispkg or module_info.name.startswith(\"_\"): + continue + + module = import_module(f\"{__name__}.{module_info.name}\") + registry = getattr(module, \"REGISTRY\", None) + if registry is not None: + entries.append(registry) + + return sorted( + entries, + key=lambda registry: ( + _SOURCE_SORT_ORDER.get(registry.get("source"), 99), + registry.get("package", ""), + ), + ) + + +def load_bootstrap_registry() -> tuple[list[dict[str, str]], list[str]]: + libraries: list[dict[str, str]] = [] + default_instrumentations: list[str] = [] + + for registry in _iter_registry_entries(): + instrumentation = registry[\"instrumentation\"] + target_libraries = registry.get(\"libraries\") or [] + if not target_libraries: + default_instrumentations.append(instrumentation) + continue + + for target_library in target_libraries: + libraries.append( + { + \"library\": target_library, + \"instrumentation\": instrumentation, + } + ) -_template = """{header} + return libraries, default_instrumentations + + +libraries, default_instrumentations = load_bootstrap_registry() + +__all__ = [ + \"default_instrumentations\", + \"libraries\", + \"load_bootstrap_registry\", +] +""" + +_registry_fragment_template = """{header} # DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES. # RUN `python scripts/loongsuite/generate_loongsuite_bootstrap.py` TO REGENERATE. @@ -74,20 +161,121 @@ # --upstream-version: {upstream_version} # --loongsuite-version: {loongsuite_version} -{source} +REGISTRY = {registry} """ -gen_path = ( - root_path - / "loongsuite-distro" - / "src" - / "loongsuite" - / "distro" - / "bootstrap_gen.py" -) + +def _registry_module_name(package_name: str) -> str: + """Return a stable Python module name for a package registry fragment.""" + normalized = package_name.replace("-", "_").replace(".", "_").lower() + return re.sub(r"[^a-z0-9_]", "_", normalized) + + +def _registry_entry(pkg: dict) -> dict: + libraries = [ + *pkg.get("instruments", []), + *pkg.get("instruments-any", []), + ] + return { + "source": pkg.get("bootstrap-source", "unknown"), + "package": pkg["name"], + "instrumentation": pkg["requirement"], + "libraries": libraries, + "default": not libraries, + } + + +def _render_python_string(value: str) -> str: + return json.dumps(value) + + +def _render_registry_literal(entry: dict) -> str: + lines = [ + "{", + f' "source": {_render_python_string(entry["source"])},', + f' "package": {_render_python_string(entry["package"])},', + ( + ' "instrumentation": ' + f"{_render_python_string(entry['instrumentation'])}," + ), + ] + + if entry["libraries"]: + lines.append(' "libraries": [') + for library in entry["libraries"]: + lines.append(f" {_render_python_string(library)},") + lines.append(" ],") + else: + lines.append(' "libraries": [],') + + lines.extend( + [ + f' "default": {entry["default"]},', + "}", + ] + ) + return "\n".join(lines) -def get_genai_packages_to_rename() -> dict[str, str]: +def _render_registry_module( + entry: dict, + header: str, + upstream_version: Optional[str], + loongsuite_version: Optional[str], +) -> str: + registry = _render_registry_literal(entry) + return _registry_fragment_template.format( + header=header, + registry=registry, + upstream_version=upstream_version or "(from source)", + loongsuite_version=loongsuite_version or "(from source)", + ) + + +def _write_registry_init(header: str) -> None: + registry_path.mkdir(parents=True, exist_ok=True) + with open(registry_path / "__init__.py", "w", encoding="utf-8") as f: + f.write(_registry_init_template.replace("{header}", header)) + + +def _write_bootstrap_gen(header: str) -> None: + gen_path.parent.mkdir(parents=True, exist_ok=True) + with open(gen_path, "w", encoding="utf-8") as f: + f.write(_bootstrap_gen_template.format(header=header)) + + +def _remove_stale_registry_fragments() -> None: + if not registry_path.exists(): + return + + for path in registry_path.glob("*.py"): + if path.name == "__init__.py" or path.name.startswith("_"): + continue + path.unlink() + + +def _load_upstream_bootstrap_context(): + # Import the upstream bootstrap helper only when full package scanning runs. + # Unit tests for the local registry rendering helpers should not need the + # upstream generator's formatting dependencies. + scripts_parent = str(Path(__file__).resolve().parent.parent) + if scripts_parent not in sys.path: + sys.path.insert(0, scripts_parent) + + from generate_instrumentation_bootstrap import ( # noqa: PLC0415 + independent_packages, + packages_to_exclude, + ) + from otel_packaging import ( # noqa: PLC0415 + get_instrumentation_packages as get_upstream_packages, + ) + + return independent_packages, packages_to_exclude, get_upstream_packages + + +def get_genai_packages_to_rename( + excluded_packages: Optional[set[str]] = None, +) -> dict[str, str]: """ Dynamically discover instrumentation-genai packages that need renaming. @@ -98,6 +286,7 @@ def get_genai_packages_to_rename() -> dict[str, str]: Dict mapping original name to new name, e.g.: {"opentelemetry-instrumentation-vertexai": "loongsuite-instrumentation-vertexai"} """ + excluded_packages = excluded_packages or set() result = {} genai_dir = root_path / "instrumentation-genai" @@ -113,7 +302,7 @@ def get_genai_packages_to_rename() -> dict[str, str]: # Rule: opentelemetry-* prefix packages should be renamed to loongsuite-* if pkg_name.startswith("opentelemetry-"): # Skip packages in upstream exclude list - if pkg_name in packages_to_exclude: + if pkg_name in excluded_packages: continue new_name = pkg_name.replace("opentelemetry-", "loongsuite-") @@ -142,9 +331,15 @@ def get_instrumentation_packages( seen_packages: dict[str, int] = {} # name -> index in packages list logger.info("Scanning instrumentation packages...") + ( + independent_packages, + packages_to_exclude, + get_upstream_packages, + ) = _load_upstream_bootstrap_context() + excluded_packages = set(packages_to_exclude) # Dynamically get packages that need renaming - genai_packages_to_rename = get_genai_packages_to_rename() + genai_packages_to_rename = get_genai_packages_to_rename(excluded_packages) # Get packages from upstream directories (instrumentation, instrumentation-genai) logger.info( @@ -156,7 +351,7 @@ def get_instrumentation_packages( pkg_name = pkg["name"] # Skip packages in exclude list (follow upstream behavior) - if pkg_name in packages_to_exclude: + if pkg_name in excluded_packages: continue # Check if this package should be renamed (instrumentation-genai with opentelemetry-* prefix) @@ -164,6 +359,7 @@ def get_instrumentation_packages( new_name = genai_packages_to_rename[pkg_name] logger.info(f"Renaming {pkg_name} -> {new_name}") pkg["name"] = new_name + pkg["bootstrap-source"] = SOURCE_GENAI_RENAMED # Use loongsuite version for renamed packages if loongsuite_version: @@ -174,6 +370,8 @@ def get_instrumentation_packages( pkg_name, new_name ) else: + pkg["bootstrap-source"] = SOURCE_UPSTREAM + # Use upstream version for opentelemetry-* packages if upstream_version and pkg_name.startswith("opentelemetry-"): pkg["requirement"] = f"{pkg_name}=={upstream_version}" @@ -216,7 +414,7 @@ def get_instrumentation_packages( pkg_name = pyproject["project"]["name"] - if pkg_name in packages_to_exclude: + if pkg_name in excluded_packages: continue # Get optional dependencies @@ -240,6 +438,7 @@ def get_instrumentation_packages( requirement = f"{pkg_name}=={version}" new_pkg = { + "bootstrap-source": SOURCE_LOONGSUITE, "name": pkg_name, "version": version, "instruments": instruments, @@ -271,7 +470,7 @@ def get_instrumentation_packages( def main(): parser = argparse.ArgumentParser( - description="Generate bootstrap_gen.py for loongsuite-distro" + description="Generate bootstrap registry fragments for loongsuite-distro" ) parser.add_argument( "--upstream-version", @@ -302,126 +501,44 @@ def main(): ) logger.info(f"Found {len(packages)} instrumentation packages") - # Build AST nodes - default_instrumentations = ast.List(elts=[]) - libraries = ast.List(elts=[]) - - logger.info("Building bootstrap configuration...") - for pkg in packages: - # If no instruments and no instruments-any, it's a default instrumentation - if not pkg.get("instruments") and not pkg.get("instruments-any"): - default_instrumentations.elts.append( - ast.Constant(value=pkg["requirement"]) - ) - else: - # Add instruments (all must be installed) - for target_pkg in pkg.get("instruments", []): - libraries.elts.append( - ast.Dict( - keys=[ - ast.Constant(value="library"), - ast.Constant(value="instrumentation"), - ], - values=[ - ast.Constant(value=target_pkg), - ast.Constant(value=pkg["requirement"]), - ], - ) - ) + entries = [_registry_entry(pkg) for pkg in packages] + default_instrumentations = [entry for entry in entries if entry["default"]] + library_mappings = sum(len(entry["libraries"]) for entry in entries) - # Add instruments-any (at least one must be installed) - for target_pkg in pkg.get("instruments-any", []): - libraries.elts.append( - ast.Dict( - keys=[ - ast.Constant(value="library"), - ast.Constant(value="instrumentation"), - ], - values=[ - ast.Constant(value=target_pkg), - ast.Constant(value=pkg["requirement"]), - ], - ) - ) + logger.info("Generating bootstrap registry fragments...") + _write_registry_init(header) + _write_bootstrap_gen(header) + _remove_stale_registry_fragments() - # Generate source code - logger.info("Generating source code...") - # Build libraries list string - libraries_lines = ["libraries = ["] - for lib_mapping in libraries.elts: - if isinstance(lib_mapping, ast.Dict): - lib_key = lib_mapping.keys[0] - instr_key = lib_mapping.keys[1] - lib_val_node = lib_mapping.values[0] - instr_val_node = lib_mapping.values[1] - - lib_key_str = ( - lib_key.value - if isinstance(lib_key, ast.Constant) - else (lib_key.s if hasattr(lib_key, "s") else "library") + written_paths: set[Path] = set() + for entry in entries: + registry_file = ( + registry_path / f"{_registry_module_name(entry['package'])}.py" + ) + if registry_file in written_paths: + raise RuntimeError( + f"duplicate bootstrap registry fragment: {registry_file}" ) - instr_key_str = ( - instr_key.value - if isinstance(instr_key, ast.Constant) - else ( - instr_key.s - if hasattr(instr_key, "s") - else "instrumentation" + written_paths.add(registry_file) + + with open(registry_file, "w", encoding="utf-8") as f: + f.write( + _render_registry_module( + entry, + header, + args.upstream_version, + args.loongsuite_version, ) ) - lib_val_str = ( - lib_val_node.value - if isinstance(lib_val_node, ast.Constant) - else (lib_val_node.s if hasattr(lib_val_node, "s") else "") - ) - instr_val_str = ( - instr_val_node.value - if isinstance(instr_val_node, ast.Constant) - else (instr_val_node.s if hasattr(instr_val_node, "s") else "") - ) - - lib_val_str = lib_val_str.replace('"', '\\"') - instr_val_str = instr_val_str.replace('"', '\\"') - libraries_lines.append(" {") - libraries_lines.append( - f' "{lib_key_str}": "{lib_val_str}",' - ) - libraries_lines.append( - f' "{instr_key_str}": "{instr_val_str}",' - ) - libraries_lines.append(" },") - libraries_lines.append("]") - - # Build default_instrumentations list string - default_lines = ["default_instrumentations = ["] - for default_instr in default_instrumentations.elts: - if isinstance(default_instr, ast.Constant): - instr_val = default_instr.value.replace('"', '\\"') - default_lines.append(f' "{instr_val}",') - default_lines.append("]") - - # Combine source - source = "\n".join(libraries_lines) + "\n\n" + "\n".join(default_lines) - - # Format with header and version info - formatted_source = _template.format( - header=header, - source=source, - upstream_version=args.upstream_version or "(from source)", - loongsuite_version=args.loongsuite_version or "(from source)", + logger.info( + "generated %d registry fragments in %s", len(entries), registry_path ) - - # Write to file - gen_path.parent.mkdir(parents=True, exist_ok=True) - with open(gen_path, "w", encoding="utf-8") as f: - f.write(formatted_source) - logger.info("generated %s", gen_path) logger.info( - " - %d default instrumentations", len(default_instrumentations.elts) + " - %d default instrumentations", len(default_instrumentations) ) - logger.info(" - %d library mappings", len(libraries.elts)) + logger.info(" - %d library mappings", library_mappings) if __name__ == "__main__": diff --git a/scripts/loongsuite/tests/test_generate_loongsuite_bootstrap.py b/scripts/loongsuite/tests/test_generate_loongsuite_bootstrap.py new file mode 100644 index 000000000..64f1565e2 --- /dev/null +++ b/scripts/loongsuite/tests/test_generate_loongsuite_bootstrap.py @@ -0,0 +1,172 @@ +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +from __future__ import annotations + +import importlib.util +import sys +from pathlib import Path + +SCRIPT_PATH = Path(__file__).parents[1] / "generate_loongsuite_bootstrap.py" +SPEC = importlib.util.spec_from_file_location( + "generate_loongsuite_bootstrap", + SCRIPT_PATH, +) +generate = importlib.util.module_from_spec(SPEC) +SPEC.loader.exec_module(generate) + + +def test_registry_module_name_normalizes_package_name(): + assert ( + generate._registry_module_name("loongsuite-instrumentation-crewai") + == "loongsuite_instrumentation_crewai" + ) + assert ( + generate._registry_module_name( + "opentelemetry-instrumentation-aiohttp-client" + ) + == "opentelemetry_instrumentation_aiohttp_client" + ) + + +def test_registry_entry_combines_instruments_and_marks_default(): + entry = generate._registry_entry( + { + "name": "loongsuite-instrumentation-crewai", + "bootstrap-source": "loongsuite", + "requirement": "loongsuite-instrumentation-crewai==0.1.0", + "instruments": ["crewai >= 0.100.0"], + "instruments-any": ["crewai-tools >= 0.40.0"], + } + ) + + assert entry == { + "source": "loongsuite", + "package": "loongsuite-instrumentation-crewai", + "instrumentation": "loongsuite-instrumentation-crewai==0.1.0", + "libraries": ["crewai >= 0.100.0", "crewai-tools >= 0.40.0"], + "default": False, + } + + default_entry = generate._registry_entry( + { + "name": "loongsuite-instrumentation-dashscope", + "bootstrap-source": "loongsuite", + "requirement": "loongsuite-instrumentation-dashscope==0.1.0", + } + ) + + assert default_entry == { + "source": "loongsuite", + "package": "loongsuite-instrumentation-dashscope", + "instrumentation": "loongsuite-instrumentation-dashscope==0.1.0", + "libraries": [], + "default": True, + } + + +def test_render_registry_module_contains_local_metadata(): + source = generate._render_registry_module( + { + "source": "loongsuite", + "package": "loongsuite-instrumentation-crewai", + "instrumentation": "loongsuite-instrumentation-crewai==0.1.0", + "libraries": ["crewai >= 0.100.0"], + "default": False, + }, + "# license", + upstream_version="0.62b0", + loongsuite_version="0.1.0", + ) + + assert "REGISTRY = {" in source + assert '"source": "loongsuite"' in source + assert '"package": "loongsuite-instrumentation-crewai"' in source + assert "--upstream-version: 0.62b0" in source + assert "--loongsuite-version: 0.1.0" in source + + +def test_registry_loader_builds_bootstrap_gen_compatible_lists(tmp_path): + package_name = "test_bootstrap_registry" + package_path = tmp_path / package_name + package_path.mkdir() + (package_path / "__init__.py").write_text( + generate._registry_init_template.replace("{header}", "# license"), + encoding="utf-8", + ) + (package_path / "loongsuite_instrumentation_crewai.py").write_text( + "REGISTRY = {\n" + " 'source': 'loongsuite',\n" + " 'package': 'loongsuite-instrumentation-crewai',\n" + " 'instrumentation': 'loongsuite-instrumentation-crewai==0.1.0',\n" + " 'libraries': ['crewai >= 0.100.0'],\n" + " 'default': False,\n" + "}\n", + encoding="utf-8", + ) + (package_path / "loongsuite_instrumentation_dashscope.py").write_text( + "REGISTRY = {\n" + " 'source': 'loongsuite',\n" + " 'package': 'loongsuite-instrumentation-dashscope',\n" + " 'instrumentation': 'loongsuite-instrumentation-dashscope==0.1.0',\n" + " 'libraries': [],\n" + " 'default': True,\n" + "}\n", + encoding="utf-8", + ) + ( + package_path / "opentelemetry_instrumentation_aiohttp_client.py" + ).write_text( + "REGISTRY = {\n" + " 'source': 'upstream',\n" + " 'package': 'opentelemetry-instrumentation-aiohttp-client',\n" + " 'instrumentation': " + "'opentelemetry-instrumentation-aiohttp-client==0.62b0.dev',\n" + " 'libraries': ['aiohttp ~= 3.0'],\n" + " 'default': False,\n" + "}\n", + encoding="utf-8", + ) + + spec = importlib.util.spec_from_file_location( + package_name, + package_path / "__init__.py", + submodule_search_locations=[str(package_path)], + ) + registry = importlib.util.module_from_spec(spec) + sys.modules[package_name] = registry + try: + spec.loader.exec_module(registry) + finally: + for module_name in list(sys.modules): + if module_name == package_name or module_name.startswith( + f"{package_name}." + ): + del sys.modules[module_name] + + assert registry.libraries == [ + { + "library": "aiohttp ~= 3.0", + "instrumentation": ( + "opentelemetry-instrumentation-aiohttp-client==0.62b0.dev" + ), + }, + { + "library": "crewai >= 0.100.0", + "instrumentation": "loongsuite-instrumentation-crewai==0.1.0", + }, + ] + assert registry.default_instrumentations == [ + "loongsuite-instrumentation-dashscope==0.1.0" + ] diff --git a/tox-loongsuite.ini b/tox-loongsuite.ini index 108c6706d..a7d561795 100644 --- a/tox-loongsuite.ini +++ b/tox-loongsuite.ini @@ -206,6 +206,7 @@ deps = util-genai: {toxinidir}/util/opentelemetry-util-genai detect-loongsuite-changes: pytest + detect-loongsuite-changes: tomli litellm: {[testenv]test_deps} litellm: -r {toxinidir}/instrumentation-loongsuite/loongsuite-instrumentation-litellm/tests/test-requirements.txt @@ -314,7 +315,7 @@ commands = lint-util-genai: sh -c "cd util && pylint --rcfile ../.pylintrc opentelemetry-util-genai" ; This env covers the detector and selector scripts used by dynamic LoongSuite CI. - test-detect-loongsuite-changes: pytest {toxinidir}/.github/scripts/tests {posargs} + test-detect-loongsuite-changes: pytest {toxinidir}/.github/scripts/tests {toxinidir}/scripts/loongsuite/tests {posargs} test-loongsuite-instrumentation-litellm: pytest {toxinidir}/instrumentation-loongsuite/loongsuite-instrumentation-litellm/tests {posargs} lint-loongsuite-instrumentation-litellm: python -m ruff check {toxinidir}/instrumentation-loongsuite/loongsuite-instrumentation-litellm