Open jlewi opened 5 years ago
@jlewi @zhenghuiwang In fact, all metrics have been persisted into Katib DB (now we only implement mysql driver). and we can implement a new DB driver for kubeflow metadata, just like mysql counterpart.
Out of the box integration with metadata would be awesome.
Not sure the requirements of metadata. Now we only use katib-db to store metrics. If metadata does not require any other abstraction, I think it should be easy to support it.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
/lifecycle frozen
/kind feature
Describe the solution you'd like Right now Katib depends on logging the metrics to stdout (see #685).
It would be nice if instead Katib could be configured to use Kubeflow metadata to obtain the metrics.
Here's a strawman for how this might work
It seems natural for folks to instrument their code to log metrics to metadata.
Furthermore, using the metadata SDK to log metrics should mean logging metrics to metadata is no more difficult then logging to stdout.
A side benefit would be that this avoids some of the sideffects of using side cars to fetch logs from stdout (#685)
/cc @zhenghuiwang @johnugeorge @gaocegege