Skip to content

Commit 7810bb7

Browse files
authored
add notice about noop behavior (#467)
Adds a prominent notice about no-op behavior to the readme as discussed in #466.
1 parent 0a3c21d commit 7810bb7

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,16 @@ For more details see the [Servo comparison] page in the Spectator docs.
99
[Spectator]: https://github.com/Netflix/spectator
1010
[Servo comparison]: http://netflix.github.io/spectator/en/latest/intro/servo-comparison/
1111

12+
# No-Op Registry
13+
14+
As of version 0.13.0, the default monitor registry is a no-op implementation to minimize
15+
the overhead for legacy apps that still happen to have some usage of Servo. If the previous
16+
behavior is needed, then set the following system property:
17+
18+
```
19+
com.netflix.servo.DefaultMonitorRegistry.registryClass=com.netflix.servo.jmx.JmxMonitorRegistry
20+
```
21+
1222
# Servo: Application Metrics in Java
1323

1424
> servo v. : WATCH OVER, OBSERVE

0 commit comments

Comments
 (0)