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

How to extract metrics when not using envoy? #253

Open
shreemaan-abhishek opened this issue Feb 1, 2024 · 0 comments
Open

How to extract metrics when not using envoy? #253

shreemaan-abhishek opened this issue Feb 1, 2024 · 0 comments

Comments

@shreemaan-abhishek
Copy link

I'm using coraza-proxy-wasm as a plugin for APISIX: https://docs.api7.ai/apisix/how-to-guide/security/waf/integrate-with-coraza.

How do I get it to expose the metrics?
Does this require a PR?

I found some hints but no clarity. It seems only envoy is supported for now.

// This metric is processed as: waf_filter_tx_interruption{phase="http_request_body",rule_id="100",identifier="foo"}.
// The extraction rule is defined in envoy.yaml as a bootstrap configuration.
// See https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/metrics/v3/stats.proto#config-metrics-v3-statsconfig.

Metrics are exposed in the prometheus format under `localhost:8082` (admin cluster in the envoy config).

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

1 participant