@Override
    public DnsQueryLifecycleObserver queryRedirected(List<InetSocketAddress> nameServers) {
        final String servers = nameServers.stream()
                                          .map(DefaultDnsQueryLifecycleObserver::getHostAddress)
                                          .collect(Collectors.joining(","));
        final List<Tag> tags = ImmutableList.of(nameTag, Tag.of(SERVERS_TAG, servers));
        meterRegistry.counter(meterIdPrefixRedirected, tags).increment();
        return this;
    }
Accepts meterRegistry.
@param meterRegistry {@link MeterRegistry} MeterRegistry to capture metrics.
@param question {@link DnsQuestion} DnsQuestion.
core/src/main/java/com/linecorp/armeria/client/DefaultDnsQueryLifecycleObserver.java