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

Added custom sampler support based on action in request (#10136) #12223

Merged
merged 1 commit into from
Feb 7, 2024

Commits on Feb 7, 2024

  1. Added custom sampler support based on action in request (opensearch-p…

    …roject#10136)
    
    * Added custom sampler support based on action in request
    
    Signed-off-by: Dev Agarwal <[email protected]>
    
    * UT Fix
    
    Signed-off-by: Dev Agarwal <[email protected]>
    
    * Added Transport action sampler, which will sample based on different probability for all actions
    
    Signed-off-by: Dev Agarwal <[email protected]>
    
    * Added Transport action sampler, which will sample based on different probability for all actions. Also added setting to define order of samplers
    
    Signed-off-by: Dev Agarwal <[email protected]>
    
    * Added missing java-doc
    
    Signed-off-by: Dev Agarwal <[email protected]>
    
    * Moving sampler class settings to OtelTelemetry setting
    
    Signed-off-by: Dev Agarwal <[email protected]>
    
    * Minor refactor
    
    Signed-off-by: Dev Agarwal <[email protected]>
    
    * Refactored to use chain of samplers
    
    Signed-off-by: Dev Agarwal <[email protected]>
    
    * Addressed comments
    
    Signed-off-by: Dev Agarwal <[email protected]>
    
    * Addressed comments to move action_probability to OtelTelemetrySettings
    
    Signed-off-by: Dev Agarwal <[email protected]>
    
    * Updated eror msg returned when Sampler class is not found
    
    Signed-off-by: Dev Agarwal <[email protected]>
    
    * Added UT for OTelSamplerFactory
    
    Signed-off-by: Dev Agarwal <[email protected]>
    
    * minor refactor
    
    Signed-off-by: Dev Agarwal <[email protected]>
    
    * minor refactor
    
    Signed-off-by: Dev Agarwal <[email protected]>
    
    * spotless check
    
    Signed-off-by: Dev Agarwal <[email protected]>
    
    * Updating OtelTelemetryPlugin.get() method
    
    Signed-off-by: Dev Agarwal <[email protected]>
    
    * Addressed comments
    
    Signed-off-by: Dev Agarwal <[email protected]>
    
    * minor refactor
    
    Signed-off-by: Dev Agarwal <[email protected]>
    
    * addressed comments
    
    Signed-off-by: Dev Agarwal <[email protected]>
    
    * Updated transport action sampler
    
    Signed-off-by: Dev Agarwal <[email protected]>
    
    * Empty-Commit
    
    Signed-off-by: Dev Agarwal <[email protected]>
    
    * Empty-Commit
    
    Signed-off-by: Dev Agarwal <[email protected]>
    
    ---------
    
    Signed-off-by: Dev Agarwal <[email protected]>
    (cherry picked from commit 445bf1f)
    devagarwal1803 committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    7bde40a View commit details
    Browse the repository at this point in the history