Skip to main content

fiddler-adk

Fiddler SDK for instrumenting Google ADK (Agent Development Kit) with OpenTelemetry.

This package lives in the fiddler-sdk monorepo under packages/integrations/fiddler-adk/. It depends on fiddler-otel for the OTel pipeline, span attributes, and span processing.

Install

pip install fiddler-adk

Usage

from fiddler_otel import FiddlerClient
from fiddler_adk import GoogleADKInstrumentor

client = FiddlerClient(
    api_key='YOUR_API_KEY',
    application_id='YOUR_APPLICATION_ID',  # UUID4 from the Fiddler GenAI Applications page
    url='https://your-instance.fiddler.ai',
)
GoogleADKInstrumentor(client).instrument()

# Build and run ADK agents as usual — traces flow to Fiddler automatically.

How it works

Google ADK emits OpenTelemetry spans natively (invoke_agent, call_llm, execute_tool, ...) through a tracer that resolves against the global tracer provider. GoogleADKInstrumentor.instrument():

  1. Sets up an isolated Fiddler tracing pipeline. Uses FiddlerClient to initialise a dedicated tracer, provider, processor, and OTLP exporter. The client's provider is promoted to global so ADK's gcp.vertex.agent tracer resolves to it. The SDK operates in standalone mode — it does not interact with customer-configured tracers or providers.
  2. Propagates session identity. ADK sets gen_ai.conversation.id on child spans (invoke_agent, call_llm, etc.) but not on the parent invocation root span. The ADKSpanProcessor backfills it to the root so the Fiddler UI can group all spans in a turn under the same session.

Span-type classification, content extraction (LLM input/output, tool I/O, system instructions), and attribute normalization are handled by the Fiddler backend — the SDK does not parse or transform ADK's content attributes.

Supported versions

  • google-adk >= 1.34.2
  • opentelemetry-api >= 1.37.0
  • Python 3.10+

Content capture

ADK includes full LLM request/response payloads in span attributes by default. Set ADK_CAPTURE_MESSAGE_CONTENT_IN_SPANS=false to disable ADK's payload capture if your prompts may contain PII.

See examples/ in this directory for a runnable agent.

Metadata

Release files for fiddler-adk 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fiddler-adk 1.1.1
File Size Uploaded
fiddler_adk-1.1.1.tar.gz 8.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fiddler-adk 1.1.1
File Interpreter ABI Platform
fiddler_adk-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 15.2 kB

Release files / fiddler_adk-1.1.1.tar.gz

Download URL fiddler_adk-1.1.1.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6e06d4cf085caed45c2ec7a3c07af84c2efcdbdb3304a5fb7c50632303aa83e0
BLAKE2b-256 checksum
How to use checksums
74aa87dfc3e63f0d3bde3715d98fe79632ac9d49cbc0933eaf251654aa769768
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 21, 2026.

Transparency log

Release files / fiddler_adk-1.1.1-py3-none-any.whl

Download URL fiddler_adk-1.1.1-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
095650af18699ba26ba26295f85e07e221956289c0db696f5869aca6d56b48b6
BLAKE2b-256 checksum
How to use checksums
55f1b4bf00f0e1a6c7d7b753a3f35e5c98a243d31ce546fa208a5d5fe72506ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 21, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

1.1.0

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page