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

Prometheus metrics #82

Open
jpds opened this issue Jul 2, 2023 · 2 comments
Open

Prometheus metrics #82

jpds opened this issue Jul 2, 2023 · 2 comments

Comments

@jpds
Copy link

jpds commented Jul 2, 2023

The WAF level should expose Prometheus metrics the same way Caddy does, some useful base metrics would be:

  • Total number of rules loaded
  • Total number of times a request was blocked
@jcchavezs
Copy link
Member

Thanks for coming by. We introduced this set of metrics in proxy-wasm corazawaf/coraza-proxy-wasm#29 and there is this other discussion around metrics in coraza itself corazawaf/coraza#774.

I think given the interest we should be able to either have here what we have in proxy-wasm or have a discussion around what would be better set of metrics. I would also love to involve @azurit and @airween to get some inputs on what good set of metrics for a WAF look like.

@azurit
Copy link

azurit commented Jul 11, 2023

I don't think i am able to add anything valuable into this discussion.

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