At present I’m monitoring Nginx/RabbitMQ/PostgreSQL/etc. but I’m wondering how I get the number of gateways, gateway health, and other LoRaServer-specific metrics out of the platform.
I’ve looked at https://www.loraserver.io/lora-gateway-bridge/use/data/ however that involves being subscribed to a particular MQTT channel. I’ll go down this route if I have to, but I was hoping that there was an HTTP endpoint which would expose these metrics so I can simply CURL them.
I should probably point out that I don’t actually use the Lora Gateway Bridge - all my gateways are Laird RG1xx and connect via MQTT, so I can’t use the Prometheus collector either.
Hey Brocaar - Is Prometheus something that’s a work in progress? We would love that to be present in loraserver and app server components as well and that’s something we would be happy to contribute too.
Lorhammer is for load-testing as opposed to systems monitoring.
At the moment, I’m monitoring RabbitMQ, Nginx, checking that the various LoRaServer processes, and the PGSQL database, but what I’d love to be able to get the metrics on is number of gateways attached, time taken to process messages within LoRaServer.io etc, all the things that let me know that the various parts of LoRaServer are working as expected and that allow me to spot when things are starting to go wrong.
Lorhammer is awesome, but as you can see from the bug I logged at https://gitlab.com/itk.fr/lorhammer/issues/92, there are some issues with the way it works because of changes in the LoRaServer API.
@Proffalken were you able to get any where with this issue you were having in lorhammer i am running into the same issues
I can run the lorhammer and i can see the messages getting to the loraserver but once i run the orcastator to provision the devices it terminates the lorhammer
@Proffalken Yeah its been a while since anyone has updated the project or responded to someone on there gitlab issue tab
Currently i am trying to edit the code to make it select from a pool of devices that i would have already predefined in an array and already have the configured on the lora server instead of randomly generating the deveui and gateway eui so i wont have to run the orcastator
By any chance did you find a work around or did you use another tool