-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add more checks to timeseries schema (#6009)
- Add checks for the length of all field names, timeseries names, and descriptions. All must be non-empty, and below some const limit. Add tests for these as well. - Add extra derives to generated target / metric types. Where possible, derive Copy, Eq, PartialOrd, Ord, and Hash, based on the types in the definitions (e.g., strings mean the type cannot be copy).
- Loading branch information
Showing
4 changed files
with
363 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.