Skip to content

Commit 8c33d0e

Browse files
committed
Fix typo
1 parent 83a195d commit 8c33d0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samplers/src/main/java/io/opentelemetry/contrib/sampler/internal/RuleBasedRoutingSamplerComponentProvider.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public Sampler create(DeclarativeConfigProperties config) {
4949
fallbackSampler = DeclarativeConfiguration.createSampler(fallbackModel);
5050
} catch (DeclarativeConfigException e) {
5151
throw new DeclarativeConfigException(
52-
"rule_Based_routing sampler failed to create .fallback sampler", e);
52+
"rule_based_routing sampler failed to create .fallback sampler", e);
5353
}
5454

5555
String spanKindString = config.getString("span_kind", "SERVER");
@@ -92,7 +92,7 @@ public Sampler create(DeclarativeConfigProperties config) {
9292
builder.drop(attributeKey, pattern);
9393
} else {
9494
throw new DeclarativeConfigException(
95-
"rule_based_routing sampler .rules[].action is must be "
95+
"rule_based_routing sampler .rules[].action must be "
9696
+ ACTION_RECORD_AND_SAMPLE
9797
+ " or "
9898
+ ACTION_DROP);

0 commit comments

Comments
 (0)