spark-3.0-examples
spark-3.0-examples copied to clipboard
Custom metrics exposed via servlet
Thanks for the tutorial and examples, very clear.
I implemented the custom metrics and logged to console sink which works fine however, I'm unable to see the metrics in the servlet response /json/metrics
.
How can I include the custom metrics as part of spark metrics exposed in the servlet response: /json/metrics
?