Class SpanLogsHandlerImpl

    • Field Detail

      • LOCAL_REGISTRY

        protected static final com.yammer.metrics.core.MetricsRegistry LOCAL_REGISTRY
    • Method Detail

      • reportInternal

        protected void reportInternal​(wavefront.report.SpanLogs spanLogs)
      • reject

        public void reject​(@Nullable
                           T item,
                           @Nullable
                           String message)
        Description copied from interface: ReportableEntityHandler
        Reject the input object as invalid, i.e. rejected based on criteria defined by Wavefront.
        Specified by:
        reject in interface ReportableEntityHandler<T,​U>
        Parameters:
        item - object to reject.
        message - more user-friendly message to write to the main log.
      • reject

        public void reject​(@Nonnull
                           String line,
                           @Nullable
                           String message)
        Description copied from interface: ReportableEntityHandler
        Reject the input object as invalid, i.e. rejected based on criteria defined by Wavefront.
        Specified by:
        reject in interface ReportableEntityHandler<T,​U>
        Parameters:
        line - string to reject and to write to RawBlockedPointsLog.
        message - more user-friendly message to write to the main log.
      • block

        public void block​(T item)
        Description copied from interface: ReportableEntityHandler
        Handle the input object as blocked. Blocked objects are otherwise valid objects that are rejected based on user-defined criteria.
        Specified by:
        block in interface ReportableEntityHandler<T,​U>
        Parameters:
        item - object to block.
      • block

        public void block​(@Nullable
                          T item,
                          @Nullable
                          String message)
        Description copied from interface: ReportableEntityHandler
        Handle the input object as blocked. Blocked objects are otherwise valid objects that are rejected based on user-defined criteria.
        Specified by:
        block in interface ReportableEntityHandler<T,​U>
        Parameters:
        item - object to block.
        message - message to write to the main log.
      • getReceivedCounter

        protected com.yammer.metrics.core.Counter getReceivedCounter()
      • printStats

        protected void printStats()
      • printTotal

        protected void printTotal()