-
Notifications
You must be signed in to change notification settings - Fork 571
Open
Labels
PythonSDKSDK
Description
Some of the span attributes that are used in the Python SDK are not yet documented in sentry-conventions or are deprecated and should be changed to a new name.
This is important because sentry-conventions should be the single source of truth. There will be code generation in place for SDKs and also relay so everyone uses the same attributes:
At the time of writing those are:
Deprecated:
ATTRIBUTE_NAMES.CODE_FILEPATHATTRIBUTE_NAMES.CODE_FUNCTIONATTRIBUTE_NAMES.CODE_LINENOATTRIBUTE_NAMES.CODE_NAMESPACEATTRIBUTE_NAMES.DB_NAMEATTRIBUTE_NAMES.DB_OPERATIONATTRIBUTE_NAMES.DB_SYSTEMATTRIBUTE_NAMES.HTTP_METHODATTRIBUTE_NAMES.HTTP_STATUS_CODE
Missing:
DB_MONGODB_COLLECTIONPROFILER_IDSERVER_SOCKET_ADDRESS
There are also AI related attributes missing or deprecated. But those are all from the cohere integration and are tracked by the Update Cohere ticket:
Deprecated:
ATTRIBUTE_NAMES.AI_FINISH_REASONATTRIBUTE_NAMES.AI_FREQUENCY_PENALTYATTRIBUTE_NAMES.AI_GENERATION_IDATTRIBUTE_NAMES.AI_INPUT_MESSAGESATTRIBUTE_NAMES.AI_MODEL_IDATTRIBUTE_NAMES.AI_PRESENCE_PENALTYATTRIBUTE_NAMES.AI_RESPONSESATTRIBUTE_NAMES.AI_SEEDATTRIBUTE_NAMES.AI_STREAMINGATTRIBUTE_NAMES.AI_TOOL_CALLSATTRIBUTE_NAMES.AI_TOOLSATTRIBUTE_NAMES.AI_TOP_KATTRIBUTE_NAMES.AI_TOP_P
Missing:
AI_SEARCH_REQUIRED
Metadata
Metadata
Assignees
Labels
PythonSDKSDK