All Known Implementing Classes:
MicrometerOutboxMetrics

public interface OutboxMetrics
  • Field Details

  • Method Details

    • countTransactionalSend

      void countTransactionalSend(boolean sendImmediately)
      Count a send operation on the transactional outbox and tag it with dimensions 'delivery_type' and 'tx_status'.
      Parameters:
      sendImmediately - true if the send operation requested sending immediately after the transaction commit, false otherwise.
    • updateGauges

      void updateGauges()
      Update the gauges that reflect outbox metrics derived from persistent storage e.g. the current message relay lag or the current number of failed messages.
    • countMessagingSend

      void countMessagingSend(String bootstrapServers, String topic, String messageType, String messageTypeVersion)
      Count the actual sending of messages on the messaging system.
      Parameters:
      bootstrapServers - cluster bootstrap server address
      topic - the topic where the message will be sent
      messageType - the type of the message
      messageTypeVersion - the version of the type of the message