Class MetricsPublisher

    • Constructor Detail

      • MetricsPublisher

        public MetricsPublisher​(String resourceTypeName)
    • Method Detail

      • refreshClient

        public void refreshClient()
        On Lambda re-invoke we need to supply a new set of client credentials so this function must be called whenever credentials are refreshed/changed in the owning entity
      • publishInvocationMetric

        public void publishInvocationMetric​(Instant timestamp,
                                            Action action)
      • publishDurationMetric

        public void publishDurationMetric​(Instant timestamp,
                                          Action action,
                                          long milliseconds)
      • publishProviderLogDeliveryExceptionMetric

        public void publishProviderLogDeliveryExceptionMetric​(Instant timestamp,
                                                              Throwable exception)