Class McpMetricsSnapshot.EndpointMethodKey
java.lang.Object
com.soklet.McpMetricsSnapshot.EndpointMethodKey
- Enclosing class:
McpMetricsSnapshot
Key for endpoint-and-method counter aggregates.
- Author:
- Mark Allen
-
Method Details
-
fromDimensions
public static @NonNull McpMetricsSnapshot.EndpointMethodKey fromDimensions(@NonNull String endpointPath, @NonNull String jsonRpcMethod) Creates an endpoint-and-method aggregate key.- Parameters:
endpointPath- registered endpoint-path declarationjsonRpcMethod- bounded JSON-RPC method dimension- Returns:
- endpoint-and-method aggregate key
-
getEndpointPath
- Returns:
- registered endpoint-path declaration
-
getJsonRpcMethod
- Returns:
- bounded JSON-RPC method dimension
-
equals
-
hashCode
-
toString
-