qwen-code/packages/core/src/telemetry
jerop d96af8bacd refactor(telemetry): pass config object to telemetry functions
This commit refactors the telemetry system to pass a  object to various logging and metrics functions. This change centralizes configuration management within the telemetry system, making it more modular and easier to maintain.

The  constructor and various tool execution functions have been updated to accept the  object, which is then passed down to the telemetry functions. This eliminates the need to pass individual configuration values, such as , through multiple layers of the application.
2025-06-11 13:24:41 -04:00
..
constants.ts update token usage with types 2025-06-11 10:38:07 -04:00
index.ts refactor: Centralize session ID generation and propagation 2025-06-11 01:18:40 -04:00
loggers.ts refactor(telemetry): pass config object to telemetry functions 2025-06-11 13:24:41 -04:00
metrics.test.ts refactor(telemetry): pass config object to telemetry functions 2025-06-11 13:24:41 -04:00
metrics.ts refactor(telemetry): pass config object to telemetry functions 2025-06-11 13:24:41 -04:00
sdk.ts refactor(telemetry): pass config object to telemetry functions 2025-06-11 13:24:41 -04:00
types.ts update token usage with types 2025-06-11 10:38:07 -04:00