OpenTelemetry SDK
    Preparing search index...

    Variable ATTR_DB_QUERY_SUMMARYConst

    ATTR_DB_QUERY_SUMMARY: "db.query.summary" = ...

    Low cardinality summary of a database query.

    SELECT wuser_table
    
    INSERT shipping_details SELECT orders
    
    get user by id
    

    The query summary describes a class of database queries and is useful as a grouping key, especially when analyzing telemetry for database calls involving complex queries.

    Summary may be available to the instrumentation through instrumentation hooks or other means. If it is not available, instrumentations that support query parsing SHOULD generate a summary following Generating query summary section.

    For batch operations, if the individual operations are known to have the same query summary then that query summary SHOULD be used prepended by BATCH , otherwise db.query.summary SHOULD be BATCH or some other database system specific term if more applicable.