[frontend] No metrics shown in Run Output tab
See original GitHub issueEnvironment
- How did you deploy Kubeflow Pipelines (KFP)? I installed it with the full kubeflow deployment. Kubeflow 1.6, installed with juju
- KFP version: build version dev_local (this shows on bottom of KFP UI left sidenav)
Steps to reproduce
Running this minimal pipeline that just saves a metrics
from kfp.components import OutputPath, create_component_from_func
import kfp.dsl as dsl
import kfp
@dsl.pipeline(
name='kubeflow-metric-demo')
def metric_pipeline():
produce_metrics_op = create_component_from_func(
produce_metrics,
base_image='python:3.7',
packages_to_install=[],
output_component_file='component.yaml',
)
produce_metrics_op()
def produce_metrics(
mlpipeline_metrics_path: OutputPath('Metrics')
):
import json
metrics = {
'metrics': [{
'name': 'accuracy',
'numberValue': 0.9,
'format': "RAW"
}]
}
with open(mlpipeline_metrics_path, 'w') as f:
json.dump(metrics, f)
print("metrics path")
print(mlpipeline_metrics_path)
if __name__ == "__main__":
kfp.compiler.Compiler().compile(metric_pipeline, 'metric_pipeline.yaml')
Expected result
I expect the metrics to be shown in the “Run output” tab in the UI. However, nothing is there as you can see in the image.
However, the metrics did show up at the “output artifacts” section of the component
Materials and Reference
Impacted by this bug? Give it a 👍.
Issue Analytics
- State:
- Created a year ago
- Comments:8 (1 by maintainers)
Top Results From Across the Web
v2 metrics visualization #5668 - kubeflow/pipelines - GitHub
components can output metrics artifacts that are rendered in UI. ... scalar metric (no need to support showing scalar metrics in run list ......
Read more >Front-End Performance 2021: Planning And Metrics
Run performance experiments and measure outcomes — both on mobile and on desktop (for example, with Google Analytics). It will help you build...
Read more >Troubleshooting PCF Metrics - VMware Docs
Metrics stop appearing on the UI. When you run cf metrics-ingestor logs , you see the following entry in the Ingestor logs:
Read more >Troubleshooting Managed Service for Prometheus
In the Monitoring navigation pane, click Metrics Explorer. Select the PromQL tab. Click Run Query.
Read more >Troubleshoot no data in Application Insights for .NET - Azure
This article provides troubleshooting information to help resolve issues when data is missing or doesn't appear when you're using ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This has been fixed in the recent patch release https://github.com/kubeflow/manifests/releases/tag/v1.6.1
Hi @Kokkini, does your comment regarding platform agnostic Kubeflow 1.6.1 imply the fix is provided in 1.6.1? I am still looking for a solution using KPF 1.8.16.