-
Notifications
You must be signed in to change notification settings - Fork 70
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
Use httpRequest
field rename
#312
Conversation
Looks like the Ngnix and Apache tests are failing: BTW, looks like we don't have coverage for http request in ops_agent_test.go (internal). Can we add a test case there? |
2c8486f
to
9546d8a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM modulo the PR is sync to HEAD
Thanks Ling, I'll clean this up once my change is released in fluent-bit upstream (likely in 1.8.13). |
9546d8a
to
b8d03d1
Compare
This was a FIXME comment that I forgot to remove when I fixed the thing it was referring to.
b8d03d1
to
75472dd
Compare
75472dd
to
9531df6
Compare
...lid/linux/metrics-receiver_redis_missing_address/golden_8f841e1624ad9de1bb98322777b1ac10.lua
Outdated
Show resolved
Hide resolved
I think as a result of sloppy Git rebasing I left some new generated goldens for an old deleted test in my last commit.
Add a new sub test case that will also check that the old field is not parsed. Also added a check that the field is stripped from the message as expected.
Changed wording of a comment and some variable names for clarity. Changed log query to quote the log ID.
Will update this branch once I see these integration tests work. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
As specified in fluent/fluent-bit#4200 fluent-bit is using a name for
logging.googleapis.com/httpRequest
that is inconsistent (i.e.logging.googleapis.com/http_request
). To allow for a non-breaking fix, this PR uses a feature added to fluent-bit that allows the user to override this key.