Skip to content
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

Add metrics collector spec to v1alpha2 API #481

Merged
merged 4 commits into from
May 1, 2019

Conversation

richardsliu
Copy link
Contributor

@richardsliu richardsliu commented Apr 30, 2019

Part of #442


This change is Reviewable

@richardsliu
Copy link
Contributor Author

/assign @johnugeorge

@@ -50,6 +50,9 @@ type ExperimentSpec struct {
// TODO - figure out what to do with metric collectors
MetricsCollectorType string `json:"metricsCollectorSpec,omitempty"`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this needed?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can keep it here, since MetricsCollectorSpec is a workaround. In long term, we will use MetricsCollectorType

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we need to change it in the future, should we deprecate metricsCollectorSpec directly or create a new API version?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest just deprecate metricsCollectorSpec if there is no big change

@hougangliu
Copy link
Member

/lgtm

@johnugeorge
Copy link
Member

/retest

@richardsliu
Copy link
Contributor Author

Removed metricsCollectorType. If we need to change the metrics collector behavior in the future, we will add this back in a new API version.

@johnugeorge
Copy link
Member

/retest

@johnugeorge
Copy link
Member

/lgtm

@johnugeorge
Copy link
Member

/approve

@k8s-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: johnugeorge

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit fd4c21c into kubeflow:master May 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants