Skip to content

Conversation

@AnirbanNandi
Copy link
Contributor

Commit Message: lua: Add counter tracking number of executions

Additional Description:
This PR adds a new counter stat (executions) to the Lua filter. This is helpful in the case of multiple distributed envoy instances (e.g. a service mesh like Istio) where users (and even mesh owners) can use this metric to identify whether the intent was correctly propagated to the proxy as well as correctly configured in the filter chain by tracking changes with each traffic passing through the proxy. Also, this, when coupled with the existing errors counter, can provide the number of successful executions as well.

Risk Level: Low
Testing: Unit tests, integration tests and manual tests
Docs Changes: Updated lua_filter.rst
Release Notes: Added to changelogs/current.yaml
Platform Specific Features: N/A

@AnirbanNandi
Copy link
Contributor Author

ping @wbpcode

could you PTAL? TIA

wbpcode
wbpcode previously approved these changes Nov 8, 2025
Copy link
Member

@wbpcode wbpcode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks. Could you merge main and resolve the conflict? Thanks.

@wbpcode
Copy link
Member

wbpcode commented Nov 8, 2025

Hah, I resolved the conflict by myself, let's waiting for the CI to pass.

@AnirbanNandi
Copy link
Contributor Author

@wbpcode is this good to merge now?

@agrawroh
Copy link
Member

agrawroh commented Nov 9, 2025

Will wait for @wbpcode to take a final look and merge.

@AnirbanNandi AnirbanNandi requested a review from wbpcode November 12, 2025 05:52
@wbpcode wbpcode merged commit 4f3aae0 into envoyproxy:main Nov 13, 2025
24 checks passed
@wbpcode
Copy link
Member

wbpcode commented Nov 13, 2025

Sorry for the delay. I was coding coding and coding in the last few days

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

Successfully merging this pull request may close these issues.

3 participants