Tolerance have built-in publishers that you can use directly.
- class.CollectionMetricPublisher contain a collector of other publisher and will publish the metrics to all of them.
- class.HostedGraphitePublisher will publish the metrics to HostedGraphite.
- class.BeberleiMetricsAdapterPublisher will publish the metrics using a “collector” from the Beberlei’s metrics library.
In order to create your own collector, you will just have to implement the interface.MetricPublisher interface.