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

Move setting of destination.ip to ingest pipeline #5695

Merged
merged 3 commits into from
Jul 14, 2021

Conversation

axw
Copy link
Member

@axw axw commented Jul 14, 2021

Motivation/summary

For spans, we copy destination.address to destination.ip if the value is a valid IPv4 or IPv6 address. Move this from model transformation to the Elasticsearch ingest pipeline, to remove logic from model transformation code.

Checklist

- [ ] Update CHANGELOG.asciidoc
- [ ] Documentation has been updated

How to test these changes

Send some spans to APM Server with destination address set, and check that destination.address is copied (or not) to destination.ip depending on whether it is a valid IPv4 or IPv6 address.

Related issues

#3565

@apmmachine
Copy link
Contributor

apmmachine commented Jul 14, 2021

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2021-07-14T06:43:11.864+0000

  • Duration: 50 min 14 sec

  • Commit: c96cf76

Test stats 🧪

Test Results
Failed 0
Passed 5881
Skipped 14
Total 5895

Trends 🧪

Image of Build Times

Image of Tests

@axw axw requested a review from a team July 14, 2021 06:53
@axw axw merged commit 4ed2761 into elastic:master Jul 14, 2021
@axw axw deleted the destination-ip-ingest branch July 14, 2021 07:49
mergify bot pushed a commit that referenced this pull request Jul 14, 2021
* Move setting of destination.ip to ingest pipeline

* make update

* update approvals, fix test

(cherry picked from commit 4ed2761)
axw added a commit that referenced this pull request Jul 14, 2021
* Move setting of destination.ip to ingest pipeline

* make update

* update approvals, fix test

(cherry picked from commit 4ed2761)

Co-authored-by: Andrew Wilkins <[email protected]>
@stuartnelson3
Copy link
Contributor

Confirmed with BC2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants