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

Native prometheus metrics #1103

Open
jptosso opened this issue Jul 19, 2024 · 3 comments
Open

Native prometheus metrics #1103

jptosso opened this issue Jul 19, 2024 · 3 comments

Comments

@jptosso
Copy link
Member

jptosso commented Jul 19, 2024

Prometheus metrics are everywhere. We should support this as a first-class feature so our connectors can register and add WAF metrics to their applications.

This would benefit Cora Caddy and Wasm directly.

To do this, we could simply export a package that automatically registers the metrics or we could add helpers to add them at an application level.

@fzipi
Copy link
Member

fzipi commented Jul 19, 2024

Related: #1008

@jcchavezs
Copy link
Member

We first need to design the metrics to be tracked. That task would probably require people operating coraza e.g. @funkluk or @soujanyanmbri to propose interesting metrics and we all discuss them.

@jptosso
Copy link
Member Author

jptosso commented Jul 21, 2024

It's hard to monitor all rule triggers. there are too many rules... what about having a filter to pick rules?
We also need to monitor disruptive actions
I found this reference https://github.com/XCiber/imperva-exporter/blob/d8c0c4af2652ce2f925e2f3ed0612d05346cf224/pkg/imperva/imperva.go

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

No branches or pull requests

3 participants