-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Conversation
…roject#10136) * Added custom sampler support based on action in request Signed-off-by: Dev Agarwal <devagarwal1803@gmail.com> * UT Fix Signed-off-by: Dev Agarwal <devagarwal1803@gmail.com> * Added Transport action sampler, which will sample based on different probability for all actions Signed-off-by: Dev Agarwal <devagarwal1803@gmail.com> * 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 <devagarwal1803@gmail.com> * Added missing java-doc Signed-off-by: Dev Agarwal <devagarwal1803@gmail.com> * Moving sampler class settings to OtelTelemetry setting Signed-off-by: Dev Agarwal <devagarwal1803@gmail.com> * Minor refactor Signed-off-by: Dev Agarwal <devagarwal1803@gmail.com> * Refactored to use chain of samplers Signed-off-by: Dev Agarwal <devagarwal1803@gmail.com> * Addressed comments Signed-off-by: Dev Agarwal <devagarwal1803@gmail.com> * Addressed comments to move action_probability to OtelTelemetrySettings Signed-off-by: Dev Agarwal <devagarwal1803@gmail.com> * Updated eror msg returned when Sampler class is not found Signed-off-by: Dev Agarwal <devagarwal1803@gmail.com> * Added UT for OTelSamplerFactory Signed-off-by: Dev Agarwal <devagarwal1803@gmail.com> * minor refactor Signed-off-by: Dev Agarwal <devagarwal1803@gmail.com> * minor refactor Signed-off-by: Dev Agarwal <devagarwal1803@gmail.com> * spotless check Signed-off-by: Dev Agarwal <devagarwal1803@gmail.com> * Updating OtelTelemetryPlugin.get() method Signed-off-by: Dev Agarwal <devagarwal1803@gmail.com> * Addressed comments Signed-off-by: Dev Agarwal <devagarwal1803@gmail.com> * minor refactor Signed-off-by: Dev Agarwal <devagarwal1803@gmail.com> * addressed comments Signed-off-by: Dev Agarwal <devagarwal1803@gmail.com> * Updated transport action sampler Signed-off-by: Dev Agarwal <devagarwal1803@gmail.com> * Empty-Commit Signed-off-by: Dev Agarwal <devagarwal1803@gmail.com> * Empty-Commit Signed-off-by: Dev Agarwal <devagarwal1803@gmail.com> --------- Signed-off-by: Dev Agarwal <devagarwal1803@gmail.com> (cherry picked from commit 445bf1f)
Compatibility status:Checks if related components are compatible with change 7bde40a Incompatible componentsIncompatible components: [https://github.com/opensearch-project/performance-analyzer-rca.git, https://github.com/opensearch-project/performance-analyzer.git] Skipped componentsCompatible componentsCompatible components: [https://github.com/opensearch-project/custom-codecs.git, https://github.com/opensearch-project/neural-search.git, https://github.com/opensearch-project/notifications.git, https://github.com/opensearch-project/flow-framework.git, https://github.com/opensearch-project/cross-cluster-replication.git, https://github.com/opensearch-project/geospatial.git, https://github.com/opensearch-project/security-analytics.git, https://github.com/opensearch-project/job-scheduler.git, https://github.com/opensearch-project/observability.git, https://github.com/opensearch-project/k-nn.git, https://github.com/opensearch-project/asynchronous-search.git, https://github.com/opensearch-project/reporting.git, https://github.com/opensearch-project/ml-commons.git, https://github.com/opensearch-project/common-utils.git, https://github.com/opensearch-project/anomaly-detection.git, https://github.com/opensearch-project/index-management.git, https://github.com/opensearch-project/sql.git, https://github.com/opensearch-project/security.git, https://github.com/opensearch-project/alerting.git] |
❕ Gradle check result for 7bde40a: UNSTABLE
Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure. |
Auto backport was failing due, so had raise backport PR manually. |
Signed-off-by: Dev Agarwal devagarwal1803@gmail.com
Signed-off-by: Dev Agarwal devagarwal1803@gmail.com
Signed-off-by: Dev Agarwal devagarwal1803@gmail.com
Signed-off-by: Dev Agarwal devagarwal1803@gmail.com
Signed-off-by: Dev Agarwal devagarwal1803@gmail.com
Signed-off-by: Dev Agarwal devagarwal1803@gmail.com
Signed-off-by: Dev Agarwal devagarwal1803@gmail.com
Signed-off-by: Dev Agarwal devagarwal1803@gmail.com
Signed-off-by: Dev Agarwal devagarwal1803@gmail.com
Signed-off-by: Dev Agarwal devagarwal1803@gmail.com
Signed-off-by: Dev Agarwal devagarwal1803@gmail.com
Signed-off-by: Dev Agarwal devagarwal1803@gmail.com
Signed-off-by: Dev Agarwal devagarwal1803@gmail.com
Signed-off-by: Dev Agarwal devagarwal1803@gmail.com
Signed-off-by: Dev Agarwal devagarwal1803@gmail.com
Signed-off-by: Dev Agarwal devagarwal1803@gmail.com
Signed-off-by: Dev Agarwal devagarwal1803@gmail.com
Signed-off-by: Dev Agarwal devagarwal1803@gmail.com
Signed-off-by: Dev Agarwal devagarwal1803@gmail.com
Signed-off-by: Dev Agarwal devagarwal1803@gmail.com
Signed-off-by: Dev Agarwal devagarwal1803@gmail.com
Signed-off-by: Dev Agarwal devagarwal1803@gmail.com
Signed-off-by: Dev Agarwal devagarwal1803@gmail.com
(cherry picked from commit 445bf1f)
Description
[Describe what this change achieves]
Related Issues
Resolves #[Issue number to be closed when this PR is merged]
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.