Class Loki4jMetrics


  • public class Loki4jMetrics
    extends java.lang.Object
    Provides an ability to report logging performance metrics using Micrometer framework
    • Constructor Summary

      Constructors 
      Constructor Description
      Loki4jMetrics​(java.lang.String appenderName)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void batchEncoded​(long startedNs, int count)  
      void batchSent​(long startedNs, int bytesCount, boolean failed)  
      void eventAppended​(long startedNs, boolean dropped)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Loki4jMetrics

        public Loki4jMetrics​(java.lang.String appenderName)
    • Method Detail

      • eventAppended

        public void eventAppended​(long startedNs,
                                  boolean dropped)
      • batchEncoded

        public void batchEncoded​(long startedNs,
                                 int count)
      • batchSent

        public void batchSent​(long startedNs,
                              int bytesCount,
                              boolean failed)