Stay organized with collectionsSave and categorize content based on your preferences.
Client-side traces, which are collected by
executing RPCs, provide several pieces of information for every request from a
client, including spans with timestamps of when the client sent the RPC request
and when the client received the RPC response. The spans include latency
introduced by the network and client system.
Client-side traces can include the following information:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eClient-side traces capture data for each client request, including spans that detail when the request was sent and when the response was received, as well as network and client system latency.\u003c/p\u003e\n"],["\u003cp\u003eSpan metadata in client-side traces includes unique span IDs, parent span IDs, project IDs, and the start and end times of the spans.\u003c/p\u003e\n"],["\u003cp\u003eSpan attributes provide information on client version, client environment, client connection properties, database properties, client RPC retry settings, and OpenTelemetry configuration.\u003c/p\u003e\n"],["\u003cp\u003eClient-side traces offer logs and events for lookup, commit, and runQuery actions, giving details such as counts, transactional status, transaction ID, and consistency.\u003c/p\u003e\n"]]],[],null,["# Trace span attributes and events\n\n[Client-side traces](/datastore/docs/client-side-traces), which are collected by\nexecuting RPCs, provide several pieces of information for every request from a\nclient, including spans with timestamps of when the client sent the RPC request\nand when the client received the RPC response. The spans include latency\nintroduced by the network and client system.\n\nClient-side traces can include the following information:\n\nSpan metadata\n-------------\n\nSpan attributes\n---------------\n\nLogs and events\n---------------\n\nClient-side traces provide the following logs and events.\n\n### Lookup events\n\n### Commit Events\n\n### RunQuery Events\n\nWhat's next\n-----------\n\n- [Learn how to configure client-side traces](/datastore/docs/client-side-traces)"]]