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

fix(prometheus): add a toggle switch for wasm metrics export #13960

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

flrgh
Copy link
Contributor

@flrgh flrgh commented Dec 2, 2024

Summary

Adds a toggle for wasm metrics export to the prometheus plugin.

Issue reference

KAG-5904

@flrgh
Copy link
Contributor Author

flrgh commented Dec 2, 2024

@fffonion can you let me know if this is what you were looking for? It is not possible to control export on a per service/route basis for Wasm. It's a little weird putting a global toggle into a configuration field that is not global, but from what I can tell we're doing something similar with upstream_health_metrics, so I followed suit. We can also go the other route and add a global value to kong.conf.

@fffonion
Copy link
Contributor

fffonion commented Dec 2, 2024

@flrgh yes, I think a plugin side of config like this is fine 👍. prometheus is still a plugin not a first class component in kong so putting into kong.conf is indeed weird.

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.

2 participants