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

Add GCP PubSub output feature #97

Merged
merged 11 commits into from
Nov 13, 2020
Merged

Conversation

IanRobertson-wpe
Copy link
Contributor

What type of PR is this?

/kind feature

Any specific area of the project related to this PR?

/area outputs

What this PR does / why we need it:

This adds a PubSub output for users of Google Cloud Platform.

Which issue(s) this PR fixes:

None

Special notes for your reviewer:

This has been tested in a GKE environment on 8 varying clusters with 50+ nodes. 100% 'ok' observed through /debug/vars endpoint with over 90k alerts generated.

@poiana poiana added kind/feature New feature or request dco-signoff: no labels Nov 11, 2020
@poiana poiana requested review from Issif and leogr November 11, 2020 18:25
@poiana
Copy link

poiana commented Nov 11, 2020

Welcome @IanRobertson-wpe! It looks like this is your first PR to falcosecurity/falcosidekick 🎉

@poiana poiana added the size/XL label Nov 11, 2020
@Issif
Copy link
Member

Issif commented Nov 11, 2020

Awesome. Thanks @IanRobertson-wpe.

Can you sign-off your commits please, our CI will refuse to merge without.

For my part I'll review and comment your changes.

@Issif
Copy link
Member

Issif commented Nov 11, 2020

I think you should rebase on upstream and fix conflicts too, please.

README.md Outdated Show resolved Hide resolved
config.go Show resolved Hide resolved
config.go Outdated Show resolved Hide resolved
outputs/gcp.go Outdated Show resolved Hide resolved
outputs/gcp.go Show resolved Hide resolved
@Issif
Copy link
Member

Issif commented Nov 11, 2020

After your rebase, could you integrate prometheus metrics for your Output too? See:

c.PromStats.Outputs.With(map[string]string{"destination": "slack", "status": "error"}).Inc()

stats.go Outdated Show resolved Hide resolved
stats.go Outdated Show resolved Hide resolved
Issif and others added 9 commits November 13, 2020 10:25
Signed-off-by: Issif <issif_github@gadz.org>
Signed-off-by: Ian Robertson <ian.robertson@wpengine.com>
The deployment instructions for falcosidekick seem to be outdated.

Signed-off-by: Pierre-Yves Aillet <pyaillet@gmail.com>
Signed-off-by: Ian Robertson <ian.robertson@wpengine.com>
Signed-off-by: Ian Robertson <ian.robertson@wpengine.com>
Signed-off-by: Ian Robertson <ian.robertson@wpengine.com>
Signed-off-by: Ian Robertson <ian.robertson@wpengine.com>
Signed-off-by: Ian Robertson <ian.robertson@wpengine.com>
Signed-off-by: Ian Robertson <ian.robertson@wpengine.com>
Co-authored-by: Thomas Labarussias <issif+github@gadz.org>
Signed-off-by: Ian Robertson <ian.robertson@wpengine.com>
Co-authored-by: Thomas Labarussias <issif+github@gadz.org>
Signed-off-by: Ian Robertson <ian.robertson@wpengine.com>
IanRobertson-wpe and others added 2 commits November 13, 2020 10:25
Co-authored-by: Thomas Labarussias <issif+github@gadz.org>
Signed-off-by: Ian Robertson <ian.robertson@wpengine.com>
Signed-off-by: Ian Robertson <ian.robertson@wpengine.com>
@poiana poiana added the lgtm label Nov 13, 2020
@poiana
Copy link

poiana commented Nov 13, 2020

LGTM label has been added.

Git tree hash: 0d75a6ec169994a16c51121d3e5224845a222234

@Issif
Copy link
Member

Issif commented Nov 13, 2020

/lgtm

👍 @IanRobertson-wpe thanks a lot, I will release 2.17.0 asap for sure

@poiana
Copy link

poiana commented Nov 13, 2020

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Issif

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@poiana poiana merged commit 1b8004d into falcosecurity:master Nov 13, 2020
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