Skip to content

Commit

Permalink
Expose Scope attributes in pdata (#5826)
Browse files Browse the repository at this point in the history
Signed-off-by: Bogdan <bogdandrutu@gmail.com>
  • Loading branch information
bogdandrutu authored Aug 5, 2022
1 parent 06dfa09 commit ba6fe5a
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
### 💡 Enhancements 💡

- Bump to opentelemetry-proto v0.19.0. (#5823)
- Expose `Scope.Attributes` in pdata (#5826)

### 🧰 Bug fixes 🧰

Expand Down
2 changes: 2 additions & 0 deletions pdata/internal/cmd/pdatagen/internal/common_structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ var scope = &messageValueStruct{
defaultVal: `""`,
testVal: `"test_version"`,
},
attributes,
droppedAttributesCount,
},
}

Expand Down
17 changes: 17 additions & 0 deletions pdata/internal/generated_common.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions pdata/internal/generated_common_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ba6fe5a

Please sign in to comment.