From f05f4b17092965fa99d074a7898a34201d33e9d8 Mon Sep 17 00:00:00 2001 From: Jayanthi Padmanabhan Date: Wed, 31 Jan 2024 16:38:26 +0100 Subject: [PATCH] for testing --- src/middleware/aws.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/middleware/aws.rs b/src/middleware/aws.rs index 7e169d1..7d9ab21 100644 --- a/src/middleware/aws.rs +++ b/src/middleware/aws.rs @@ -30,14 +30,14 @@ pub fn info_span_dynamo( .span_builder("aws_dynamo") .with_kind(SpanKind::Client) .start_with_context(&tracer, parent_context); - span.set_attribute(KeyValue::new("dynamoDB", true)); - span.set_attribute(KeyValue::new("operation", operation.to_string())); - span.set_attribute(KeyValue::new("tableName", table_name.to_string())); - span.set_attribute(KeyValue::new("method", method.to_string())); - span.set_attribute(KeyValue::new("service", "AWS::DynamoDB")); + span.set_attribute(KeyValue::new("aws_dynamoDB", true)); + span.set_attribute(KeyValue::new("aws_operation", operation.to_string())); + span.set_attribute(KeyValue::new("aws_tableName", table_name.to_string())); + span.set_attribute(KeyValue::new("aws_method", method.to_string())); + span.set_attribute(KeyValue::new("aws_service", "AWS::DynamoDB")); if let Some(r) = config.region() { - span.set_attribute(KeyValue::new("cloud.region", r.to_string())); + span.set_attribute(KeyValue::new("Region_val", r.to_string())); } span }