@Override
    public void queryFailed(Throwable cause) {
        final String message = cause.getMessage();
        if (message == null || !message.contains(NO_NS_RETURNED_EXCEPTION_MESSAGE)) {
            final List<Tag> tags = ImmutableList.of(
                    nameTag, TAG_FAILURE,
                    Tag.of(CAUSE_TAG, determineDnsExceptionTag(cause, message).lowerCasedName));
            meterRegistry.counter(meterIdPrefix.name(), tags).increment();
        }
    }
Returns the IP address of the given {@link InetSocketAddress}, stripping the scope ID if necessary.
core/src/main/java/com/linecorp/armeria/client/DefaultDnsQueryLifecycleObserver.java