Replies: 2 comments 1 reply
-
I'm not fully sure if we are affected by this as we use the administrative API. Should I see any error/warning when using the current api with latest rabbitmq versions? |
Beta Was this translation helpful? Give feedback.
1 reply
-
I think it's not worth overthinking the probelm. Example: old trigger triggers:
- type: rabbitmq
name: queueLengthTrigger
metricType: AverageValue
metadata:
excludeUnacknowledged: "false"
mode: QueueLength
operation: sum
queueName: ^Do(SomeThing|AnotherThing)$
useRegex: "true"
value: "10" new trigger triggers:
- type: prometheus
name: queueLengthTrigger
metricType: AverageValue
metadata:
query: sum(rabbitmq_queue_messages{queue=~"^Do(SomeThing|AnotherThing)$"})
serverAddress: http://prometheus.prometheus.svc.cluster.local:9090
threshold: "10" |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The RabbitMQ team announced the deprecation of the managment API metrics a while ago and I think it would be worth noting this somewhere in the docs.
If your RabbitMQ configaration contains the line
deprecated_features.permit.management_metrics_collection
, the KEDA scaler may not be able to retrieve its metrics anymore.New scaling strategies should therefore ideally be based on the prometheus scaler directly.
Beta Was this translation helpful? Give feedback.
All reactions