Skip to main content

Respan instrumentation plugin for IBM watsonx Orchestrate ADK

Project description

respan-instrumentation-watson-orchestrate-adk

Respan instrumentation plugin for the IBM watsonx Orchestrate ADK (ibm-watsonx-orchestrate).

The package uses native patching because no mature upstream OpenTelemetry or OpenInference Watson Orchestrate ADK instrumentor is available. It traces:

  • local PythonTool execution as tool spans
  • generated RunClient run submission/completion methods as agent spans
  • ADK chat and watsonx.ai autodiscover client calls as chat spans when those client modules are installed

Installation

pip install respan-ai respan-instrumentation-watson-orchestrate-adk ibm-watsonx-orchestrate

Usage

from respan import Respan
from respan_instrumentation_watson_orchestrate_adk import (
    WatsonOrchestrateADKInstrumentor,
)

respan = Respan(
    instrumentations=[WatsonOrchestrateADKInstrumentor()],
)

Initialize Respan before invoking Watson Orchestrate ADK tools, run clients, or chat clients. The instrumentor does not require the ADK package at import time; missing optional client surfaces are skipped during activation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file respan_instrumentation_watson_orchestrate_adk-0.1.0.tar.gz.

File metadata

File hashes

Hashes for respan_instrumentation_watson_orchestrate_adk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 06b33ba869cacdb52087ab574e935c771bd297d125dcd5c2a5bd0276d8a40171
MD5 7e0082a7188b50d683117c57a75ec7b1
BLAKE2b-256 41b8acace5ad42620b929a71373ec99d3b7680aed65c64976a8817a0f64617f3

See more details on using hashes here.

File details

Details for the file respan_instrumentation_watson_orchestrate_adk-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for respan_instrumentation_watson_orchestrate_adk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 89060a5c2d3445cd06a5a88ce01d19628c71c8656999678cb09aad2dabcc0bba
MD5 b8404d9a85c68b5a918f8bc97db813b0
BLAKE2b-256 e3f68239fb7a55b9a1be3174792e2f1d191fc11f1b3cd25e2b49f521b704aba4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page