Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,481 changes: 1,371 additions & 110 deletions javascript/sentry-conventions/src/attributes.ts

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions model/attributes/aws/aws__dynamodb__attribute_definitions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"key": "aws.dynamodb.attribute_definitions",
"brief": "The JSON-serialized value of each item in the `AttributeDefinitions` request field.",
"type": "string[]",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": true,
"example": ["{ \"AttributeName\": \"string\", \"AttributeType\": \"string\" }"],
"visibility": "public",
"changelog": [
{
"version": "next",
"prs": [478],
"description": "Added aws.dynamodb.attribute_definitions attribute"
}
]
}
18 changes: 18 additions & 0 deletions model/attributes/aws/aws__dynamodb__consistent_read.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"key": "aws.dynamodb.consistent_read",
"brief": "The value of the `ConsistentRead` request parameter.",
"type": "boolean",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": true,
"example": true,
"visibility": "public",
"changelog": [
{
"version": "next",
"prs": [478],
"description": "Added aws.dynamodb.consistent_read attribute"
}
]
}
20 changes: 20 additions & 0 deletions model/attributes/aws/aws__dynamodb__consumed_capacity.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"key": "aws.dynamodb.consumed_capacity",
"brief": "The JSON-serialized value of each item in the `ConsumedCapacity` response field.",
"type": "string[]",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": true,
"example": [
"{ \"CapacityUnits\": number, \"GlobalSecondaryIndexes\": { \"string\" : { \"CapacityUnits\": number, \"ReadCapacityUnits\": number, \"WriteCapacityUnits\": number } }, \"LocalSecondaryIndexes\": { \"string\" : { \"CapacityUnits\": number, \"ReadCapacityUnits\": number, \"WriteCapacityUnits\": number } }, \"ReadCapacityUnits\": number, \"Table\": { \"CapacityUnits\": number, \"ReadCapacityUnits\": number, \"WriteCapacityUnits\": number }, \"TableName\": \"string\", \"WriteCapacityUnits\": number }"
],
"visibility": "public",
"changelog": [
{
"version": "next",
"prs": [478],
"description": "Added aws.dynamodb.consumed_capacity attribute"
}
]
}
18 changes: 18 additions & 0 deletions model/attributes/aws/aws__dynamodb__count.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"key": "aws.dynamodb.count",
"brief": "The value of the `Count` response parameter.",
"type": "integer",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": true,
"example": 10,
"visibility": "public",
"changelog": [
{
"version": "next",
"prs": [478],
"description": "Added aws.dynamodb.count attribute"
}
]
}
18 changes: 18 additions & 0 deletions model/attributes/aws/aws__dynamodb__exclusive_start_table.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"key": "aws.dynamodb.exclusive_start_table",
"brief": "The value of the `ExclusiveStartTableName` request parameter.",
"type": "string",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": true,
"example": "Users",
"visibility": "public",
"changelog": [
{
"version": "next",
"prs": [478],
"description": "Added aws.dynamodb.exclusive_start_table attribute"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"key": "aws.dynamodb.global_secondary_index_updates",
"brief": "The JSON-serialized value of each item in the `GlobalSecondaryIndexUpdates` request field.",
"type": "string[]",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": true,
"example": [
"{ \"Create\": { \"IndexName\": \"string\", \"KeySchema\": [ { \"AttributeName\": \"string\", \"KeyType\": \"string\" } ], \"Projection\": { \"NonKeyAttributes\": [ \"string\" ], \"ProjectionType\": \"string\" }, \"ProvisionedThroughput\": { \"ReadCapacityUnits\": number, \"WriteCapacityUnits\": number } }"
],
"visibility": "public",
"changelog": [
{
"version": "next",
"prs": [478],
"description": "Added aws.dynamodb.global_secondary_index_updates attribute"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"key": "aws.dynamodb.global_secondary_indexes",
"brief": "The JSON-serialized value of each item of the `GlobalSecondaryIndexes` request field.",
"type": "string[]",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": true,
"example": [
"{ \"IndexName\": \"string\", \"KeySchema\": [ { \"AttributeName\": \"string\", \"KeyType\": \"string\" } ], \"Projection\": { \"NonKeyAttributes\": [ \"string\" ], \"ProjectionType\": \"string\" }, \"ProvisionedThroughput\": { \"ReadCapacityUnits\": number, \"WriteCapacityUnits\": number } }"
],
"visibility": "public",
"changelog": [
{
"version": "next",
"prs": [478],
"description": "Added aws.dynamodb.global_secondary_indexes attribute"
}
]
}
18 changes: 18 additions & 0 deletions model/attributes/aws/aws__dynamodb__index_name.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"key": "aws.dynamodb.index_name",
"brief": "The value of the `IndexName` request parameter.",
"type": "string",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": true,
"example": "name_to_group",
"visibility": "public",
"changelog": [
{
"version": "next",
"prs": [478],
"description": "Added aws.dynamodb.index_name attribute"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"key": "aws.dynamodb.item_collection_metrics",
"brief": "The JSON-serialized value of the `ItemCollectionMetrics` response field.",
"type": "string",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": true,
"example": "{ \"string\" : [ { \"ItemCollectionKey\": { \"string\" : { \"B\": blob, \"BOOL\": boolean, \"BS\": [ blob ], \"L\": [ \"AttributeValue\" ], \"M\": { \"string\" : \"AttributeValue\" }, \"N\": \"string\", \"NS\": [ \"string\" ], \"NULL\": boolean, \"S\": \"string\", \"SS\": [ \"string\" ] } }, \"SizeEstimateRangeGB\": [ number ] } ] }",
"visibility": "public",
"changelog": [
{
"version": "next",
"prs": [478],
"description": "Added aws.dynamodb.item_collection_metrics attribute"
}
]
}
18 changes: 18 additions & 0 deletions model/attributes/aws/aws__dynamodb__limit.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"key": "aws.dynamodb.limit",
"brief": "The value of the `Limit` request parameter.",
"type": "integer",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": true,
"example": 10,
"visibility": "public",
"changelog": [
{
"version": "next",
"prs": [478],
"description": "Added aws.dynamodb.limit attribute"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"key": "aws.dynamodb.local_secondary_indexes",
"brief": "The JSON-serialized value of each item of the `LocalSecondaryIndexes` request field.",
"type": "string[]",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": true,
"example": [
"{ \"IndexArn\": \"string\", \"IndexName\": \"string\", \"IndexSizeBytes\": number, \"ItemCount\": number, \"KeySchema\": [ { \"AttributeName\": \"string\", \"KeyType\": \"string\" } ], \"Projection\": { \"NonKeyAttributes\": [ \"string\" ], \"ProjectionType\": \"string\" } }"
],
"visibility": "public",
"changelog": [
{
"version": "next",
"prs": [478],
"description": "Added aws.dynamodb.local_secondary_indexes attribute"
}
]
}
18 changes: 18 additions & 0 deletions model/attributes/aws/aws__dynamodb__projection.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"key": "aws.dynamodb.projection",
"brief": "The value of the `ProjectionExpression` request parameter.",
"type": "string",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": true,
"example": "Title, Price, Color",
"visibility": "public",
"changelog": [
{
"version": "next",
"prs": [478],
"description": "Added aws.dynamodb.projection attribute"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"key": "aws.dynamodb.provisioned_read_capacity",
"brief": "The value of the `ProvisionedThroughput.ReadCapacityUnits` request parameter.",
"type": "double",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": true,
"example": 1,
"visibility": "public",
"changelog": [
{
"version": "next",
"prs": [478],
"description": "Added aws.dynamodb.provisioned_read_capacity attribute"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"key": "aws.dynamodb.provisioned_write_capacity",
"brief": "The value of the `ProvisionedThroughput.WriteCapacityUnits` request parameter.",
"type": "double",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": true,
"example": 2,
"visibility": "public",
"changelog": [
{
"version": "next",
"prs": [478],
"description": "Added aws.dynamodb.provisioned_write_capacity attribute"
}
]
}
18 changes: 18 additions & 0 deletions model/attributes/aws/aws__dynamodb__scan_forward.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"key": "aws.dynamodb.scan_forward",
"brief": "The value of the `ScanIndexForward` request parameter.",
"type": "boolean",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": true,
"example": true,
"visibility": "public",
"changelog": [
{
"version": "next",
"prs": [478],
"description": "Added aws.dynamodb.scan_forward attribute"
}
]
}
18 changes: 18 additions & 0 deletions model/attributes/aws/aws__dynamodb__scanned_count.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"key": "aws.dynamodb.scanned_count",
"brief": "The value of the `ScannedCount` response parameter.",
"type": "integer",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": true,
"example": 50,
"visibility": "public",
"changelog": [
{
"version": "next",
"prs": [478],
"description": "Added aws.dynamodb.scanned_count attribute"
}
]
}
18 changes: 18 additions & 0 deletions model/attributes/aws/aws__dynamodb__segment.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"key": "aws.dynamodb.segment",
"brief": "The value of the `Segment` request parameter.",
"type": "integer",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": true,
"example": 10,
"visibility": "public",
"changelog": [
{
"version": "next",
"prs": [478],
"description": "Added aws.dynamodb.segment attribute"
}
]
}
18 changes: 18 additions & 0 deletions model/attributes/aws/aws__dynamodb__select.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"key": "aws.dynamodb.select",
"brief": "The value of the `Select` request parameter.",
"type": "string",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": true,
"example": "ALL_ATTRIBUTES",
"visibility": "public",
"changelog": [
{
"version": "next",
"prs": [478],
"description": "Added aws.dynamodb.select attribute"
}
]
}
18 changes: 18 additions & 0 deletions model/attributes/aws/aws__dynamodb__table_count.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"key": "aws.dynamodb.table_count",
"brief": "The number of items in the `TableNames` response parameter.",
"type": "integer",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": true,
"example": 20,
"visibility": "public",
"changelog": [
{
"version": "next",
"prs": [478],
"description": "Added aws.dynamodb.table_count attribute"
}
]
}
18 changes: 18 additions & 0 deletions model/attributes/aws/aws__dynamodb__table_names.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"key": "aws.dynamodb.table_names",
"brief": "The keys in the `RequestItems` object field.",
"type": "string[]",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": true,
"example": ["Users", "Cats"],
"visibility": "public",
"changelog": [
{
"version": "next",
"prs": [478],
"description": "Added aws.dynamodb.table_names attribute"
}
]
}
Loading
Loading