-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Service Bus Scaler fails with metric name uniqueness if queue name is listed twice against different namespaces #1755
Comments
Thanks for reporting! We should include the namespace name in the metric name. Are you willing to contribute this? |
@tomkerkhove I would love to, except that I'm following the coding guide and I'm not able to get an remote container built. I could probably add the changes in a PR, but I couldn't verify anything. |
Thanks! Maybe @zroubalik can help with that? |
And what exactly is the problem? https://github.com/kedacore/keda/blob/main/BUILD.md#custom-keda-as-an-image should do the job. |
The remote containers dockerfile is failing to build my image. Attached is the log file. |
Sorry for the delay, I missed your answer. By chance, are you able to build the image directly (linux/OSX)? I don't use remote containers and don't have Windows box and we should get that fixed! |
I don't have a linux machine, sorry - but it seems there's a PR out there, which is great. |
Report
We have defined a scaled object in a way that we wish to monitor multiple namespaces (scale out scenarios) wherein the queue names are identical in each namespace.
Expected Behavior
The scaled object should be allowed to scale across different namespaces with the same queue name.
Actual Behavior
The following message is output "metricName azure-servicebus-tasks0 defined multiple times in ScaledObject X, please refer the documentation how to define metricName manually" in logs.
Steps to Reproduce the Problem
Logs from KEDA operator
KEDA Version
2.1.0
Kubernetes Version
1.19
Platform
Microsoft Azure
Scaler Details
Azure Service Bus
Anything else?
No response
The text was updated successfully, but these errors were encountered: