-
Notifications
You must be signed in to change notification settings - Fork 39
Support 30 dimensions per dimension set #80
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
Conversation
Wooow!! I checked EMF Spec and it's still 9 dimensions - is there a doc, What's new associated with this quota increase? |
We are still in the process of updating the documentation. As of now we are just getting the client libraries ready for the dimension limit update. |
@@ -66,6 +68,10 @@ def put_dimensions(self, dimensions: Dict[str, str]) -> None: | |||
# TODO add ability to define failure strategy | |||
return | |||
|
|||
if len(dimensions) > MAX_DIMENSION_SET_SIZE: | |||
raise DimensionSetExceededError( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion: Can we put this code behind a validateDimensionSet method? That way you can avoid duplication of this check and the exception.
PR Code Suggestions ✨
|
Issue #, if available:
N/A
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.