🎄 Happy Holidays! 🥳
Most of Solace is closed December 24–January 1 so our employees can spend time with their families. We will re-open Thursday, January 2, 2024. Please expect slower response times during this period and open a support ticket for anything needing immediate assistance.
Happy Holidays!
Please note: most of Solace is closed December 25–January 2, and will re-open Tuesday, January 3, 2023.
Day-to-Day Metrics of Queues in Solace Software PubSub event broker 10.4.1.121
Is it possible to get the metrics of Queues based on date range within the CLI or Solace UI.
Answers
-
Nope, you'll need to leverage a time-series database for gathering SEMP metrics and putting them in there. I really like InfluxDB, but you'll need to build the SEMP scripting / collector for it. We have an open-source Community project for Prometheus that is active and people seem to like: https://github.com/solacecommunity/solace-prometheus-exporter
If you really don't want to use any external capability, you can always blank out your queue stats once a day, then you'll only see the # of messages, # of bytes, etc. through the queue since you last reset. In CLI:
enable clear queue * message-vpn * stats
In PubSub+ Manager UI, I think you'd have to do it queue-by-queue.
0 -
Update: I made a typo in my CLI above… I had
clear stats queue * stats
and it should beclear queue * stats
. My mistake.Also, if you wanted to maybe do this in a cron job, you could use SEMPv1 to remotely clear these stats (at midnight or whatever):
curl -u admin:admin http://localhost:8080/SEMP -d '<rpc><clear><queue><name>*</name><vpn-name>*</vpn-name><stats/></queue></clear></rpc>'
0