-
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
Improve metric name creation to be unique #2123
Comments
If there is not any volunteer, I can help with this :) |
Certainly, thanks a ton! |
I am not sure hash is the best approach, the metric name becomes quite ugly. What if we index the scalers in the ScaledObject 0-x and use this index in the metric name? |
Honestly, this sounds better to me. We were talking about it and we decided to let users give their own name because the hashing method generates weird names. Maybe we can try to do something like |
I will try this new approach in the afternoon :) |
I have tried it and it seems doable. |
Proposal
Improve metric name creation to be unique by:
metricName
Use-Case
This is required when using multiple triggers in the same
ScaledObject
so that they are unique, but end-users still have control.Scalers
Anything else?
We need to verify what scalers already allow to provide a metric name and add the same behavior there.
Relates to #2100
The text was updated successfully, but these errors were encountered: