Interface GrpcMetrics.NamingFunction

  • Enclosing class:
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    public static interface GrpcMetrics.NamingFunction
    Implemented by classes that can create a metric name.
    • Method Detail

      • createName

        String createName​(ServiceDescriptor service,
                          String methodName,
                          MetricType metricType)
        Create a metric name.
        service - the service descriptor
        methodName - the method name
        metricType - the metric type
        the metric name