You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/01/28 17:53:51 UTC
[GitHub] [beam] TheNeuralBit commented on a change in pull request #16638: Make num-stages counter into an internal counter.
TheNeuralBit commented on a change in pull request #16638:
URL: https://github.com/apache/beam/pull/16638#discussion_r794732980
##########
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:
I guess `internal:` is a concept already defined somewhere?
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org