-
Notifications
You must be signed in to change notification settings - Fork 6
Add Metrics and pusher to unstable #475
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
71e16f6
Add Metrics and pusher to unstable
Hmnt39 1eef3d4
Call push manager only when metrics_config is available
Hmnt39 eefac40
Add test cases for the metrics
Hmnt39 a537180
Merge branch 'master' of github.com:cognitedata/python-extractor-util…
Hmnt39 01cc9d0
Fix the test discovery issue
Hmnt39 d30f494
Fix the tests
Hmnt39 c0bd7fd
Refactor changes
Hmnt39 c22cf01
Reuse the stable metrics
Hmnt39 37b537e
Merge branch 'master' of github.com:cognitedata/python-extractor-util…
Hmnt39 1c71ae4
Merge branch 'master' of github.com:cognitedata/python-extractor-util…
Hmnt39 278b8b0
Add test case for config values
Hmnt39 9bbc5e8
Merge branch 'master' into DOG-5996-Implement-metrics
Hmnt39 5101df9
Use yaml for config: PR review
Hmnt39 6d6141a
Minor Fixes
Hmnt39 fdfa763
Merge branch 'master' into DOG-5996-Implement-metrics
Hmnt39 aa34f49
Merge branch 'master' into DOG-5996-Implement-metrics
Hmnt39 7575f1d
Add test for the COgniteMetrics Config
Hmnt39 c931f37
Merge branch 'master' into DOG-5996-Implement-metrics
Hmnt39 ac2a117
Merge branch 'master' into DOG-5996-Implement-metrics
Hmnt39 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
The thing I wanted to verify was that this works without explicitly setting
x: null, so leave those out. We generally don't encourage explicitly setting things to null in yaml configs.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.
Here, password is not set explicitly to null, so this is working (I want to verify if explicitly setting to null is also working i.e. username).
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.
Then add another test where you don't set them to null explicitly. Setting them to null is the exception, not the rule, and I would prefer if tests verified the intended usage as well as any corner cases.
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.
Made the changes, I got your point why we do require to set the defaults and not passing null explicitly.