jawoszek

Results comments of jawoszek

FYI we plan to add customization of OTel setup via cli flags and env variables over next few weeks. It should cover most requirements from the request and comments.

Some related experimental changes were recently merged - e.g. https://github.com/google/adk-python/commit/7870480c63bb4fc08cfb3cabc0e1f0458f0e85bd, https://github.com/google/adk-python/commit/cee365a13d0d1b1f2be046c1cc29e24a8d1fdbcc, https://github.com/google/adk-python/commit/f157b2ee4caf4055e78f4657254e45913895f5de They include support for standard OTel env variables - https://opentelemetry.io/docs/languages/sdk-configuration/otlp-exporter/ - if the `*_ENDPOINT` vars are set, ADK...

>Any news regarding the missing user_id and session_id in Langfuse? Session id attribute should be now present in `invoke_agent` and `generate_content` spans (see `GEN_AI_CONVERSATION_ID` usage in https://github.com/google/adk-python/blob/main/src/google/adk/telemetry/tracing.py) User id should...

@Jacksunwei I'll work on it, thanks @aabmass for hints!

The detach errors were fixed in https://github.com/google/adk-python/pull/2383 for most built-in agents (released in https://github.com/google/adk-python/releases/tag/v1.11.0) and in https://github.com/google/adk-python/pull/2601 for parallel agents (to be released next week). If anyone encounters this while...

@Netzeband yes, code in the tutorial was not updated with the fix and the `break` is triggering the issue. The simplest fix is to follow the `aclose()` example from https://github.com/google/adk-python/blob/ad81aa54de1f38df580915b7f47834ea8e5f1004/contributing/samples/telemetry/main.py#L51-L61...

Right, all three options should be equivalent apart from requiring different Python/ADK versions: ```python # requires Python >= 3.10 import contextlib async with contextlib.aclosing(runner.run_async(...)) as agen: async for event in...

@schlaepf could you share a snippet of the endpoint code where the break is?

@schlaepf apologies for the delay. Without explicit break I'm not able to easily reproduce. Below works as expected, no detach errors: Working code without break ```python import os from typing...

As discussed in https://github.com/google/adk-python/pull/2575 - tracing in ADK should be compliant with OTel semantic convention now. I'm closing this - but if you notice anything missing, please let us know!