- Enclosing class:
- GrpcMetrics
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Implemented by classes that can create a metric name.
-
Method Summary
Modifier and TypeMethodDescriptioncreateName
(ServiceDescriptor service, String methodName, MetricType metricType) Create a metric name.
-
Method Details
-
createName
Create a metric name.- Parameters:
service
- the service descriptormethodName
- the method namemetricType
- the metric type- Returns:
- the metric name
-