-
Notifications
You must be signed in to change notification settings - Fork 584
Insights config API #1245
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
Insights config API #1245
Conversation
|
Hello @tremes! Some important instructions when contributing to openshift/api: For merging purposes, this repository follows the no-Feature-Freeze process which means that in addition to the standard
OR
Who should apply these qe/docs/px labels?
|
b98e2ea to
d1af8d3
Compare
3652ecd to
686c874
Compare
|
/retest |
686c874 to
bee6275
Compare
|
/label px-approved |
|
/label docs-approved |
JoelSpeed
left a comment
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.
Sorry, missed that we didn't have an explanation of the values on the enum, we should make sure to add that
|
/test verify |
11e432e to
7cf36fc
Compare
7cf36fc to
2410104
Compare
|
/label qe-approved |
2410104 to
66c72ab
Compare
JoelSpeed
left a comment
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.
One quick nit on the CRD but otherwise LGTM, please update and squash down
config/v1alpha1/0000_10_config-operator_01_insightsdatagather.crd.yaml
Outdated
Show resolved
Hide resolved
533df11 to
82a3dbd
Compare
|
/lgtm David will need to give a final review and approve /assigned @deads2k |
| // disabledGatherers is a list of gatherers to be excluded from the gathering. All the gatherers can be disabled by providing "all" value. | ||
| // If all the gatherers are disabled, the Insights operator does not gather any data. | ||
| // The particular gatherers IDs can be found at https://github.com/openshift/insights-operator/blob/master/docs/gathered-data.md. | ||
| // An example of disabling gatherers looks like this: `disabledGatherers: ["clusterconfig/machine_configs", "workloads/workload_info"]` |
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 API is ok, but where does a user locate the list of possible gatherers?
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.
This question has occured in openshift/enhancements#1037 (comment). I still think listing all the gatherers here is not a good approach (because it will likely change). Can we refer to oc get insightsoperators.operator.openshift.io cluster -o json | jq .status.gatherStatus.gatherers ?
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.
I'm just hoping to get this doc updated to tell me where to find the list. I'd be ok with such a command.
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 particular gatherers IDs can be found at https://github.com/openshift/insights-operator/blob/master/docs/gathered-data.md.
Line 46 has a link to a doc with the IDs, that should be roughly sufficient but a command is even better
82a3dbd to
b5ac3f3
Compare
|
/lgtm |
|
/hold holding for the doc update telling a user where to find a list of gatherers. Feel free to release after that |
c4356ad to
ab8e345
Compare
|
@tremes: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
/lgtm Docs updates look good, thanks |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: deads2k, JoelSpeed, tremes The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This is the second part (with simpliefied config API) and follow-up of #1193 and the original enhancement openshift/enhancements#1037