Manual Span Attributes

You are viewing the English version of this page because it has not yet been fully translated. Interested in helping out? See Contributing.

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

NameTypeDescription
demo.ad.context_keysstringContext keys for ad targeting
demo.ad.context_keys.countnumberNumber of context keys
demo.ad.countnumberNumber of advertisements served
demo.ad.request_typestringType of ad request
demo.ad.response_typestringType of ad response
demo.ad.categorystringAdvertisement category
session.idstringUnique identifier of a session
enduser.idstringUnique identifier of an end user in the system

Cart

NameTypeDescription
user.idstringUser identifier
demo.product.idstringProduct identifier
demo.product.quantitynumberProduct quantity
demo.cart.items.countnumberNumber of items in cart

Checkout

NameTypeDescription
demo.cart.items.countnumberTotal number of items in cart
demo.order.amountnumberOrder amount
demo.order.idstringOrder ID
demo.order.items.countnumberNumber of unique items in order
user_agent.synthetic.typestringCategory of synthetic traffic, such as test
demo.payment.card_cvvnumberCard CVV, only when the emitRawPii feature flag is enabled
demo.payment.card_numberstringCard number, only when the emitRawPii feature flag is enabled
demo.payment.transaction.idstringPayment transaction ID
demo.shipping.amountnumberShipping amount
demo.shipping.tracking.idstringShipping tracking ID
demo.user_context.selected_currencystringUser currency
messaging.kafka.producer.duration_msnumberTime to get the Kafka producer acknowledgement, in milliseconds
messaging.kafka.producer.successbooleanWhether the message was successfully written to Kafka
user.emailstringUser email, only when the emitRawPii feature flag is enabled
user.idstringUser ID

Currency

NameTypeDescription
demo.exchange.fromstringSource currency code
demo.exchange.tostringTarget currency code

Email

NameTypeDescription
demo.order.idstringOrder identifier

Frontend

NameTypeDescription
demo.synthetic_requeststringWhether the request is synthetic/test traffic
session.idstringUnique identifier of a session
enduser.idstringUnique identifier of an end user in the system

Load Generator

NameTypeDescription
session.idstringUnique identifier of a session
demo.synthetic_requeststringWhether the request is synthetic/test traffic
user.idstringUser identifier
demo.request.flood.countnumberNumber of repeated requests sent in a flood
demo.product.idstringProduct identifier
demo.product.quantitynumberProduct quantity
demo.ad.categorystringAdvertisement category
demo.cart.items.countnumberNumber of items in cart
gen_ai.input.messagesstringChat history provided to the model as an input

Payment

NameTypeDescription
user_agent.synthetic.typestringCategory of synthetic traffic, such as test
enduser.idstringUnique identifier of an end user in the system
demo.user_context.loyalty_levelstringCustomer loyalty level
demo.payment.card_typestringCredit card type
demo.payment.card_validbooleanCard validation status
demo.payment.card_numberstringCredit card number
demo.payment.card_cvvnumberCredit card CVV
demo.payment.chargedbooleanWhether payment was successfully charged
demo.payment.amountstringPayment amount

Product Catalog

NameTypeDescription
demo.product.countnumberTotal number of products available
demo.product.idstringProduct identifier
demo.product.namestringProduct name
demo.product.search.countnumberNumber of search results

Quote

NameTypeDescription
demo.shipping.quote.items_countnumberNumber of items in quote
demo.shipping.quote.cost.totalnumberTotal quote cost

Recommendation

NameTypeDescription
demo.product.recommended.countnumberNumber of products recommended
demo.feature_flag.recommendation_cachebooleanWhether recommendation caching is enabled
demo.recommendation.cache_hitbooleanWhether the recommendation cache was hit
demo.product.countnumberTotal number of products available
demo.product.filtered.countnumberNumber of products after filtering
demo.product.filtered.liststring[]List of filtered product IDs

Shipping

NameTypeDescription
demo.shipping.cost.totalstringTotal shipping cost