Skip to content

Commit

Permalink
Just added example usage
Browse files Browse the repository at this point in the history
  • Loading branch information
LuboVarga authored Feb 10, 2017
1 parent 7fdda15 commit 0db9367
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion hystrix-contrib/hystrix-codahale-metrics-publisher/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,8 @@ and for Ivy:

```xml
<dependency org="com.netflix.hystrix" name="hystrix-codahale-metrics-publisher" rev="1.1.2" />
```
```

Example usage (make it work/plug it in):

HystrixPlugins.getInstance().registerMetricsPublisher(new HystrixCodahaleMetricsPublisher(yourMetricRegistry));

0 comments on commit 0db9367

Please sign in to comment.