Bug 1825831: Refactoring collector, add Doc and doc generator#95
Conversation
|
/retest |
1 similar comment
|
/retest |
|
@martinkunc is there any BZ or Jira related to this PR? |
alexandrevicenzi
left a comment
There was a problem hiding this comment.
I see some inconsistency in godoc in some function, some include more info some not.
There's a need to document somewhere that samples and everything else are autogen, otherwise, someone might update manually.
| if isHealthyOperator(&item) { | ||
| // GatherMostRecentMetrics gathers cluster Federated Monitoring metrics | ||
| // | ||
| // The GET REST query to URL /federate |
There was a problem hiding this comment.
Sounds a bit better:
Same data as GET /federate
| // The Kubernetes api https://github.com/openshift/client-go/blob/master/config/clientset/versioned/typed/config/v1/clusteroperator.go#L62 | ||
| // Response see https://docs.openshift.com/container-platform/4.3/rest_api/index.html#clusteroperatorlist-v1config-openshift-io | ||
| // | ||
| // Location of operators in archive: config/clusteroperator/ |
There was a problem hiding this comment.
One function creates two archives? Should we split this function?
| // | ||
| // Location of operators in archive: config/clusteroperator/ | ||
| // see: docs/insights-archive-sample/config/clusteroperator | ||
| // Location of pods in archive: config/pod/ |
There was a problem hiding this comment.
No example for pods?
There was a problem hiding this comment.
I would like to add more samples later. I just have few samples ready and it takes some time to get each prepared with the test.
| // The Kubernetes api https://github.com/kubernetes/client-go/blob/master/kubernetes/typed/core/v1/node.go#L78 | ||
| // Response see https://docs.openshift.com/container-platform/4.3/rest_api/index.html#nodelist-v1core | ||
| // | ||
| // Location in archive: config/node/ |
f8eec5c to
ba24d8b
Compare
|
/retest |
|
/retitle Bug 1825831: Refactoring collector, add Doc and doc generator |
|
/bugzilla refresh |
|
@martinkunc: This pull request references Bugzilla bug 1825831, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
DetailsIn response to this:
Instructions 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. |
|
@martinkunc: An error was encountered searching for bug 1825831 on the Bugzilla server at https://bugzilla.redhat.com:
DetailsIn response to this:
Instructions 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. |
|
/bugzilla refresh |
|
@martinkunc: An error was encountered searching for bug 1825831 on the Bugzilla server at https://bugzilla.redhat.com:
DetailsIn response to this:
Instructions 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. |
ba24d8b to
1be9355
Compare
1be9355 to
fc6889b
Compare
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alexandrevicenzi, dpensi, martinkunc, 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 |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
@martinkunc: All pull requests linked via external trackers have merged: openshift/insights-operator#95. Bugzilla bug 1825831 has been moved to the MODIFIED state. DetailsIn response to this:
Instructions 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. |
The goal here is to