kubeflow-manifests icon indicating copy to clipboard operation
kubeflow-manifests copied to clipboard

Missing metrics data in RDS while using KFPv2

Open surajkota opened this issue 2 years ago • 3 comments

Describe the bug Vishnu Paspunoor 12:33 AM Hi all, I'm using kubeflow with rds, s3 and cognito. Any idea how to upload the pipeline metrics into RDS in KFP SDK v2? I could see the metrics in the run_metrics table when I tried v1 but there are no entries while using scalar metrics in v2. v1 example: https://www.kubeflow.org/docs/components/pipelines/sdk/pipelines-metrics/ v2 example: https://www.kubeflow.org/docs/components/pipelines/sdk-v2/python-function-components/#example-python-function-based-component Tried this too https://www.kubeflow.org/docs/components/pipelines/sdk/output-viewer/#scalar-metrics Additionally, the run outputs tab doesn't show any data in v2

Steps To Reproduce

Expected behavior A clear and concise description of what you expected to happen.

Environment

  • Kubernetes version
  • Using EKS (yes/no), if so version?
  • Kubeflow version
  • AWS build number
  • AWS service targeted (S3, RDS, etc.)

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

surajkota avatar Aug 19 '22 19:08 surajkota

Here are some additional details

Steps To Reproduce

Execute these examples in kubeflow and query the run_metrics table in the mlpipeline database on RDS mysql

Expected behavior

Run metrics are expected to be present in the run_metrics table

Environment

Kubernetes version: 1.21 Using EKS (yes/no), if so version? yes 1.21 Kubeflow version: 1.51 AWS build number AWS service targeted (S3, RDS, etc.): RDS Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

vishnuisu avatar Aug 19 '22 21:08 vishnuisu

@vishnuisu I will attempt to re-create this behavior and get back to you asap

ryansteakley avatar Aug 23 '22 18:08 ryansteakley

@vishnuisu Based off of this issue metrics are not yet supported in v2 compatibility mode, as well as the run output being empty. https://github.com/kubeflow/pipelines/issues/6132 will reach out to pipeline folks and see if anything has changed. However you should be able to still see your metrics being sent to rds if you check your Artifacts and ArtifactProperty tables in your database.

ryansteakley avatar Aug 25 '22 10:08 ryansteakley