Axinom Mosaic Libraries
    Preparing search index...

    Function createRabbitMQConnectivityMetric

    • Creates a Gauge metric with the name ax_rabbitmq_connectivity which can be added to a metric Registry. This metric will have a value of 1 if the service has connectivity to the RabbitMQ broker, or a value of 0 otherwise.

      Parameters

      • broker: Broker

        The RabbitMQ broker to use for checking the connectivity.

      Returns Metric<string>

      A Gauge metric with a name ax_rabbitmq_connectivity.