Open ArtemZ opened 5 days ago
Hello @ArtemZ! Thanks for reaching out.
As you can see from the error log, the HiveMQ Prometheus extension is already bundled with the HiveMQ Platform Operator
The extension 'hivemq-prometheus-extension' is fully managed by the HiveMQ Platform Operator and cannot be customized via an extension configuration
Out of the box, when installing the HiveMQ Platform you will automatically get a a metrics Kubernetes service available, so you don't really need to do anything else to setup the Prometheus extension to get the HiveMQ metrics.
Of course, you can still configure it by using some of the Helm HiveMQ Platform chart values for the same as documented here: https://docs.hivemq.com/hivemq-platform-operator/configuration.html#metrics-options
Hope it helps.
Hello,
I use the recent hivemq-platform-operator and hivemq-platform charts. I wanted to enabled prometheus metrics for hivemq and therefore tried to enable the related extension in plaform chart:
but after that, I'm getting the following error in hivemq-platform-operator:
I also set this configuraion for the platform chart:
but it made no effect.
So how do I get metrics then? I looked up in /opt/hivemq/extensions/hivemq-prometheus-extension on the pod and there is "DISABLED" file in this folder, so the init script skips this extension. How to properly enable it then?