You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am seeing these telemetry warnings all over my stdout output
%6|123.795|GETSUBSCRIPTIONS|my-chat#producer-2| [thrd:main]: Telemetry client instance id changed from AAAAAAAAAAAAAAAAAAAAAA to asbgahgjksgbjk
WARNING:opentelemetry.attributes:Invalid type NoneType for attribute '__computed__.cumulative_token_count.completion' value. Expected one of ['bool', 'str', 'bytes', 'int', 'float'] or a sequence of those types
WARNING:opentelemetry.attributes:Invalid type NoneType for attribute '__computed__.cumulative_token_count.prompt' value. Expected one of ['bool', 'str', 'bytes', 'int', 'float'] or a sequence of those types
WARNING:opentelemetry.attributes:Invalid type NoneType for attribute 'llm.usage.completion_tokens_details' value. Expected one of ['bool', 'str', 'bytes', 'int', 'float'] or a sequence of those types
WARNING:opentelemetry.attributes:Invalid type NoneType for attribute 'llm.usage.prompt_tokens_details' value. Expected one of ['bool', 'str', 'bytes', 'int', 'float'] or a sequence of those types
I do not want to see these anymore. I have tried running
> pf config set telemetry.enabled=false
Set config [{'telemetry.enabled': 'false'}] successfully.
but that does not seem to have any effect on run output.
I also tried creating a pf.yaml file in ~./promptflow
The contents of this file looks like
telemetry.enabled=false
How To Reproduce the bug
Steps to reproduce the behavior, how frequent can you experience the bug:
%6|123.795|GETSUBSCRIPTIONS|my-chat#producer-2| [thrd:main]: Telemetry client instance id changed from AAAAAAAAAAAAAAAAAAAAAA to asbgahgjksgbjk
WARNING:opentelemetry.attributes:Invalid type NoneType for attribute '__computed__.cumulative_token_count.completion' value. Expected one of ['bool', 'str', 'bytes', 'int', 'float'] or a sequence of those types
WARNING:opentelemetry.attributes:Invalid type NoneType for attribute '__computed__.cumulative_token_count.prompt' value. Expected one of ['bool', 'str', 'bytes', 'int', 'float'] or a sequence of those types
WARNING:opentelemetry.attributes:Invalid type NoneType for attribute 'llm.usage.completion_tokens_details' value. Expected one of ['bool', 'str', 'bytes', 'int', 'float'] or a sequence of those types
WARNING:opentelemetry.attributes:Invalid type NoneType for attribute 'llm.usage.prompt_tokens_details' value. Expected one of ['bool', 'str', 'bytes', 'int', 'float'] or a sequence of those types
to appear in stdout. I do not want these telemetry calls to run.
Screenshots
If applicable, add screenshots to help explain your problem.
Running Information(please complete the following information):
Describe the bug
I am seeing these telemetry warnings all over my stdout output
I do not want to see these anymore. I have tried running
but that does not seem to have any effect on run output.
I also tried creating a pf.yaml file in ~./promptflow
The contents of this file looks like
How To Reproduce the bug
Steps to reproduce the behavior, how frequent can you experience the bug:
Expected behavior
I expect none of these logs
to appear in stdout. I do not want these telemetry calls to run.
Screenshots
If applicable, add screenshots to help explain your problem.
Running Information(please complete the following information):
pf -v
:python --version
: python==3.11.10The text was updated successfully, but these errors were encountered: