envoyproxy / envoyproxy/envoy

ext_proc - sampling support

Open
#30,147 9 comments 0 reactions 1 assignee Claimed by @yanjunxiang-google View on GitHub
area/ext_proc area/matching enhancement no stalebot
Dominant language
C++
Stars
28.9k
Forks
5.6k
Avg merge
1d 22h
Merged PRs (30d)
430

Description

*Title*: ext_proc - sampling support

*Description*:
We need the ability to sample ext_proc calls. A simple sample_rate field (0.0 to 1.0) within ext_proc filter that activates the filter and makes the external call only when necessary. This becomes especially useful when we finish implementing the async support, allowing users to selectively sample a fraction of traffic for observation.

Once sampled, the stream should be active for the entire request, honoring all the processing modes, etc.

cc @tyxia @htuch

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.