apache / apache/beam

Define API for getting non user metrics.

Open
#19,910 0 comments 0 reactions 0 assignees View on GitHub
bug core java P3 python
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

MetricResults API does not support a way to query system metrics. Different implementations accomplish the same thing in different ways.

FnApiRunner has a monitoring_metrics() defined on its PipelineResult (RunnerResult) object.
DataflowRunner, has a all_metrics() method defined on its MetricResults (DataflowMetrics) object.

Dataflow implementation of using metrics().all_metrics() sound reasonable. It would be usefult to define a single API that all runners implementations could agree on.

cc: [~pabloem] [~robertwb] [~Ardagan]

Imported from Jira [BEAM-8429](https://issues.apache.org/jira/browse/BEAM-8429). Original Jira may contain additional context.
Reported by: altay.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.