echauchot 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_r387118412
##########
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
Review comment:
+1
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services