|
1 | 1 | # Copyright The OpenTelemetry Authors |
2 | 2 | # SPDX-License-Identifier: Apache-2.0 |
3 | 3 |
|
4 | | -groups: |
5 | | - - id: registry.order |
6 | | - type: attribute_group |
7 | | - brief: Order, cart, and payment-related attributes |
8 | | - stability: stable |
9 | | - attributes: |
10 | | - - id: app.order.id |
11 | | - type: string |
12 | | - brief: Order identifier |
13 | | - stability: stable |
14 | | - note: The unique identifier for an order |
15 | | - examples: ["order-123", "ORD-456789"] |
16 | | - - id: app.order.amount |
17 | | - type: double |
18 | | - brief: Total order amount |
19 | | - stability: stable |
20 | | - note: The total monetary amount of the order |
21 | | - examples: [99.99, 150.50] |
22 | | - - id: app.order.items.count |
23 | | - type: int |
24 | | - brief: Number of items in order |
25 | | - stability: stable |
26 | | - note: The count of distinct items in the order |
27 | | - examples: [1, 5, 10] |
28 | | - - id: app.cart.items.count |
29 | | - type: int |
30 | | - brief: Number of items in cart |
31 | | - stability: stable |
32 | | - note: The count of items currently in the shopping cart |
33 | | - examples: [0, 3, 7] |
34 | | - - id: app.payment.amount |
35 | | - type: string |
36 | | - brief: Payment amount |
37 | | - stability: stable |
38 | | - note: The monetary amount being charged |
39 | | - examples: ["29.99", "99.95", "150.00"] |
40 | | - - id: app.payment.card_type |
41 | | - type: string |
42 | | - brief: Credit card type |
43 | | - stability: stable |
44 | | - note: The type of credit card being used for payment |
45 | | - examples: ["visa", "mastercard", "amex"] |
46 | | - - id: app.payment.card_valid |
47 | | - type: boolean |
48 | | - brief: Card validation status |
49 | | - stability: stable |
50 | | - note: Whether the card passed validation checks |
51 | | - - id: app.payment.charged |
52 | | - type: boolean |
53 | | - brief: Whether payment was successfully charged |
54 | | - stability: stable |
55 | | - note: Indicates whether the payment transaction was successfully charged to the customer's payment method (true) or not charged (false). For synthetic requests, this is set to false. |
56 | | - - id: app.payment.transaction.id |
57 | | - type: string |
58 | | - brief: Payment transaction identifier |
59 | | - stability: stable |
60 | | - note: Unique identifier for the payment transaction |
61 | | - examples: ["txn-abc123", "PAY-456789"] |
| 4 | +file_format: definition/2 |
| 5 | +attributes: |
| 6 | + - key: app.order.id |
| 7 | + type: string |
| 8 | + brief: Order identifier |
| 9 | + stability: stable |
| 10 | + note: The unique identifier for an order |
| 11 | + examples: ["order-123", "ORD-456789"] |
| 12 | + - key: app.order.amount |
| 13 | + type: double |
| 14 | + brief: Total order amount |
| 15 | + stability: stable |
| 16 | + note: The total monetary amount of the order |
| 17 | + examples: [99.99, 150.50] |
| 18 | + - key: app.order.items.count |
| 19 | + type: int |
| 20 | + brief: Number of items in order |
| 21 | + stability: stable |
| 22 | + note: The count of distinct items in the order |
| 23 | + examples: [1, 5, 10] |
| 24 | + - key: app.cart.items.count |
| 25 | + type: int |
| 26 | + brief: Number of items in cart |
| 27 | + stability: stable |
| 28 | + note: The count of items currently in the shopping cart |
| 29 | + examples: [0, 3, 7] |
| 30 | + - key: app.payment.amount |
| 31 | + type: string |
| 32 | + brief: Payment amount |
| 33 | + stability: stable |
| 34 | + note: The monetary amount being charged |
| 35 | + examples: ["29.99", "99.95", "150.00"] |
| 36 | + - key: app.payment.card_type |
| 37 | + type: string |
| 38 | + brief: Credit card type |
| 39 | + stability: stable |
| 40 | + note: The type of credit card being used for payment |
| 41 | + examples: ["visa", "mastercard", "amex"] |
| 42 | + - key: app.payment.card_valid |
| 43 | + type: boolean |
| 44 | + brief: Card validation status |
| 45 | + stability: stable |
| 46 | + note: Whether the card passed validation checks |
| 47 | + - key: app.payment.charged |
| 48 | + type: boolean |
| 49 | + brief: Whether payment was successfully charged |
| 50 | + stability: stable |
| 51 | + note: Indicates whether the payment transaction was successfully charged to the customer's payment method (true) or not charged (false). For synthetic requests, this is set to false. |
| 52 | + - key: app.payment.transaction.id |
| 53 | + type: string |
| 54 | + brief: Payment transaction identifier |
| 55 | + stability: stable |
| 56 | + note: Unique identifier for the payment transaction |
| 57 | + examples: ["txn-abc123", "PAY-456789"] |
0 commit comments