Skip to content
Merged
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

**Internal**:

- Update sentry-conventions to 0.20.0. ([#6315](https://github.com/getsentry/relay/pull/6315))
- Update sentry-conventions to 0.21.0. Resource size sentry tags and measurements now use `http.response.body.size`, `http.response.body.decoded_size`, and `http.response.size`. ([#6339](https://github.com/getsentry/relay/pull/6339), [#6315](https://github.com/getsentry/relay/pull/6315))

## 26.8.0

Expand Down
2 changes: 1 addition & 1 deletion relay-conventions/sentry-conventions
Submodule sentry-conventions updated 93 files
+39 −0 CHANGELOG.md
+1 −1 javascript/sentry-conventions/package.json
+2,092 −204 javascript/sentry-conventions/src/attributes.ts
+15 −0 javascript/sentry-conventions/src/op.ts
+7 −2 model/attributes/address.json
+6 −1 model/attributes/ai/ai__generation_id.json
+24 −0 model/attributes/ai/ai__model__id.json
+6 −1 model/attributes/ai/ai__model_id.json
+24 −0 model/attributes/ai/ai__prompt.json
+7 −2 model/attributes/ai/ai__prompt__messages.json
+23 −0 model/attributes/ai/ai__prompt__tools.json
+24 −0 model/attributes/ai/ai__response__id.json
+24 −0 model/attributes/ai/ai__response__model.json
+22 −0 model/attributes/ai/ai__response__object.json
+22 −0 model/attributes/ai/ai__response__timestamp.json
+22 −0 model/attributes/ai/ai__schema.json
+6 −1 model/attributes/ai/ai__texts.json
+6 −1 model/attributes/ai/ai__total_tokens__used.json
+24 −0 model/attributes/ai/ai__usage__tokens.json
+22 −0 model/attributes/ai/ai__values.json
+6 −1 model/attributes/aws/aws__request__url.json
+22 −0 model/attributes/db/db__connection_string.json
+6 −0 model/attributes/device/device__name.json
+6 −1 model/attributes/gen_ai/gen_ai__input__messages.json
+6 −1 model/attributes/gen_ai/gen_ai__prompt.json
+6 −1 model/attributes/gen_ai/gen_ai__request__model.json
+22 −0 model/attributes/gen_ai/gen_ai__request__schema.json
+6 −1 model/attributes/gen_ai/gen_ai__response__id.json
+6 −0 model/attributes/gen_ai/gen_ai__response__model.json
+22 −0 model/attributes/gen_ai/gen_ai__response__object.json
+10 −5 model/attributes/gen_ai/gen_ai__usage__total_tokens.json
+7 −1 model/attributes/graphql/graphql__document.json
+22 −0 model/attributes/graphql/graphql__processing__type.json
+24 −0 model/attributes/graphql/graphql__source.json
+10 −0 model/attributes/http/http__decoded_response_content_length.json
+6 −1 model/attributes/http/http__flavor.json
+6 −1 model/attributes/http/http__host.json
+23 −0 model/attributes/http/http__request__body__decoded_size.json
+22 −0 model/attributes/http/http__request__body__size.json
+23 −0 model/attributes/http/http__request_content_length.json
+23 −0 model/attributes/http/http__request_content_length_uncompressed.json
+23 −0 model/attributes/http/http__response__body__decoded_size.json
+22 −0 model/attributes/http/http__response__status_text.json
+23 −0 model/attributes/http/http__response_content_length_uncompressed.json
+6 −1 model/attributes/http/http__server_name.json
+23 −0 model/attributes/http/http__status_text.json
+6 −2 model/attributes/http/http__target.json
+6 −1 model/attributes/http/http__url.json
+12 −7 model/attributes/mcp/mcp__resource__protocol.json
+24 −0 model/attributes/messaging/messaging__conversation_id.json
+7 −1 model/attributes/messaging/messaging__message__conversation_id.json
+6 −0 model/attributes/messaging/messaging__message__id.json
+24 −0 model/attributes/messaging/messaging__message_id.json
+24 −0 model/attributes/messaging/messaging__operation.json
+6 −0 model/attributes/messaging/messaging__operation__name.json
+24 −0 model/attributes/messaging/messaging__protocol.json
+24 −0 model/attributes/messaging/messaging__protocol_version.json
+7 −1 model/attributes/messaging/messaging__rabbitmq__destination__routing_key.json
+24 −0 model/attributes/messaging/messaging__rabbitmq__routing_key.json
+24 −0 model/attributes/messaging/messaging__url.json
+6 −1 model/attributes/net/net__host__name.json
+6 −0 model/attributes/net/net__peer__name.json
+6 −1 model/attributes/net/net__protocol__name.json
+6 −1 model/attributes/net/net__protocol__version.json
+6 −0 model/attributes/net/net__sock__peer__port.json
+8 −2 model/attributes/net/net__transport.json
+6 −0 model/attributes/network/network__peer__port.json
+6 −1 model/attributes/network/network__protocol__name.json
+6 −1 model/attributes/network/network__protocol__version.json
+6 −1 model/attributes/params/params__[key].json
+3 −0 model/attributes/sentry/sentry__segment__name.json
+0 −3 model/attributes/sentry/sentry__transaction.json
+6 −1 model/attributes/server/server__address.json
+10 −5 model/attributes/server_name.json
+6 −1 model/attributes/url.json
+6 −1 model/attributes/url/url__full.json
+6 −1 model/attributes/url/url__path__parameter__[key].json
+25 −0 model/attributes/url/url__path__params__[key].json
+50 −0 model/description/gen_ai.json
+28 −4 model/name/gen_ai.json
+9 −2 model/name/graphql.json
+3 −2 model/name/http.json
+12 −0 model/op/gen_ai.json
+5 −1 python/pyproject.toml
+1,617 −105 python/src/sentry_conventions/attributes.py
+0 −1 python/tests/test_attribute_keys.py
+250 −250 python/uv.lock
+9 −0 rust/src/op.rs
+35 −0 scripts/generate_attributes.ts
+38 −0 test/attributes.test.ts
+40 −11 test/generate_attributes.test.ts
+0 −1 test/generated-attribute-keys.test.ts
+1 −1 yarn.lock
1 change: 1 addition & 0 deletions relay-conventions/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ mod tests {
apply_scrubbing: Auto,
aliases: [
"params.<key>",
"url.path.params.<key>",
],
}
"#);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1020,7 +1020,7 @@ pub fn extract_tags(
}

if let Some(value) = data
.get_value(HTTP__DECODED_RESPONSE_CONTENT_LENGTH)
.get_value(HTTP__RESPONSE__BODY__DECODED_SIZE)
Comment thread
nsdeschenes marked this conversation as resolved.
.and_then(|v| String::try_from(v).ok())
{
span_tags.http_decoded_response_content_length = value.into();
Comment thread
sentry[bot] marked this conversation as resolved.
Expand Down Expand Up @@ -1203,7 +1203,7 @@ pub fn extract_measurements(span: &mut Span, is_mobile: bool) {
{
for (attribute, key) in [
(
HTTP__DECODED_RESPONSE_CONTENT_LENGTH,
HTTP__RESPONSE__BODY__DECODED_SIZE,
"http.decoded_response_content_length",
),
(HTTP__RESPONSE__BODY__SIZE, "http.response_content_length"),
Expand Down Expand Up @@ -1938,7 +1938,7 @@ LIMIT 1
"trace_id": "ff62a8b040f340bda5d830223def1d81",
"data": {
"http.response.body.size": 1,
"http.decoded_response_content_length": 2.0,
"http.response.body.decoded_size": 2.0,
"http.response.size": 3.3
}
}
Expand Down
Loading
Loading