[Backport 2.x] Added custom sampler support based on action in request #12220
75.36% of diff hit (target 71.09%)
View this Pull Request on Codecov
75.36% of diff hit (target 71.09%)
Annotations
codecov / codecov/patch
plugins/telemetry-otel/src/main/java/org/opensearch/telemetry/OTelTelemetrySettings.java#L135-L136
Added lines #L135 - L136 were not covered by tests
codecov / codecov/patch
plugins/telemetry-otel/src/main/java/org/opensearch/telemetry/tracing/sampler/OTelSamplerFactory.java#L84
Added line #L84 was not covered by tests
codecov / codecov/patch
plugins/telemetry-otel/src/main/java/org/opensearch/telemetry/tracing/sampler/OTelSamplerFactory.java#L86
Added line #L86 was not covered by tests
codecov / codecov/patch
plugins/telemetry-otel/src/main/java/org/opensearch/telemetry/tracing/sampler/OTelSamplerFactory.java#L88
Added line #L88 was not covered by tests
codecov / codecov/patch
plugins/telemetry-otel/src/main/java/org/opensearch/telemetry/tracing/sampler/OTelSamplerFactory.java#L92-L93
Added lines #L92 - L93 were not covered by tests
codecov / codecov/patch
plugins/telemetry-otel/src/main/java/org/opensearch/telemetry/tracing/sampler/ProbabilisticSampler.java#L87
Added line #L87 was not covered by tests
codecov / codecov/patch
plugins/telemetry-otel/src/main/java/org/opensearch/telemetry/tracing/sampler/ProbabilisticTransportActionSampler.java#L83
Added line #L83 was not covered by tests
codecov / codecov/patch
plugins/telemetry-otel/src/main/java/org/opensearch/telemetry/tracing/sampler/ProbabilisticTransportActionSampler.java#L92
Added line #L92 was not covered by tests
codecov / codecov/patch
plugins/telemetry-otel/src/main/java/org/opensearch/telemetry/tracing/sampler/ProbabilisticTransportActionSampler.java#L97
Added line #L97 was not covered by tests
codecov / codecov/patch
plugins/telemetry-otel/src/main/java/org/opensearch/telemetry/tracing/sampler/RequestSampler.java#L54
Added line #L54 was not covered by tests