prometheus.versions.1 is not available error

21 views
Skip to first unread message

MANOJ KUMAR D

unread,
Jun 18, 2024, 11:22:26 AMJun 18
to rabbitmq-users
Hello everyone,

I am trying to set TLS versions as 
prometheus.versions.1 = tlsv1.2 
and ciphers as 
prometheus.ssl.ciphers.1  = ECDHE-ECDSA-AES256-GCM-SHA384
        prometheus.ssl.ciphers.2  = ECDHE-RSA-AES256-GCM-SHA384
        prometheus.ssl.ciphers.3  = ECDH-ECDSA-AES256-GCM-SHA384
        prometheus.ssl.ciphers.4  = ECDH-RSA-AES256-GCM-SHA384
        prometheus.ssl.ciphers.5  = DHE-RSA-AES256-GCM-SHA384
        prometheus.ssl.ciphers.6  = DHE-DSS-AES256-GCM-SHA384


But I am getting below error

2024-06-18 14:59:44.455629+00:00 [error] <0.136.0> You've tried to set prometheus.versions.1, but there is no setting with that name.
2024-06-18 14:59:44.467742+00:00 [error] <0.136.0>   Did you mean one of these?
2024-06-18 14:59:44.568586+00:00 [error] <0.136.0>     prometheus.ssl.ip
2024-06-18 14:59:44.568668+00:00 [error] <0.136.0>     prometheus.ssl.port
2024-06-18 14:59:44.568699+00:00 [error] <0.136.0>     prometheus.tcp.ip
2024-06-18 14:59:44.568995+00:00 [error] <0.136.0> You've tried to set prometheus.versions.2, but there is no setting with that name.
2024-06-18 14:59:44.569073+00:00 [error] <0.136.0>   Did you mean one of these?
2024-06-18 14:59:44.686590+00:00 [error] <0.136.0>     prometheus.ssl.ip
2024-06-18 14:59:44.686683+00:00 [error] <0.136.0>     prometheus.ssl.port
2024-06-18 14:59:44.686700+00:00 [error] <0.136.0>     prometheus.tcp.ip
2024-06-18 14:59:44.689727+00:00 [error] <0.136.0> Error preparing configuration in phase transform_datatypes:
2024-06-18 14:59:44.689769+00:00 [error] <0.136.0>   - Conf file attempted to set unknown variable: prometheus.versions.2
2024-06-18 14:59:44.689788+00:00 [error] <0.136.0>   - Conf file attempted to set unknown variable: prometheus.versions.1
2024-06-18 14:59:44.692583+00:00 [error] <0.136.0>
2024-06-18 14:59:44.692583+00:00 [error] <0.136.0> BOOT FAILED
2024-06-18 14:59:44.692583+00:00 [error] <0.136.0> ===========
2024-06-18 14:59:44.692583+00:00 [error] <0.136.0> Error during startup: {error,failed_to_prepare_configuration}
2024-06-18 14:59:44.692583+00:00 [error] <0.136.0>

BOOT FAILED
===========
Error during startup: {error,failed_to_prepare_configuration}

Is that configuration correct or there is no config like that?

In rabbitmq doc such configs are not available : https://www.rabbitmq.com/docs/prometheus#prometheus-configuration

or do I need to enable plugins?

Michal Kuratczyk

unread,
Jun 18, 2024, 11:41:33 AMJun 18
to rabbitm...@googlegroups.com
You forgot the .ssl part, should be prometheus.ssl.versions.

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/c8b37251-c44f-4fe4-a477-7bcd96cccfb6n%40googlegroups.com.


--
Michal
RabbitMQ Team

This electronic communication and the information and any files transmitted with it, or attached to it, are confidential and are intended solely for the use of the individual or entity to whom it is addressed and may contain information that is confidential, legally privileged, protected by privacy laws, or otherwise restricted from disclosure to anyone else. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, you are hereby notified that any use, copying, distributing, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. If you received this e-mail in error, please return the e-mail to the sender, delete it from your computer, and destroy any printed copy of it.
Reply all
Reply to author
Forward
0 new messages