Class MetricsPublisherProxy
java.lang.Object
software.amazon.cloudformation.proxy.MetricsPublisherProxy
public class MetricsPublisherProxy
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description MetricsPublisherProxy() -
Method Summary
Modifier and Type Method Description voidaddMetricsPublisher(MetricsPublisher metricsPublisher)voidpublishDurationMetric(java.time.Instant timestamp, Action action, long milliseconds)voidpublishExceptionByErrorCodeAndCountBulkMetrics(java.time.Instant timestamp, Action action, HandlerErrorCode handlerErrorCode)voidpublishExceptionMetric(java.time.Instant timestamp, Action action, java.lang.Throwable e, HandlerErrorCode handlerErrorCode)voidpublishInvocationMetric(java.time.Instant timestamp, Action action)voidpublishProviderLogDeliveryExceptionMetric(java.time.Instant timestamp, java.lang.Throwable exception)Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
MetricsPublisherProxy
public MetricsPublisherProxy()
-
-
Method Details
-
addMetricsPublisher
-
publishExceptionMetric
public void publishExceptionMetric(java.time.Instant timestamp, Action action, java.lang.Throwable e, HandlerErrorCode handlerErrorCode) -
publishExceptionByErrorCodeAndCountBulkMetrics
public void publishExceptionByErrorCodeAndCountBulkMetrics(java.time.Instant timestamp, Action action, HandlerErrorCode handlerErrorCode) -
publishInvocationMetric
-
publishDurationMetric
-
publishProviderLogDeliveryExceptionMetric
public void publishProviderLogDeliveryExceptionMetric(java.time.Instant timestamp, java.lang.Throwable exception)
-