-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add DroppedAttributeCount field to Otel/STEF schema
Resolves #8 Otel/STEF schema changes: - Renamed "Attributes" multimap to "AttributesList". - Made "Attributes" a struct, containing 2 fields: a multimap of key/values and "DroppedAttributeCount". - Use the new "Attributes" struct in the "Resource", "Scope", "Span", etc structs. The schema changes reveal a serialization bug that I had to fix otherwise the tests were failing. The bug was in struct's Encode() function, where if a struct was encoded by reference the struct's modified bits were not correctly reset. The reset is now done recursively, which is necessary so that the next Encode() correctly picks up the field modifications. Also updated testdata files (because the schema is now different) and renamed the incorrect ".tefz" to ".stefz" extension.
- Loading branch information
1 parent
46aac76
commit 27cba70
Showing
53 changed files
with
1,388 additions
and
431 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file renamed
BIN
+1.57 MB
benchmarks/testdata/astronomyshop.tefz → benchmarks/testdata/astronomyshop.stefz
Binary file not shown.
Binary file renamed
BIN
+90.4 KB
benchmarks/testdata/hipstershop.tefz → benchmarks/testdata/hipstershop.stefz
Binary file not shown.
Binary file renamed
BIN
+81.1 KB
...rks/testdata/hostandcollectormetrics.tefz → ...ks/testdata/hostandcollectormetrics.stefz
Binary file not shown.
Binary file renamed
BIN
+63.6 KB
...rks/testdata/oteldemo-with-histogram.tefz → ...ks/testdata/oteldemo-with-histogram.stefz
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.