-
Notifications
You must be signed in to change notification settings - Fork 817
Saner and consistent YAML fields in config #2273
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
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.
If we're doing this, let's be consistent with our naming. URLs should have url
in the name, duration fields should be _period
, _interval
, _time
(max idle chunk time), booleans names like enable_
(not disable), etc. WDYT?
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.
TY so much for taking this on. Now I can cross this off of my single-binary todo list haha. I have a few minor comments.
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.
Very good job @gouthamve! I left few comments, but the overall changes make much sense to me. Please remember to mention the changes in the CHANGELOG
.
Historically these were chosen so the zero value ( For many flags the default is "what Cortex did earlier" but should be changed to "what most people would use". I think this type of change is much more important. |
Signed-off-by: Goutham Veeramachaneni <[email protected]>
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.
LGTM! I left a minor nit. Please don't forget the CHANGELOG entry.
Signed-off-by: Goutham Veeramachaneni <[email protected]>
Signed-off-by: Goutham Veeramachaneni [email protected]
What this PR does:
Which issue(s) this PR fixes:
Fixes #
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]