IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Getting a Universal Messaging Topic or Queue size

    Posted Wed September 22, 2021 09:03 PM

    What product/components do you use and which version/fix level?

    UM 10.3 and 10.7

    What are trying to achieve? Please describe in detail.

    Producing metrics to export to Prometheus
    Getting a specific topic/queue size
    I’ve already read View number of messages not consumed - #7 by Stephen_Derry2, but it doesn’t answer my question.

    Do you get any error messages? Please provide a full error message screenshot and log file.

    Not applicable


    #Universal-Messaging-Broker
    #webMethods


  • 2.  RE: Getting a Universal Messaging Topic or Queue size

    Posted Mon October 11, 2021 07:35 AM

    Hi,
    Since 10.7, Universal Messaging server provides Prometheus support, please see:

    https://documentation.softwareag.com/universal_messaging/num10-7/10-7_UM_webhelp/index.html#page/um-webhelp%2Fco-ops_using_prometheus.html%23

    Once Prometheus is configured to connect to and scrape Universal Messaging server, you can use “NoOfEvents_<topic>” query to get the number of events for a topic/queue, for example “NoOfEvents_mytopic” should give you the current number of events for “mytopic” channel - similar to what the as seen in “Event Store” section of the channel status in Enterprise Manager.

    Detelin


    #webMethods
    #Universal-Messaging-Broker


  • 3.  RE: Getting a Universal Messaging Topic or Queue size

    Posted Thu October 14, 2021 11:08 AM

    I’ll give this a try. Afterwards, if it really solves my need, I’ll glady tag it as “the answer”.


    #Universal-Messaging-Broker
    #webMethods