手动 Span 属性
The content of this page may be outdated and some links may be invalid.
A newer version of this page exists in
English .More information ... To see the changes to the English page since this page was last updated: visit
GitHub compare afa0a090..8387f158
and search for content/en/docs/demo/telemetry-features/manual-span-attributes.md.
本页面列出了在整个 Demo 使用的所有手动 Span 属性:
广告 名称 类型 描述 app.ads.categorystring 返回广告的分类 app.ads.contextKeysstring 用于查找相关广告的上下文键 app.ads.contextKeys.countnumber 使用的唯一上下文键数量 app.ads.countnumber 返回给用户的广告数量 app.ads.ad_request_typestring targeted 或 not_targetedapp.ads.ad_response_typestring targeted 或 random
购物车 名称 类型 描述 app.cart.items.countnumber 购物车中唯一商品数量 app.product.idstring 购物车商品的产品 ID app.product.quantitystring 购物车商品数量 app.user.idstring 用户 ID
结算 名称 类型 描述 app.cart.items.countnumber 购物车中商品总数 app.order.amountnumber 订单金额 app.order.idstring 订单 ID app.order.items.countnumber 订单中唯一商品数量 app.payment.transaction.idstring 支付交易 ID app.shipping.amountnumber 运费金额 app.shipping.tracking.idstring 物流追踪 ID app.user.currencystring 用户使用的货币 app.user.idstring 用户 ID
货币 名称 类型 描述 app.currency.conversion.fromstring 原始货币代码 app.currency.conversion.tostring 目标货币代码
电子邮件 名称 类型 描述 app.email.recipientstring 用于订单确认的电子邮箱地址 app.order.idstring 订单 ID
前端 名称 类型 描述 app.cart.sizenumber 购物车中商品总数 app.cart.items.countnumber 购物车中唯一商品数量 app.cart.shipping.costnumber 购物车运费 app.cart.total.pricenumber 购物车总价 app.currencystring 用户货币 app.currency.newstring 要设置的新货币 app.order.totalnumber 订单总金额 app.product.idstring 产品 ID app.product.quantitynumber 产品数量 app.products.countnumber 展示的产品总数 app.request.idstring 请求 ID app.session.idstring 会话 ID app.user.idstring 用户 ID
负载生成器 支付 名称 类型 描述 app.payment.amountnumber 支付总金额 app.payment.card_typestring 支付所用的银行卡类型 app.payment.card_validboolean 使用的银行卡是否有效 app.payment.chargedboolean 是否成功扣款(在负载生成器中为 false)
产品目录 名称 类型 描述 app.product.idstring 产品 ID app.product.namestring 产品名称 app.products.countnumber 目录中的产品数量 app.products_search.countnumber 搜索返回的产品数量
产品评价 名称 类型 描述 app.product.idstring 产品 ID app.product_reviews.countnumber 产品评价数量 app.product_reviews.average_scorenumber 产品平均评分 app.product.questionstring 针对某个产品提出的问题
报价 名称 类型 描述 app.quote.items.countnumber 需要发货的商品总数 app.quote.cost.totalnumber 运费报价总额
推荐 名称 类型 描述 app.filtered_products.countnumber 返回的筛选后产品数量 app.products.countnumber 目录中的产品数量 app.products_recommended.countnumber 返回的推荐产品数量 app.cache_hitboolean 是否命中缓存
物流 名称 类型 描述 app.shipping.cost.totalnumber 运费总额
意见反馈 这个页面对您有帮助吗?
有帮助
没帮助 Thank you. Your feedback is appreciated!
Please let us know how we can improve this page . Your feedback is appreciated!