Manual Span Attributes

This page lists the manual Span Attributes used throughout the demo:

AdService

NameTypeDescription
app.ads.categorystringCategory for returned ad
app.ads.contextKeysstringContext keys used to find related ads
app.ads.contextKeys.countnumberCount of unique context keys used
app.ads.countnumberCount of ads returned to user
app.ads.ad_request_typestringEither targeted or not_targeted
app.ads.ad_response_typestringEither targeted or random

CartService

NameTypeDescription
app.cart.items.countnumberNumber of unique items in cart
app.product.idstringProduct ID for cart item
app.product.quantitystringQuantity for cart item
app.user.idstringUser ID

CheckoutService

NameTypeDescription
app.cart.items.countnumberTotal number of items in cart
app.order.amountnumberOrder amount
app.order.idstringOrder ID
app.order.items.countnumberNumber of unique items in order
app.payment.transaction.idstringPayment transaction ID
app.shipping.amountnumberShipping amount
app.shipping.tracking.idstringShipping tracking ID
app.user.currencystringUser currency
app.user.idstringUser ID

CurrencyService

NameTypeDescription
app.currency.conversion.fromstringCurrency code to convert from
app.currency.conversion.tostringCurrency code to convert to

EmailService

NameTypeDescription
app.email.recipientstringEmail used for order confirmation
app.order.idstringOrder ID

Frontend

NameTypeDescription
app.cart.sizenumberTotal number of items in cart
app.cart.items.countnumberCount of unique items in cart
app.cart.shipping.costnumberCart shipping cost
app.cart.total.pricenumberCart total price
app.currencystringUser currency
app.currency.newstringNew currency to set
app.order.totalnumberOrder total cost
app.product.idstringProduct ID
app.product.quantitynumberProduct quantity
app.products.countnumberTotal products displayed
app.request.idstringRequest ID
app.session.idstringSession ID
app.user.idstringUser ID

LoadGenerator

NameTypeDescription
None yet

PaymentService

NameTypeDescription
app.payment.amountnumberTotal payment amount
app.payment.card_typestringType of card used for payment
app.payment.card_validbooleanWas the card used valid
app.payment.chargedbooleanWas the charge successful (false with load generator)

ProductCatalogService

NameTypeDescription
app.product.idstringProduct ID
app.product.namestringProduct name
app.products.countnumberNumber of products in catalog
app.products_search.countnumberNumber of products returned in search

QuoteService

NameTypeDescription
app.quote.items.countnumberTotal items to ship
app.quote.cost.totalnumberTotal shipping quote

RecommendationService

NameTypeDescription
app.filtered_products.countnumberNumber of filtered products returned
app.products.countnumberNumber of products in catalog
app.products_recommended.countnumberNumber of recommended products returned
app.cache_hitbooleanIf cache was accessed or not

ShippingService

NameTypeDescription
app.shipping.cost.totalnumberTotal shipping cost
app.shipping.items.countnumberTotal items to ship
app.shipping.tracking.idstringShipping tracking ID
app.shipping.zip_codestringZip code used to ship item(s)