We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a3c56d commit ff16f2fCopy full SHA for ff16f2f
1 file changed
src/middleware/aws/mod.rs
@@ -119,7 +119,10 @@ impl AwsSpan {
119
Err(error) => {
120
span.record_error(&error);
121
if let Some(code) = error.code() {
122
- span.set_attribute(KeyValue::new("error.code", code.to_owned()));
+ span.set_attribute(KeyValue::new(
123
+ semconv::EXCEPTION_TYPE,
124
+ code.to_owned(),
125
+ ));
126
}
127
(Status::error(error.to_string()), error.request_id())
128
0 commit comments