You can integrate Heron with Scribe to monitor and gather runtime metrics exported by Heron topologies.
Heron supports custom metric exporters from the Metrics Manager. You can either build your own Scribe metrics sink or use the provided Scribe sink.
To set up your Heron cluster to export to Scribe, you need to make two changes to the
metrics_sinks.yaml configuration file:
scribe-sinkmap to the file that sets values for the parameters listed below. You can uncomment the existing
prometheus-sinkmap to get the default configuration.
|The Java class used to control Prometheus sink behavior|
|How frequently, in milliseconds, the ||60000 (one minute)|
|How many times Heron should attempt to publish metrics to Scribe before no longer attempting||-1 (forever)|
|The Scribe host to export metrics to||127.0.0.1|
|The Scribe port to export metrics to||1463|
|The Scribe category to export metrics to|
|The service name for the category in |
|The timeout, in millisconds, when attempting to export metrics to Scribe||200|
|The maximum number of retry attempts when connecting to Scribe on the configured host and port||2|
|The maximum number of retry attempts when writing metrics to Scribe||5|
|The time interval, in milliseconds, at which Heron attempts to write metrics to Scribe||100|