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

fix: change tail package #1874

Merged
merged 8 commits into from
Dec 1, 2023
Merged

fix: change tail package #1874

merged 8 commits into from
Dec 1, 2023

Conversation

tedim52
Copy link
Contributor

@tedim52 tedim52 commented Nov 30, 2023

Description:

When logs were being produced at a rate of greater than 200-300 logs per second, the nxadm/tail would be returning incomplete lines, causing parsing errors on tailed logs. Switching to using hpcloud/tail fixes this completely when I ran several tests with >1000 logs per second. (the apis are identically and hpcloud/tail seems to be more widely used) In case this package also fails, I've changd the logic return err immediately.

Is this change user facing?

NO

References

#1843

@tedim52 tedim52 requested a review from adschwartz November 30, 2023 19:05
@tedim52 tedim52 force-pushed the tedi/hpcloud branch 2 times, most recently from 17d4032 to 11add55 Compare December 1, 2023 13:50
@tedim52 tedim52 enabled auto-merge December 1, 2023 14:21
Copy link
Contributor

@adschwartz adschwartz left a comment

Choose a reason for hiding this comment

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

@tedim52 overall ok, but I have a question regarding the cost of testing the JSON string

@tedim52 tedim52 requested a review from adschwartz December 1, 2023 15:33
@tedim52 tedim52 added this pull request to the merge queue Dec 1, 2023
@tedim52 tedim52 removed this pull request from the merge queue due to a manual request Dec 1, 2023
@tedim52 tedim52 added this pull request to the merge queue Dec 1, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 1, 2023
@tedim52 tedim52 added this pull request to the merge queue Dec 1, 2023
Merged via the queue into main with commit f4e87ec Dec 1, 2023
11 checks passed
@tedim52 tedim52 deleted the tedi/hpcloud branch December 1, 2023 18:22
github-merge-queue bot pushed a commit that referenced this pull request Dec 2, 2023
🤖 I have created a release *beep* *boop*
---


##
[0.85.40](0.85.39...0.85.40)
(2023-12-02)


### Features

* change change license to Apache 2.0
([#1884](#1884))
([64084d8](64084d8))


### Bug Fixes

* cache bug
([#1885](#1885))
([82e46e2](82e46e2))
* change tail package
([#1874](#1874))
([f4e87ec](f4e87ec))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: kurtosisbot <[email protected]>
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.

2 participants