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

Update go-structform to 0.0.8 #25051

Merged
merged 4 commits into from
Apr 14, 2021
Merged

Conversation

urso
Copy link

@urso urso commented Apr 13, 2021

  • Bug

What does this PR do?

Update go structform and configure json encoding to encode NaN and Inf
as null values.

Why is it important?

The json encoder is used by all outputs and debug logging. NaN and Inf
are undefined in the JSON standart. By not being able to encode or even
display those values in the log output, we have data loss without being
able to identify the actual event.

Checklist

  • My code follows the style guidelines of this project
    - [ ] I have commented my code, particularly in hard-to-understand areas
    - [ ] I have made corresponding changes to the documentation
    - [ ] I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Apr 13, 2021
@botelastic
Copy link

botelastic bot commented Apr 13, 2021

This pull request doesn't have a Team:<team> label.

@urso urso added the backport-v7.13.0 Automated backport with mergify label Apr 13, 2021
@elasticmachine
Copy link
Collaborator

elasticmachine commented Apr 13, 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

Expand to view the summary

Build stats

  • Build Cause: Pull request #25051 updated

  • Start Time: 2021-04-14T18:17:12.141+0000

  • Duration: 159 min 27 sec

  • Commit: 047ce58

Test stats 🧪

Test Results
Failed 0
Passed 47018
Skipped 5134
Total 52152

Trends 🧪

Image of Build Times

Image of Tests

💚 Flaky test report

Tests succeeded.

Expand to view the summary

Test stats 🧪

Test Results
Failed 0
Passed 47018
Skipped 5134
Total 52152

@mergify
Copy link
Contributor

mergify bot commented Apr 14, 2021

This pull request is now in conflicts. Could you fix it? 🙏
To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/

git fetch upstream
git checkout -b update-go-structform-0.0.8 upstream/update-go-structform-0.0.8
git merge upstream/master
git push upstream update-go-structform-0.0.8

urso added 4 commits April 14, 2021 20:15
Update go structform and configure json encoding to encode NaN and Inf
as `null` values.

The json encoder is used by all outputs and debug logging. NaN and Inf
are undefined in the JSON standart. By not being able to encode or even
display those values in the log output, we have data loss without being
able to identify the actual event.
@urso urso force-pushed the update-go-structform-0.0.8 branch from 204a297 to 047ce58 Compare April 14, 2021 18:16
@urso urso merged commit fb1eb8d into elastic:master Apr 14, 2021
@urso urso deleted the update-go-structform-0.0.8 branch April 14, 2021 23:12
mergify bot pushed a commit that referenced this pull request Apr 14, 2021
(cherry picked from commit fb1eb8d)
v1v added a commit to v1v/beats that referenced this pull request Apr 15, 2021
* upstream/master:
  packer cache support for the 7.x and 7.latestMinor branches (elastic#25091)
  Remove EventFetcher and EventsFetcher interface (elastic#25093)
  Update go-structform to 0.0.8 (elastic#25051)
  Update copy_fields.asciidoc (elastic#25053)
  [elastic-agent] ensure container is backwards compatible (elastic#25092)
  Add --fleet-server-service-token. Rename --fleet-server to --fleet-server-es. (elastic#25083)
  Add cgroup.cpuacct percentages (elastic#25057)
  Add tests for truncated and symlinked files in filestream input (elastic#24425)
  Fix panic when Hearbeat monitor initialization fails twice (elastic#25073)
  [Filebeat][httpjson] Change append transform to initiate new fields as a slice (elastic#25074)
  Osquerybeat: Result values type translation (elastic#25012)
  Update Osquerybeat spec to get it downloading from the correct artifactory path (elastic#25076)
  Fix changelog (elastic#25079)
  Strip Azure EventHub connection string in debug logs (elastic#25066)
  Change googlecloud to gcp in field names (elastic#25038)
  Bump stack version to 7.12.0 for testing (elastic#24957)
  packer-cache: cache the existing docker images on ARM and some more (elastic#25068)
  Disable logstash TestFetch flaky test (elastic#25044)
urso pushed a commit that referenced this pull request Apr 15, 2021
(cherry picked from commit fb1eb8d)

Co-authored-by: Steffen Siering <[email protected]>
@urso urso added the backport-v7.12.0 Automated backport with mergify label Apr 20, 2021
mergify bot pushed a commit that referenced this pull request Apr 20, 2021
(cherry picked from commit fb1eb8d)

# Conflicts:
#	go.sum
@urso urso added the v7.12.1 label Apr 20, 2021
urso pushed a commit to urso/beats that referenced this pull request Apr 20, 2021
urso pushed a commit that referenced this pull request Apr 21, 2021
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-v7.12.0 Automated backport with mergify backport-v7.13.0 Automated backport with mergify needs_team Indicates that the issue/PR needs a Team:* label v7.12.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants