Fix typo in method name (#4855)

This commit is contained in:
Lauri Tulmin 2021-12-09 20:16:59 +02:00 committed by GitHub
parent 7a49b2bea5
commit d6e69c746e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ public class RabbitSingletons {
private static final Instrumenter<DeliveryRequest, Void> deliverInstrumenter;
static {
channelInstrumenter = createChanneInstrumenter();
channelInstrumenter = createChannelInstrumenter();
receiveInstrumenter = createReceiveInstrumenter();
deliverInstrumenter = createDeliverInstrumenter();
}
@ -43,7 +43,7 @@ public class RabbitSingletons {
return deliverInstrumenter;
}
private static Instrumenter<ChannelAndMethod, Void> createChanneInstrumenter() {
private static Instrumenter<ChannelAndMethod, Void> createChannelInstrumenter() {
return Instrumenter.<ChannelAndMethod, Void>builder(
GlobalOpenTelemetry.get(), instrumentationName, ChannelAndMethod::getMethod)
.addAttributesExtractors(