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

[Backport 2.x] Added custom sampler support based on action in request #12220

Merged
merged 1 commit into from
Feb 7, 2024

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

0944a1c
Select commit
Loading
Failed to load commit list.
Merged

[Backport 2.x] Added custom sampler support based on action in request #12220

Added custom sampler support based on action in request (#10136)
0944a1c
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Feb 7, 2024 in 1s

75.36% of diff hit (target 71.09%)

View this Pull Request on Codecov

75.36% of diff hit (target 71.09%)

Annotations

Check warning on line 136 in plugins/telemetry-otel/src/main/java/org/opensearch/telemetry/OTelTelemetrySettings.java

See this annotation in the file changed.

@codecov 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

Check warning on line 84 in plugins/telemetry-otel/src/main/java/org/opensearch/telemetry/tracing/sampler/OTelSamplerFactory.java

See this annotation in the file changed.

@codecov 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

Check warning on line 86 in plugins/telemetry-otel/src/main/java/org/opensearch/telemetry/tracing/sampler/OTelSamplerFactory.java

See this annotation in the file changed.

@codecov 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

Check warning on line 88 in plugins/telemetry-otel/src/main/java/org/opensearch/telemetry/tracing/sampler/OTelSamplerFactory.java

See this annotation in the file changed.

@codecov 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

Check warning on line 93 in plugins/telemetry-otel/src/main/java/org/opensearch/telemetry/tracing/sampler/OTelSamplerFactory.java

See this annotation in the file changed.

@codecov 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

Check warning on line 87 in plugins/telemetry-otel/src/main/java/org/opensearch/telemetry/tracing/sampler/ProbabilisticSampler.java

See this annotation in the file changed.

@codecov 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

Check warning on line 83 in plugins/telemetry-otel/src/main/java/org/opensearch/telemetry/tracing/sampler/ProbabilisticTransportActionSampler.java

See this annotation in the file changed.

@codecov 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

Check warning on line 92 in plugins/telemetry-otel/src/main/java/org/opensearch/telemetry/tracing/sampler/ProbabilisticTransportActionSampler.java

See this annotation in the file changed.

@codecov 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

Check warning on line 97 in plugins/telemetry-otel/src/main/java/org/opensearch/telemetry/tracing/sampler/ProbabilisticTransportActionSampler.java

See this annotation in the file changed.

@codecov 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

Check warning on line 54 in plugins/telemetry-otel/src/main/java/org/opensearch/telemetry/tracing/sampler/RequestSampler.java

See this annotation in the file changed.

@codecov 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