You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by GitBox <gi...@apache.org> on 2020/03/03 14:42:25 UTC

[GitHub] [beam] aromanenko-dev commented on a change in pull request #11013: Add metrics export to documentation on the website.

aromanenko-dev commented on a change in pull request #11013: Add metrics export to documentation on the website.
URL: https://github.com/apache/beam/pull/11013#discussion_r387064086
 
 

 ##########
 File path: website/src/documentation/programming-guide.md
 ##########
 @@ -3121,6 +3121,15 @@ public class MyMetricsDoFn extends DoFn<Integer, Integer> {
   }
 }
 ```  
+### 9.5 Export metrics {#export-metrics}
+Beam metrics can be exported to external sinks. If set up the runner will push metrics to a configured sink at a configured period. 
+The configuration is held in the [MetricsOptions](https://beam.apache.org/releases/javadoc/2.19.0/org/apache/beam/sdk/metrics/MetricsOptions.html) class.
+It contains push period configuration and also sink specific options such as URL. As for now only REST http sink and graphite sinks are supported and only
+Flink and Spark runners support metrics export.
+
+Also Beam metrics are exported to inner Spark and Flink dashboards to be consulted in their respective UI.
+
+
 
 Review comment:
   Do you have any code examples of metrics export? It will worth to add if any. 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services