Class MetricsCollector
java.lang.Object
google.registry.monitoring.blackbox.metric.MetricsCollector
Metrics collection instrumentation.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Three standard Response types to be recorded as metrics: SUCCESS, FAILURE, or ERROR. -
Method Summary
Modifier and TypeMethodDescriptionvoid
recordResult
(String protocolName, String requestName, String responseName, MetricsCollector.ResponseType status, long latency)
-
Method Details
-
recordResult
@NonFinalForTesting public void recordResult(String protocolName, String requestName, String responseName, MetricsCollector.ResponseType status, long latency)
-