Closed Athishpranav2003 closed 1 month ago
@cosmo0920 the build is failing for some other reason. I have raised PR so that we can get started with the discussions. Meanwhile i will try to look at the build issue. Also running make is actually modifying some other files dont know why. Would need your help in this part.
Do we need to add tests for this plugin?
@benjaminhuo Now the local build is working. I guess make is autoformatting the code and wantedly changing
modified: apis/fluentbit/v1alpha2/plugins/filter/zz_generated.deepcopy.go
modified: apis/fluentbit/v1alpha2/zz_generated.deepcopy.go
modified: go.mod
modified: go.sum
Not sure why. I removed those changes and then pushed it for now
@benjaminhuo push to ghcr seems to fail (403 error code). I guess thats issue with some configuration in gcp i guess. Does this seem fine now?
@cosmo0920 Could you check the PR? i have addressed your comments
Not sure why. I removed those changes and then pushed it for now
The auto-generated files shouldn't be removed.
You should run make manifests generate fmt vet docs-update
or even make test docs-update
and commit everything generated @Athishpranav2003
Ok fine Will do it and update
@benjaminhuo Have added them too as well
I put an approve and kicked CI tasks as well.
@cosmo0920 seems like its passing the tests. Anything else i missed?
@benjaminhuo addressed your comments. I wasnt sure about the convention part that you guys followed
@benjaminhuo addressed your comments. I wasnt sure about the convention part that you guys followed
Thanks for the contribution! @Athishpranav2003
What this PR does / why we need it:
Add
LogToMetrics
Filter pluginWhich issue(s) this PR fixes:
Fixes #1285
Does this PR introduced a user-facing change?
Nope
Additional documentation, usage docs, etc.:
Updated in the codebase itself.