Prometheus actuator endpoint not working after update from 6.6 to 7.1

42 views
Skip to first unread message

Alcides Moraes

unread,
Oct 22, 2024, 10:48:42 PM10/22/24
to CAS Community
Hello list,

We had CAS 6.6 working well with prometheus endpoint exposed
After upgrading to CAS 7.1, prometheus endpoint is not available anymore.
I'm adding the cas-server-support-metrics lib, there is no effect.
Is there any difference between these version that I'm missing?

Thank you in advance

Alcides Moraes

unread,
Oct 24, 2024, 9:33:02 PM10/24/24
to CAS Community, Alcides Moraes
I fixed this, I had to change 2 properties:

Property migrator accused this one:
management.metrics.export.prometheus.enabled
changed to 
management.prometheus.metrics.export.enabled

But this alone was not enough. I had to add 
management.endpoint.prometheus.enabled: true
even though I already had set  
management.endpoints.enabled-by-default: true
Reply all
Reply to author
Forward
0 new messages