Commit 322c985 1 parent b24bb9c commit 322c985 Copy full SHA for 322c985
File tree 2 files changed +7
-3
lines changed
opentelemetry-proto/src/transform
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## vNext
4
4
5
- - ** Breaking** [ 1994] ( https://github.com/open-telemetry/opentelemetry-rust/pull/1994 ) The logrecord event-name is added as attribute with
6
- key ` name ` only if the feature flag ` populate-logs-event-name ` is enabled.
5
+ - ** Breaking**
6
+ The logrecord event-name is added as an attribute only if the feature flag
7
+ ` populate-logs-event-name ` is enabled. The name of the attribute is changed from
8
+ "name" to "event.name".
9
+ [ 1994] ( https://github.com/open-telemetry/opentelemetry-rust/pull/1994 ) ,
10
+ [ 2050] ( https://github.com/open-telemetry/opentelemetry-rust/pull/2050 )
7
11
8
12
## v0.17.0
9
13
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ pub mod tonic {
103
103
if let Some ( event_name) = & log_record. event_name {
104
104
let mut attributes_with_name = attributes;
105
105
attributes_with_name. push ( KeyValue {
106
- key : "name" . into ( ) ,
106
+ key : "event. name" . into ( ) ,
107
107
value : Some ( AnyValue {
108
108
value : Some ( Value :: StringValue ( event_name. to_string ( ) ) ) ,
109
109
} ) ,
You can’t perform that action at this time.
0 commit comments