Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elasticsearch exporter: Add dedot support #4579

Merged
merged 1 commit into from
Aug 12, 2021

Conversation

urso
Copy link

@urso urso commented Aug 10, 2021

Description: Add dedot support to Elasticsearch exporter. With all fields being sorted we iterate over the keys and dedot while serializing the document to JSON.

Link to tracking Issue: #1800

Testing: Unit tests for dedot and flat serialization have been added.

Documentation: The dedot setting has already been documented. This PR adds the missing feature.

@urso urso requested review from a team and bogdandrutu August 10, 2021 14:15
@tigrannajaryan
Copy link
Member

@faec @blakerouse please review.

@@ -352,6 +414,19 @@ func (v *Value) Dedup() {
}
}

func (v *Value) IsEmpty() bool {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

much nicer :-)

Copy link
Member

@tigrannajaryan tigrannajaryan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merging based on codeowner approval.

@tigrannajaryan tigrannajaryan merged commit fcb5e97 into open-telemetry:main Aug 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants