robertwb commented on a change in pull request #16638:
URL: https://github.com/apache/beam/pull/16638#discussion_r796165813
##########
File path:
sdks/python/apache_beam/runners/portability/fn_api_runner/fn_runner.py
##########
@@ -358,8 +358,11 @@ def run_stages(self,
stage_context.components.environments, self._provision_info)
pipeline_metrics = MetricsContainer('')
pipeline_metrics.get_counter(
- MetricName(str(type(self)),
- self.NUM_FUSED_STAGES_COUNTER)).update(len(stages))
+ MetricName(
+ str(type(self)),
+ self.NUM_FUSED_STAGES_COUNTER,
+ urn='internal:' + self.NUM_FUSED_STAGES_COUNTER)).update(
+ len(stages))
Review comment:
Yeah, there's some inconsistencies here with "user" counters requiring a
name and namespace and "non-user" counters using the first component of the urn
as a namespace and the rest as the name.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]